diff options
author | Steven Barth <steven@midlink.org> | 2008-05-25 17:41:51 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-25 17:41:51 +0000 |
commit | 328c83ce3b74a09a3904352cfec2089b95770bd6 (patch) | |
tree | b589344c8bfd2eaa94f53ea287008a827734ec09 /themes/fledermaus/root/www | |
parent | 365d80765d3f08c457b0a373c395c8e1940e44be (diff) |
* core: Fixed a bug in the dispatcher
* core: Move cbi.js to general resource directory
* core: Removed Freifunk references
* core: Updated Fledermaus theme
Diffstat (limited to 'themes/fledermaus/root/www')
-rw-r--r-- | themes/fledermaus/root/www/luci/fledermaus/cascade.css (renamed from themes/fledermaus/root/www/luci/media/cascade.css) | 0 | ||||
-rw-r--r-- | themes/fledermaus/root/www/luci/fledermaus/logo.png (renamed from themes/fledermaus/root/www/luci/media/logo.png) | bin | 4002 -> 4002 bytes | |||
-rw-r--r-- | themes/fledermaus/root/www/luci/media/cbi.js | 42 |
3 files changed, 0 insertions, 42 deletions
diff --git a/themes/fledermaus/root/www/luci/media/cascade.css b/themes/fledermaus/root/www/luci/fledermaus/cascade.css index 5920254c78..5920254c78 100644 --- a/themes/fledermaus/root/www/luci/media/cascade.css +++ b/themes/fledermaus/root/www/luci/fledermaus/cascade.css diff --git a/themes/fledermaus/root/www/luci/media/logo.png b/themes/fledermaus/root/www/luci/fledermaus/logo.png Binary files differindex d4c5dd9a3f..d4c5dd9a3f 100644 --- a/themes/fledermaus/root/www/luci/media/logo.png +++ b/themes/fledermaus/root/www/luci/fledermaus/logo.png diff --git a/themes/fledermaus/root/www/luci/media/cbi.js b/themes/fledermaus/root/www/luci/media/cbi.js deleted file mode 100644 index a3a47aa45b..0000000000 --- a/themes/fledermaus/root/www/luci/media/cbi.js +++ /dev/null @@ -1,42 +0,0 @@ -var cbi_d = {}; - -function cbi_d_add(field, target, value) { - if (!cbi_d[target]) { - cbi_d[target] = {}; - } - if (!cbi_d[target][value]) { - cbi_d[target][value] = []; - } - cbi_d[target][value].push(field); -} - -function cbi_d_update(target) { - if (!cbi_d[target]) { - return; - } - - for (var x in cbi_d[target]) { - for (var i=0; i<cbi_d[target][x].length; i++) { - var y = document.getElementById(cbi_d[target][x][i]) - y.style.display = "none"; - } - } - - var t = document.getElementById(target); - if (t && t.value && cbi_d[target][t.value]) { - for (var i=0; i<cbi_d[target][t.value].length; i++) { - var y = document.getElementById(cbi_d[target][t.value][i]) - if (!y.value) { - y.style.display = "table-row"; - } else { - y.style.display = "block"; - } - } - } -} - -function cbi_d_init() { - for (var x in cbi_d) { - cbi_d_update(x); - } -}
\ No newline at end of file |