Rework LuCI build system
[project/luci.git] / applications / luci-app-freifunk-widgets / luasrc / model / cbi / freifunk / widgets / heightwidth.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2012 Manuel Munz <freifunk at somakoma dot de>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 ]]--
13
14 local map, section = ...
15
16 local width = wdg:option(Value, "width", translate("Width"))
17 width.rmempty = true
18
19 --[[
20 local height = wdg:option(Value, "height", translate("Height"))
21 height.rmempty = true
22 height.optional = true
23 ]]--
24
25 local pr = wdg:option(Value, "paddingright", translate("Padding right"))
26 pr.rmempty = true