summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-09-22 13:25:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-09-22 13:25:48 +0000
commitb360dbc6dcd283d7ce70217701f57a4e2601ee99 (patch)
tree65024d5107a37ae763885774ad7aea0544e86081 /libs/web/luasrc/view
parentedff83040d92b94835db3837a053041e1f9f025b (diff)
modules/admin-full, modules/freifunk, modules/niu, libs/web, applications/luci-upnp: tune input class attributes
Diffstat (limited to 'libs/web/luasrc/view')
-rw-r--r--libs/web/luasrc/view/cbi/button.htm2
-rw-r--r--libs/web/luasrc/view/cbi/upload.htm2
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 88e63d59df..30f8ddfda5 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 d57a032c77..7770934111 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 %>