From: Steven Barth Date: Sat, 16 Aug 2008 15:37:28 +0000 (+0000) Subject: UI Improvements X-Git-Tag: 0.8.0~403 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=09b829a9c795477a637b265ceeca2eacabca427b;p=project%2Fluci.git UI Improvements --- diff --git a/i18n/german/luasrc/i18n/default.de.lua b/i18n/german/luasrc/i18n/default.de.lua index c0c9e43d5..078c1e8d3 100644 --- a/i18n/german/luasrc/i18n/default.de.lua +++ b/i18n/german/luasrc/i18n/default.de.lua @@ -18,7 +18,7 @@ configfile = "Konfigurationsdatei" confirmation = "Bestätigung" delete = "Löschen" -descr = "Beschriebung" +descr = "Beschreibung" design = "Design" device = "Gerät" devices = "Geräte" diff --git a/libs/cbi/htdocs/luci-static/resources/cbi/find.gif b/libs/cbi/htdocs/luci-static/resources/cbi/find.gif new file mode 100644 index 000000000..9ae5e3489 Binary files /dev/null and b/libs/cbi/htdocs/luci-static/resources/cbi/find.gif differ diff --git a/libs/cbi/htdocs/luci-static/resources/cbi/reload.gif b/libs/cbi/htdocs/luci-static/resources/cbi/reload.gif new file mode 100644 index 000000000..8268958a1 Binary files /dev/null and b/libs/cbi/htdocs/luci-static/resources/cbi/reload.gif differ diff --git a/modules/admin-full/luasrc/view/admin_system/backup.htm b/modules/admin-full/luasrc/view/admin_system/backup.htm index 42d338e1d..a288e0be2 100644 --- a/modules/admin-full/luasrc/view/admin_system/backup.htm +++ b/modules/admin-full/luasrc/view/admin_system/backup.htm @@ -34,7 +34,7 @@ $Id$
- +
<%+footer%> \ No newline at end of file diff --git a/modules/admin-full/luasrc/view/admin_system/packages.htm b/modules/admin-full/luasrc/view/admin_system/packages.htm index 0f8f2c16e..d28b60cca 100644 --- a/modules/admin-full/luasrc/view/admin_system/packages.htm +++ b/modules/admin-full/luasrc/view/admin_system/packages.htm @@ -12,6 +12,13 @@ You may obtain a copy of the License at $Id$ -%> +<%- +local rowcnt = 1 +function rowstyle() + rowcnt = rowcnt + 1 + return (rowcnt % 2) + 1 +end +-%> <%+header%>

<%:system%>

<%:a_s_packages%>

@@ -36,56 +43,57 @@ $Id$
<% end %> -
-<%:a_s_packages_ipkg%>
-<%:a_s_packages_updatelist%>
-<%:a_s_packages_upgrade%> -
- -
-
- -
-
- <%:a_s_packages_installurl%>:
- - -
- -
-
- -
- <%:filter%>: - - - -
- -
-
- -
- - - - - - - - - <% for k, pkg in pairs(pkgs) do %> - - - - - - - - <% end %> -
<%:a_s_packages_name%><%:version%><%:install%><%:delete%><%:descr%>
<%=pkg.Package%><%=pkg.Version%><% if not pkg.Status or not pkg.Status.installed then %><% else %><%:installed%><% end %><% if pkg.Status and pkg.Status.installed then %><% else %><%:notinstalled%><% end %><%=pkg.Description%>
+ +
+
+ +
+
+
+ +
+ + +
+
+ +
+ +
+ + +
+
+ + + + + + + + + + <% for k, pkg in pairs(pkgs) do %> + + + + + + + + <% end %> +
<%:a_s_packages_name%><%:version%><%:install%><%:delete%><%:descr%>
<%=pkg.Package%><%=pkg.Version%><% if not pkg.Status or not pkg.Status.installed then %><% else %><%:installed%><% end %><% if pkg.Status and pkg.Status.installed then %><% else %><%:notinstalled%><% end %><%=pkg.Description%>
+ +
+ +
+ +
+
-
- <%+footer%> \ No newline at end of file diff --git a/modules/admin-mini/luasrc/view/mini/backup.htm b/modules/admin-mini/luasrc/view/mini/backup.htm index 42d338e1d..a288e0be2 100644 --- a/modules/admin-mini/luasrc/view/mini/backup.htm +++ b/modules/admin-mini/luasrc/view/mini/backup.htm @@ -34,7 +34,7 @@ $Id$
- +
<%+footer%> \ No newline at end of file diff --git a/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css b/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css index 8fbdf318f..c39396886 100644 --- a/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css +++ b/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css @@ -283,6 +283,18 @@ input.cbi-input-key { padding-left: 17px; } +input.cbi-input-find { + background: url('../resources/cbi/find.gif') no-repeat scroll 1px center; + background-color: inherit; + padding-left: 17px; +} + +input.cbi-input-reload { + background: url('../resources/cbi/reload.gif') no-repeat scroll 1px center; + background-color: inherit; + padding-left: 17px; +} + input.cbi-input-add, input.cbi-button-add { background: url('../resources/cbi/add.gif') no-repeat scroll 1px center; diff --git a/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css b/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css index 9a83623ba..119b86cd2 100644 --- a/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css +++ b/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css @@ -268,6 +268,18 @@ input.cbi-input-key { padding-left: 17px; } +input.cbi-input-find { + background: url('../resources/cbi/find.gif') no-repeat scroll 1px center; + background-color: inherit; + padding-left: 17px; +} + +input.cbi-input-reload { + background: url('../resources/cbi/reload.gif') no-repeat scroll 1px center; + background-color: inherit; + padding-left: 17px; +} + input.cbi-input-add, input.cbi-button-add { background: url('../resources/cbi/add.gif') no-repeat scroll 1px center; diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css index 22c9d1ff3..add60dfb1 100644 --- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css @@ -276,6 +276,18 @@ input.cbi-input-key { padding-left: 17px; } +input.cbi-input-find { + background: url('../resources/cbi/find.gif') no-repeat scroll 1px center; + background-color: inherit; + padding-left: 17px; +} + +input.cbi-input-reload { + background: url('../resources/cbi/reload.gif') no-repeat scroll 1px center; + background-color: inherit; + padding-left: 17px; +} + input.cbi-input-add, input.cbi-button-add { background: url('../resources/cbi/add.gif') no-repeat scroll 1px center;