From 4395dd8bc36feb7957863497487034303d4ed4fd Mon Sep 17 00:00:00 2001 From: Toastman Date: Wed, 3 Aug 2011 14:20:48 +0700 Subject: [PATCH] cosmetics changes to various pages --- release/src/router/www/advanced-misc.asp | 3 ++- release/src/router/www/basic-static.asp | 13 ++++++++++--- release/src/router/www/bwm-realtime.asp | 15 ++++++++++----- release/src/router/www/forward-upnp.asp | 15 +++++++++++---- release/src/router/www/qos-ctrate.asp | 2 +- release/src/router/www/qos-detailed.asp | 2 +- release/src/router/www/qos-graphs.asp | 2 +- release/src/router/www/qos-settings.asp | 14 ++++++++++---- release/src/router/www/status-webmon.asp | 2 +- release/src/router/www/tools-shell.asp | 2 +- release/src/router/www/tools-survey.asp | 4 ++-- 11 files changed, 50 insertions(+), 24 deletions(-) diff --git a/release/src/router/www/advanced-misc.asp b/release/src/router/www/advanced-misc.asp index d92b399c2c..8267469729 100644 --- a/release/src/router/www/advanced-misc.asp +++ b/release/src/router/www/advanced-misc.asp @@ -108,7 +108,8 @@ createFieldTable('', [
* Not all models support these options
- ** You must reboot the router for the new clock frequency to take effect + ** Please make sure to set your CPU clock frequency before use + ** You must reboot the router for the new CPU clock frequency to take effect

Please check to make sure your router can support these changes before you commit them
diff --git a/release/src/router/www/basic-static.asp b/release/src/router/www/basic-static.asp index e550bf8415..b72c05cc6d 100644 --- a/release/src/router/www/basic-static.asp +++ b/release/src/router/www/basic-static.asp @@ -216,6 +216,13 @@ sg.setup = function() this.resetNewEditor(); } +function toggleFiltersVisibility(){ + if(E('staticarp').style.display=='') + E('staticarp').style.display='none'; + else + E('staticarp').style.display=''; +} + function verifyFields(focused, quiet) { var j = E('_f_arpbind_enable').checked; @@ -286,9 +293,9 @@ function init()
-
Static ARP
-
- - +s diff --git a/release/src/router/www/forward-upnp.asp b/release/src/router/www/forward-upnp.asp index 7291ca754d..bd3829c61d 100644 --- a/release/src/router/www/forward-upnp.asp +++ b/release/src/router/www/forward-upnp.asp @@ -108,6 +108,13 @@ function deleteAll() submitDelete('*', '0'); } +function toggleFiltersVisibility(){ + if(E('upnpsettings').style.display=='') + E('upnpsettings').style.display='none'; + else + E('upnpsettings').style.display=''; +} + function verifyFields(focused, quiet) { /* REMOVE-BEGIN @@ -170,7 +177,7 @@ function submit_complete() { reloadPage(); } - + @@ -203,8 +210,8 @@ REMOVE-END */
-
Settings
-
+ + diff --git a/release/src/router/www/qos-ctrate.asp b/release/src/router/www/qos-ctrate.asp index 5e42ced9de..d36820ca21 100644 --- a/release/src/router/www/qos-ctrate.asp +++ b/release/src/router/www/qos-ctrate.asp @@ -478,7 +478,7 @@ createFieldTable('',c); - + diff --git a/release/src/router/www/qos-detailed.asp b/release/src/router/www/qos-detailed.asp index bd8dce2194..3a4ec15bd4 100644 --- a/release/src/router/www/qos-detailed.asp +++ b/release/src/router/www/qos-detailed.asp @@ -481,7 +481,7 @@ createFieldTable('',c); - + diff --git a/release/src/router/www/qos-graphs.asp b/release/src/router/www/qos-graphs.asp index 33a32f0d77..6da9bf458c 100644 --- a/release/src/router/www/qos-graphs.asp +++ b/release/src/router/www/qos-graphs.asp @@ -241,7 +241,7 @@ if (nvram.qos_enable != '1') { - + diff --git a/release/src/router/www/qos-settings.asp b/release/src/router/www/qos-settings.asp index 7f9ff9d52d..8ecbf84921 100644 --- a/release/src/router/www/qos-settings.asp +++ b/release/src/router/www/qos-settings.asp @@ -40,6 +40,13 @@ function oscale(rate, ceil) return s + ' kbit/s'; } +function toggleFiltersVisibility(){ + if(E('qosclassnames').style.display=='') + E('qosclassnames').style.display='none'; + else + E('qosclassnames').style.display=''; +} + function iscale(ceil) { if (ceil < 1) return ''; @@ -224,11 +231,10 @@ createFieldTable('', f);
- - -
QOS Class Names
-
+
QOS Class Names (Toggle Visibility)
+
diff --git a/release/src/router/www/tools-shell.asp b/release/src/router/www/tools-shell.asp index f32a1b1e29..b9cee6ac2f 100644 --- a/release/src/router/www/tools-shell.asp +++ b/release/src/router/www/tools-shell.asp @@ -123,7 +123,7 @@ createFieldTable('', [ ]);
- +
diff --git a/release/src/router/www/tools-survey.asp b/release/src/router/www/tools-survey.asp index d85006999e..4093818747 100644 --- a/release/src/router/www/tools-survey.asp +++ b/release/src/router/www/tools-survey.asp @@ -297,8 +297,8 @@ function init()
-- 2.11.4.GIT