From: Jo-Philipp Wich Date: Tue, 7 Oct 2008 15:41:15 +0000 (+0000) Subject: * luci/libs/cbi: add css classes to input fields - needed for IE compat X-Git-Tag: 0.9.0~1140 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8ecff0a9cc9edb3156f8d10880aa2091bdb42c64;p=oweals%2Fluci.git * luci/libs/cbi: add css classes to input fields - needed for IE compat --- diff --git a/libs/cbi/luasrc/view/cbi/button.htm b/libs/cbi/luasrc/view/cbi/button.htm index c2a0d437e..c6606622d 100644 --- a/libs/cbi/luasrc/view/cbi/button.htm +++ b/libs/cbi/luasrc/view/cbi/button.htm @@ -14,7 +14,7 @@ $Id$ -%> <%+cbi/valueheader%> <% if self:cfgvalue(section) ~= false then %> - class="cbi-input-<%=self.inputstyle%>"<% end %> type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.title)%> /> + " type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.title)%> /> <% else %> - <% end %> diff --git a/libs/cbi/luasrc/view/cbi/dynlist.htm b/libs/cbi/luasrc/view/cbi/dynlist.htm index 606831421..a23a4ebcd 100644 --- a/libs/cbi/luasrc/view/cbi/dynlist.htm +++ b/libs/cbi/luasrc/view/cbi/dynlist.htm @@ -18,11 +18,11 @@ $Id$ for i=1, #vals + 1 do local val = vals[i] %> - /> + /> <% if i <= #vals then %> - " alt="<%:cbi_del%>" title="<%:cbi_del%>" src="<%=resource%>/cbi/remove.gif" /> + " alt="<%:cbi_del%>" title="<%:cbi_del%>" src="<%=resource%>/cbi/remove.gif" /> <% else %> - " alt="<%:cbi_add%>" title="<%:cbi_add%>" src="<%=resource%>/cbi/add.gif" /> + " alt="<%:cbi_add%>" title="<%:cbi_add%>" src="<%=resource%>/cbi/add.gif" /> <% end %> <% if #self.keylist > 0 then -%>