summaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-07-14 15:54:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-07-14 15:54:53 +0000
commit426f12416dd59cd24524fb577bdea8b2e4c440f9 (patch)
tree5ccf85da15170b26f2b8cec395cb5bd863bbae41 /themes
parentbd3d20708134c3a7622269f71d13ccb70ac0dece (diff)
* luci: add memory status patches from soma
Diffstat (limited to 'themes')
-rw-r--r--themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css28
-rw-r--r--themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css26
2 files changed, 53 insertions, 1 deletions
diff --git a/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css b/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css
index 8f30015f3..89db2e53b 100644
--- a/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css
+++ b/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css
@@ -294,4 +294,30 @@ code {
.ok {
color: green;
font-weight: bold;
-} \ No newline at end of file
+}
+
+#memorybar {
+ width:200px;
+ height:9px;
+ border:1px solid #bbb;
+ background-color: #262626;
+}
+
+#memfree, #membuffers, #memcached {
+ float:right;
+ border:1px solid #262626;
+ height:7px;
+}
+
+#memfree {
+ background-color:green;
+}
+
+#membuffers {
+ background-color:#ffcb05;
+}
+
+#memcached {
+ background-color:#dc0065;
+}
+
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 824b04ba4..de3246b2e 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,31 @@ td.cbi-section-table-optionals {
font-size: 70%;
}
+#memorybar {
+ width:200px;
+ height:8px;
+ border:1px solid #bbb;
+ background-color:red
+}
+
+#memfree, #membuffers, #memcached {
+ float:right;
+ border:1px solid #bbb;
+ height:6px;
+}
+
+#memfree {
+ background-color:green;
+}
+
+#membuffers {
+ background-color:yellow;
+}
+
+#memcached {
+ background-color:orange;
+}
+
/* obligatory IE6 Voodoo Code */
* html body {
@@ -406,3 +431,4 @@ td.cbi-section-table-optionals {
* html div.cbi-value-description {
margin-left: 40%;
}
+