modules/admin-full, modules/freifunk, modules/niu, libs/web, applications/luci-upnp...
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 22 Sep 2011 13:25:48 +0000 (13:25 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 22 Sep 2011 13:25:48 +0000 (13:25 +0000)
applications/luci-upnp/luasrc/view/upnp_status.htm
libs/web/luasrc/view/cbi/button.htm
libs/web/luasrc/view/cbi/upload.htm
modules/admin-full/luasrc/view/admin_network/wifi_join.htm
modules/admin-full/luasrc/view/admin_system/backup.htm
modules/admin-full/luasrc/view/admin_system/packages.htm
modules/admin-mini/luasrc/view/mini/backup.htm
modules/freifunk/luasrc/view/cbi/osmll_value.htm
modules/niu/luasrc/view/niu/system/backup.htm

index 89857d542b3fe7d55e86a2d81b591ae528d700f6..dcac8b46e4b577b202bee7e408806c47343c0d1d 100644 (file)
@@ -35,7 +35,7 @@
                                                tr.insertCell(-1).innerHTML = st[i].intport;
 
                                                tr.insertCell(-1).innerHTML = String.format(
-                                                       '<input class="cbi-input-remove" type="button" value="<%:Delete Redirect%>" onclick="upnp_delete_fwd(%d)" />',
+                                                       '<input class="cbi-button cbi-input-remove" type="button" value="<%:Delete Redirect%>" onclick="upnp_delete_fwd(%d)" />',
                                                                st[i].num
                                                );
                                        }
index 88e63d59df405333ac113f155bcdf3c26d9e7025..30f8ddfda54deb427414d14a5ad2d72739a3f938 100644 (file)
@@ -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 %>
index d57a032c77c4c2a19aead5a4a93cc4dff2cca30b..7770934111c13914dcb6d5976d238335c2902244 100644 (file)
@@ -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 %>
index 4dea9bacc83b7b96252748baf7b926345d669f5b..248d0dbab35ac5c06c2c5297557ae33d74fd52a3 100644 (file)
@@ -129,7 +129,7 @@ $Id$
        </form>
        <form class="inline" action="<%=REQUEST_URI%>" method="get">
                <input type="hidden" name="device" value="<%=utl.pcdata(dev)%>" />
-               <input class="cbi-input-find" type="submit" value="<%:Repeat scan%>" />
+               <input class="cbi-button cbi-input-find" type="submit" value="<%:Repeat scan%>" />
        </form>
 </div>
 
index a28d2b8066b4d067c1f8553ce4090a9146c5983c..47b513bd2fbef3c7d2eba32282288e7641283d75 100644 (file)
@@ -34,7 +34,7 @@ $Id$
                <input type="file" size="30" name="archive" />
        </div>
        <div>
-               <input type="submit" class="cbi-input-apply" value="<%:Restore backup%>" />
+               <input type="submit" class="cbi-button cbi-input-apply" value="<%:Restore backup%>" />
        </div>
 </form>
-<%+footer%>
\ No newline at end of file
+<%+footer%>
index 524eb4d8b4cf16bc36ecf5bf4a296af0802525ff..51a12117121b39d98de6de70809219b1569ce2f5 100644 (file)
@@ -51,7 +51,7 @@ local filter = { }
                                        <label class="cbi-value-title"><%:Download and install package%>:</label>
                                        <div class="cbi-value-field">
                                                <input type="text" name="url" size="30" value="" />
-                                               <input class="cbi-input-save" type="submit" name="submit" value="<%:OK%>" />
+                                               <input class="cbi-button cbi-input-save" type="submit" name="submit" value="<%:OK%>" />
                                        </div>
                                </div>
 
@@ -59,7 +59,7 @@ local filter = { }
                                        <label class="cbi-value-title"><%:Filter%>:</label>
                                        <div class="cbi-value-field">
                                                <input type="text" name="query" size="20" value="<%=pcdata(query)%>" />
-                                               <input type="submit" class="cbi-input-find" name="search" value="<%:Find package%>" />
+                                               <input type="submit" class="cbi-button cbi-input-find" name="search" value="<%:Find package%>" />
                                        </div>
                                </div>
                        </fieldset>
index a28d2b8066b4d067c1f8553ce4090a9146c5983c..47b513bd2fbef3c7d2eba32282288e7641283d75 100644 (file)
@@ -34,7 +34,7 @@ $Id$
                <input type="file" size="30" name="archive" />
        </div>
        <div>
-               <input type="submit" class="cbi-input-apply" value="<%:Restore backup%>" />
+               <input type="submit" class="cbi-button cbi-input-apply" value="<%:Restore backup%>" />
        </div>
 </form>
-<%+footer%>
\ No newline at end of file
+<%+footer%>
index c368b67bdf48a45a43e30552f4c00579e088b3b6..78b4dff91f4daec65f5fab644210c522827610f5 100644 (file)
@@ -19,7 +19,7 @@ $Id$
                <% end %>
 
                <% if self.popup then %>
-                       <input class="cbi-input-button" type="button"<%= attr("name", cbid..".button")..attr("id", cbid..".button")..attr("value", self.displaytext)%> 
+                       <input class="cbi-button cbi-input-button" type="button"<%= attr("name", cbid..".button")..attr("id", cbid..".button")..attr("value", self.displaytext)%> 
                                        onclick="
                                                popup=window.open('/luci-static/resources/OSMLatLon.htm', '<%=cbid%>.window', 'innerWidth=<%=self.width%>, innerHeight=<%=self.height%>, location=no, menubar=no, scrollbars=no, status=no, toolbar=no');
                                                popup.focus();
@@ -28,7 +28,7 @@ $Id$
        </div>
        <div>           
                <% else %>
-                       <input class="cbi-input-button" type="button"<%= attr("name", cbid..".displayosm")..attr("id", cbid..".displayosm")..attr("value", self.displaytext)%> 
+                       <input class="cbi-button cbi-input-button" type="button"<%= attr("name", cbid..".displayosm")..attr("id", cbid..".displayosm")..attr("value", self.displaytext)%> 
                                        onclick="
                                                document.getElementById('<%=cbid..".hideosm"%>').style.display='inline';
                                                document.getElementById('<%=cbid..".displayosm"%>').style.display='none';
@@ -40,7 +40,7 @@ $Id$
                                                 }
                                        "
                        />
-                       <input class="cbi-input-button" style="display:none" type="button"<%= attr("name", cbid..".hideosm")..attr("id", cbid..".hideosm")..attr("value", self.hidetext)%> 
+                       <input class="cbi-button cbi-input-button" style="display:none" type="button"<%= attr("name", cbid..".hideosm")..attr("id", cbid..".hideosm")..attr("value", self.hidetext)%> 
                                        onclick="
                                                document.getElementById('<%=cbid..".displayosm"%>').style.display='inline';
                                                document.getElementById('<%=cbid..".hideosm"%>').style.display='none';
index 7e8c7282361f7e6d3382d72b78a87d84287ffcd4..d380f006e29cd8e0451000bffbe89e3b19cab94c 100644 (file)
@@ -34,8 +34,8 @@ $Id$
                <input type="file" size="30" name="archive" />
        </div>
        <div>
-               <input type="submit" name="cancel" class="cbi-input-cancel" value="<%:Cancel%>" />
-               <input type="submit" class="cbi-input-apply" value="<%:Restore backup%>" />
+               <input type="submit" name="cancel" class="cbi-button cbi-input-cancel" value="<%:Cancel%>" />
+               <input type="submit" class="cbi-button cbi-input-apply" value="<%:Restore backup%>" />
        </div>
 </form>
-<%+footer%>
\ No newline at end of file
+<%+footer%>