gluon-web-*: remove non-existing CSS classes
This commit is contained in:
parent
c2f9c28e0e
commit
7360e97a9c
@ -26,7 +26,7 @@ $Id$
|
||||
<%:Firmware image%>
|
||||
</label>
|
||||
<div class="gluon-value-field">
|
||||
<input class="gluon-input-file" type="file" name="image" />
|
||||
<input type="file" name="image" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -36,13 +36,13 @@ $Id$
|
||||
</label>
|
||||
|
||||
<div class="gluon-value-field">
|
||||
<input id="keepcfg" class="gluon-input-checkbox" type="checkbox" name="keepcfg" value="1" checked="checked" />
|
||||
<input id="keepcfg" type="checkbox" name="keepcfg" value="1" checked="checked" />
|
||||
<label for="keepcfg"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="gluon-page-actions right">
|
||||
<div class="gluon-page-actions">
|
||||
<input type="hidden" name="step" value="2" />
|
||||
<input type="hidden" name="token" value="<%=token%>" />
|
||||
<input class="gluon-button gluon-button-submit" type="submit" value="<%:Upload image%>" />
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class="gluon-value">
|
||||
<div class="gluon-value-title">
|
||||
<input class="gluon-input-radio" data-update="change" type="radio" value="security"<%= attr("id", id..'.1') .. attr("name", id) .. attr("checked", ((self:cfgvalue() or self.default) == "security") and "checked") %> />
|
||||
<input data-update="change" type="radio" value="security"<%= attr("id", id..'.1') .. attr("name", id) .. attr("checked", ((self:cfgvalue() or self.default) == "security") and "checked") %> />
|
||||
<label<%= attr("for", id..'.1')%>></label>
|
||||
</div>
|
||||
<div class="gluon-value-field-long">
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
<div class="gluon-value gluon-value-last">
|
||||
<div class="gluon-value-title">
|
||||
<input class="gluon-input-radio" data-update="change" type="radio" value="performance"<%= attr("id", id..'.2') .. attr("name", id) .. attr("checked", ((self:cfgvalue() or self.default) == "performance") and "checked") %> />
|
||||
<input data-update="change" type="radio" value="performance"<%= attr("id", id..'.2') .. attr("name", id) .. attr("checked", ((self:cfgvalue() or self.default) == "performance") and "checked") %> />
|
||||
<label<%= attr("for", id..'.2')%>></label>
|
||||
</div>
|
||||
<div class="gluon-value-field-long">
|
||||
|
@ -10,7 +10,7 @@
|
||||
<%
|
||||
for i, val in ipairs(self:cfgvalue()) do
|
||||
%>
|
||||
<input class="gluon-input-text" value="<%|val%>" data-update="change" type="text"<%=
|
||||
<input value="<%|val%>" data-update="change" type="text"<%=
|
||||
attr("id", id .. "." .. i) ..
|
||||
attr("name", id) ..
|
||||
attr("size", self.size) ..
|
||||
|
@ -1,4 +1,4 @@
|
||||
<input class="gluon-input-checkbox" data-update="click change" type="checkbox" value="1"<%=
|
||||
<input data-update="click change" type="checkbox" value="1"<%=
|
||||
attr("id", id) .. attr("name", id) ..
|
||||
attr("checked", self:cfgvalue() and "checked")
|
||||
%> />
|
||||
|
@ -4,7 +4,7 @@
|
||||
%>
|
||||
|
||||
<% if self.widget == "select" then %>
|
||||
<select class="gluon-input-select" data-update="change"<%=
|
||||
<select data-update="change"<%=
|
||||
attr("id", id) ..
|
||||
attr("name", id) ..
|
||||
attr("size", self.size) ..
|
||||
@ -28,7 +28,7 @@
|
||||
attr("data-index", i) ..
|
||||
attr("data-depends", self:deplist(entry.deps))
|
||||
%>>
|
||||
<input class="gluon-input-radio" data-update="click change" type="radio"<%=
|
||||
<input data-update="click change" type="radio"<%=
|
||||
attr("id", id.."."..entry.key) ..
|
||||
attr("name", id) ..
|
||||
attr("value", entry.key) ..
|
||||
|
@ -1,3 +1,3 @@
|
||||
<textarea class="gluon-input-textarea" <% if not self.size then %> style="width: 100%"<% else %> cols="<%=self.size%>"<% end %> data-update="change"<%= attr("name", id) .. attr("id", id) .. attr("rows", self.rows) .. attr("wrap", self.wrap) %>>
|
||||
<textarea <% if not self.size then %> style="width: 100%"<% else %> cols="<%=self.size%>"<% end %> data-update="change"<%= attr("name", id) .. attr("id", id) .. attr("rows", self.rows) .. attr("wrap", self.wrap) %>>
|
||||
<%-|self:cfgvalue()-%>
|
||||
</textarea>
|
||||
|
@ -2,7 +2,6 @@
|
||||
attr("id", id) ..
|
||||
attr("name", id) ..
|
||||
attr("type", self.password and "password" or "text") ..
|
||||
attr("class", self.password and "gluon-input-password" or "gluon-input-text") ..
|
||||
attr("value", self:cfgvalue()) ..
|
||||
attr("size", self.size) ..
|
||||
attr("placeholder", self.placeholder) ..
|
||||
|
File diff suppressed because one or more lines are too long
@ -276,7 +276,6 @@
|
||||
t.value = values[i-1];
|
||||
t.type = 'text';
|
||||
t.index = i;
|
||||
t.className = 'gluon-input-text';
|
||||
|
||||
if (attr.size)
|
||||
t.size = attr.size;
|
||||
|
Loading…
Reference in New Issue
Block a user