From 7fcdd5e89c1d2a35f15da7e30adcbee3de5eef54 Mon Sep 17 00:00:00 2001 From: glaszig Date: Mon, 19 Aug 2019 00:04:53 +0100 Subject: [PATCH] use template for dashboard --- includes/dashboard.php | 117 ++++------------------------------------ templates/dashboard.php | 102 +++++++++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+), 107 deletions(-) create mode 100644 templates/dashboard.php diff --git a/includes/dashboard.php b/includes/dashboard.php index 33a87869..6a751c0d 100755 --- a/includes/dashboard.php +++ b/includes/dashboard.php @@ -170,114 +170,17 @@ function DisplayDashboard() } else { $status->addMessage(sprintf(_('Interface is %s.'), strtolower($interfaceState)), $classMsgDevicestatus); } - ?> -
-
-
-
-
-

showMessages(); ?>

-
-
-
-
-

-

-

-

-

-


-
-
-
-
-

-

-


-

-

-
-
-
-
-
-
-

-

-

-

-

-

-


-
-
-
% -
-
-
-
-
-
-

-
- - - - - - - - - -'.PHP_EOL; - echo ''.PHP_EOL; - echo ''.PHP_EOL; - echo ''.PHP_EOL; - echo ''.PHP_EOL; -}; -?> - -
'.htmlspecialchars($client_items[3], ENT_QUOTES).''.htmlspecialchars($client_items[2], ENT_QUOTES).''.htmlspecialchars($client_items[1], ENT_QUOTES).'
-
-
-
-
-
-
-
-
- - '; -} else { - echo ''; -} - ?> - " onclick="document.location.reload(true)" /> -
-
-
- -
- -
-
-
- +
+
+
+
+
+ showMessages(); ?> +
+
+
+
+

+

+

+

+

+


+
+
+
+
+

+

+


+

+

+
+
+
+
+
+
+

+

+

+

+

+

+


+
+
+
%
+
+
+
+
+
+

+
+ + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+
+
+ + + + " name="ifup_wlan0" /> + + " name="ifdown_wlan0" /> + + " onclick="document.location.reload(true)" /> +
+
+
+ +
+ +
+
+