summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-07-15 22:37:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-07-15 22:37:53 +0000
commitbe4147d3d810bb246470b67315b7c019319c9bf4 (patch)
tree92ea9eef2e831df640700dcaee68bde98d884807
parent18f0ebfd8bd669a0792fc2e1c1d31e3b41eeda7b (diff)
* luci/themes: css fixed in openwrt.org theme
* luci/statistics: fixed layout of graph display page * luci/admin: fixed layout of uci changes page
-rw-r--r--applications/luci-statistics/luasrc/view/public_statistics/graph.htm13
-rw-r--r--modules/admin-full/luasrc/view/admin_uci/changes.htm3
-rw-r--r--themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css4
3 files changed, 16 insertions, 4 deletions
diff --git a/applications/luci-statistics/luasrc/view/public_statistics/graph.htm b/applications/luci-statistics/luasrc/view/public_statistics/graph.htm
index 49fa3735c1..4e7a2a15f3 100644
--- a/applications/luci-statistics/luasrc/view/public_statistics/graph.htm
+++ b/applications/luci-statistics/luasrc/view/public_statistics/graph.htm
@@ -25,8 +25,15 @@ $Id$
<input type="submit" name="submit" value="<%:stat_showtimespan Display timespan &raquo;%>" />
</form>
-<% for i, img in ipairs(images) do %>
- <img src="/rrdimg/<%=img%>" />
-<% end %>
+<br />
+<hr />
+<br />
+
+<div style="text-align: center">
+ <% for i, img in ipairs(images) do %>
+ <img src="/rrdimg/<%=img%>" />
+ <br />
+ <% end %>
+</div>
<%+footer%>
diff --git a/modules/admin-full/luasrc/view/admin_uci/changes.htm b/modules/admin-full/luasrc/view/admin_uci/changes.htm
index f2a88602ad..09d8d3e7ee 100644
--- a/modules/admin-full/luasrc/view/admin_uci/changes.htm
+++ b/modules/admin-full/luasrc/view/admin_uci/changes.htm
@@ -16,10 +16,11 @@ $Id$
<h1><%:config%></h1>
<h2><%:changes%></h2>
<code><%=changes%></code>
+<br /><br />
<form class="inline" method="get" action="<%=controller%>/admin/uci/apply">
<input type="submit" value="<%:apply%>" />
</form>
<form class="inline" method="get" action="<%=controller%>/admin/uci/revert">
<input type="submit" value="<%:revert%>" />
</form>
-<%+footer%> \ No newline at end of file
+<%+footer%>
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 de3246b2e7..89b4f6ac01 100644
--- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
+++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
@@ -354,6 +354,10 @@ td.cbi-section-table-optionals {
font-size: 70%;
}
+.inline {
+ display: inline;
+}
+
#memorybar {
width:200px;
height:8px;