summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/heightwidth.lua
blob: fc23f4bdbc0b92f4a98c3837ed545eb94fca7349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-- Copyright 2012 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.

local map, section = ...

local width = wdg:option(Value, "width", translate("Width"))
width.rmempty = true

--[[
local height = wdg:option(Value, "height", translate("Height"))
height.rmempty = true
height.optional = true
]]--

local pr = wdg:option(Value, "paddingright", translate("Padding right"))
pr.rmempty = true