From c64a0911d459e757976883a55e69cec017875424 Mon Sep 17 00:00:00 2001 From: Hari Date: Sun, 13 Sep 2015 22:59:33 +0530 Subject: Modified the files for Bootstrap --- src/usr/local/www/services_captiveportal_zones.php | 110 +++--- src/usr/local/www/status_openvpn.php | 379 +++++++++------------ src/usr/local/www/status_queues.php | 58 ++-- 3 files changed, 239 insertions(+), 308 deletions(-) diff --git a/src/usr/local/www/services_captiveportal_zones.php b/src/usr/local/www/services_captiveportal_zones.php index 6d956b5..d69577e 100644 --- a/src/usr/local/www/services_captiveportal_zones.php +++ b/src/usr/local/www/services_captiveportal_zones.php @@ -71,84 +71,66 @@ include("head.inc"); ?> - - -
- -

-" . gettext("You must apply the changes in order for them to take effect."));?> - - - - - - - - - - + + + + +

+ " . gettext("You must apply the changes in order for them to take effect."));?> + + +

+

+
+
- - - - - -
  - " alt="add" /> -
-
+ + + + + + + + + + + $cpitem): if (!is_array($cpitem)) { continue; } ?> - - - + + - - - - + + + + + - - - - -
- - +
- - - -   - - - - - - -
" alt="edit" /> - ')">" alt="delete" /> -
-
  + + +
- - - - - +
  - " alt="add" /> -
-
-

- - + + + + + + + + + diff --git a/src/usr/local/www/status_openvpn.php b/src/usr/local/www/status_openvpn.php index 2cd2770..829f659 100644 --- a/src/usr/local/www/status_openvpn.php +++ b/src/usr/local/www/status_openvpn.php @@ -109,8 +109,7 @@ $clients = openvpn_get_active_clients(); include("head.inc"); ?> -"> - +
+ - - - - - - - -
- -
- - - - - - - - - +
+

+
+
+ + + + + + + + + + + + - "> - - - - - - - - + "> + + + + + + + + - - - - - - -
- - - - - - - - - - - - - " - title="" alt="delete" /> -
+ " + title="" alt="delete" /> +
- - - - -
- -
-
 
-
+ + + + + + + + +
+ + + +
+ + + + + +
-" /> - -

+ " /> - +

- - - - - - - - + + + + + + + + + @@ -280,69 +258,53 @@ include("head.inc"); ?> - - - - - - - -
- -
- - - - - - - - - - - +
+

+
+
+ + + + + + + + + + + + - "> - - - - - - - - - + "> + + + + + + + + + +
- - - - - - - - - - - - - - - - - - -
- - -
-
+ + + + +
+ + + +
+
-
+ + - - - - - - - -
- -
- - - - - - - - - - - +
+

+
+
+ + + + + + + + + + + + + - "> - - - - - - - - - + "> + + + + + + + + + +
- - - - - - - - - - - - - - - - - - -
- - - -
-
+ + + + +
+ + + +
+
-
+ + " . gettext("NOTE") . ": " . gettext("If you have custom options that override the management features of OpenVPN on a client or server, they will cause that OpenVPN instance to not work correctly with this status page."); + print_info_box("
" . gettext("NOTE") . ": " . gettext("If you have custom options that override the management features of OpenVPN on a client or server, they will cause that OpenVPN instance to not work correctly with this status page.")); } if ((empty($clients)) && (empty($servers)) && (empty($sk_servers))) { - echo gettext("No OpenVPN instances defined"); + print_info_box(gettext("No OpenVPN instances defined")); } ?>
- - - - - - - - - - - - - - - - + +
+

+
+
- - -
+ + + + + + + + + + + + -
+ +
+

:
.
@@ -229,11 +233,11 @@ function processQueues($altqstats, $level, $parent_name) { } } if ($prev_if != $q['interface']) { - echo "Interface ". htmlspecialchars(convert_real_interface_to_friendly_descr($q['interface'])) . ""; + echo "Interface ". htmlspecialchars(convert_real_interface_to_friendly_descr($q['interface'])) . ""; $prev_if = $q['interface']; } ?> - +