diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-09-22 13:25:48 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-09-22 13:25:48 +0000 |
commit | b360dbc6dcd283d7ce70217701f57a4e2601ee99 (patch) | |
tree | 65024d5107a37ae763885774ad7aea0544e86081 /libs/web | |
parent | edff83040d92b94835db3837a053041e1f9f025b (diff) |
modules/admin-full, modules/freifunk, modules/niu, libs/web, applications/luci-upnp: tune input class attributes
Diffstat (limited to 'libs/web')
-rw-r--r-- | libs/web/luasrc/view/cbi/button.htm | 2 | ||||
-rw-r--r-- | libs/web/luasrc/view/cbi/upload.htm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/web/luasrc/view/cbi/button.htm b/libs/web/luasrc/view/cbi/button.htm index 88e63d59d..30f8ddfda 100644 --- a/libs/web/luasrc/view/cbi/button.htm +++ b/libs/web/luasrc/view/cbi/button.htm @@ -1,6 +1,6 @@ <%+cbi/valueheader%> <% if self:cfgvalue(section) ~= false then %> - <input class="cbi-input-<%=self.inputstyle or "button" %>" type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.inputtitle or self.title)%> /> + <input class="cbi-button cbi-input-<%=self.inputstyle or "button" %>" type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.inputtitle or self.title)%> /> <% else %> - <% end %> diff --git a/libs/web/luasrc/view/cbi/upload.htm b/libs/web/luasrc/view/cbi/upload.htm index d57a032c7..777093411 100644 --- a/libs/web/luasrc/view/cbi/upload.htm +++ b/libs/web/luasrc/view/cbi/upload.htm @@ -7,7 +7,7 @@ <% if s then %> <%:Uploaded File%> (<%=t.byte_format(s.size)%>) <input type="hidden"<%= attr("value", v) .. attr("name", cbid) .. attr("id", cbid) %> /> - <input class="cbi-input-image" type="image" value="<%:Replace entry%>" name="cbi.rlf.<%=section .. "." .. self.option%>" alt="<%:Replace entry%>" title="<%:Replace entry%>" src="<%=resource%>/cbi/reload.gif" /> + <input class="cbi-button cbi-input-image" type="image" value="<%:Replace entry%>" name="cbi.rlf.<%=section .. "." .. self.option%>" alt="<%:Replace entry%>" title="<%:Replace entry%>" src="<%=resource%>/cbi/reload.gif" /> <% else %> <input class="cbi-input-file" type="file"<%= attr("name", cbid) .. attr("id", cbid) %> /> <% end %> |