From ace63ade462281b371b7724efb55cbbd5885e09f Mon Sep 17 00:00:00 2001 From: leiweibau <105860611+leiweibau@users.noreply.github.com> Date: Sat, 30 Jul 2022 18:52:12 +0200 Subject: [PATCH] Maintaining Improve Network page and merge https://github.com/jokob-sk/Pi.Alert/commit/a7709ce6e17e5645047e39275c0acc478aed4448 --- front/css/pialert.css | 2 +- front/deviceDetails.php | 33 ++++++++++++- front/maintenance.php | 20 ++++---- front/network.php | 64 ++++++++++++++------------ front/php/server/devices.php | 19 ++++++++ front/php/templates/header.php | 3 +- front/php/templates/language/de_de.php | 47 ++++++++++++++++++- front/php/templates/language/en_us.php | 47 ++++++++++++++++++- front/php/templates/language/es_es.php | 43 +++++++++++++++++ 9 files changed, 231 insertions(+), 47 deletions(-) diff --git a/front/css/pialert.css b/front/css/pialert.css index 9f329b8d..6d44a6e1 100644 --- a/front/css/pialert.css +++ b/front/css/pialert.css @@ -541,4 +541,4 @@ height: 50px; .infobox_label { font-size: 16px !important; -} \ No newline at end of file +} diff --git a/front/deviceDetails.php b/front/deviceDetails.php index 50cdecad..df4ff459 100644 --- a/front/deviceDetails.php +++ b/front/deviceDetails.php @@ -427,6 +427,8 @@ if ($_REQUEST['mac'] == 'Internet') { $DevDetail_Tap_temp = "Tools"; } else { $D
+
- -
@@ -379,7 +377,7 @@ function deleteDevicesWithEmptyMACs() function askDeleteAllDevices () { // Ask showModalWarning('', '', - 'Cancel', 'Delete', 'deleteAllDevices'); + '', '', 'deleteAllDevices'); } function deleteAllDevices() { @@ -393,7 +391,7 @@ function deleteAllDevices() function askDeleteUnknown () { // Ask showModalWarning('', '', - 'Cancel', 'Delete', 'deleteUnknownDevices'); + '', '', 'deleteUnknownDevices'); } function deleteUnknownDevices() { @@ -407,7 +405,7 @@ function deleteUnknownDevices() function askDeleteEvents () { // Ask showModalWarning('', '', - 'Cancel', 'Delete', 'deleteEvents'); + '', '', 'deleteEvents'); } function deleteEvents() { @@ -421,7 +419,7 @@ function deleteEvents() function askDeleteActHistory () { // Ask showModalWarning('', '', - 'Cancel', 'Delete', 'deleteActHistory'); + '', '', 'deleteActHistory'); } function deleteActHistory() { @@ -435,7 +433,7 @@ function deleteActHistory() function askPiaBackupDBtoArchive () { // Ask showModalWarning('', '', - 'Cancel', 'Run Backup', 'PiaBackupDBtoArchive'); + '', '', 'PiaBackupDBtoArchive'); } function PiaBackupDBtoArchive() { @@ -449,7 +447,7 @@ function PiaBackupDBtoArchive() function askPiaRestoreDBfromArchive () { // Ask showModalWarning('', '', - 'Cancel', 'Run Restore', 'PiaRestoreDBfromArchive'); + '', '', 'PiaRestoreDBfromArchive'); } function PiaRestoreDBfromArchive() { @@ -463,7 +461,7 @@ function PiaRestoreDBfromArchive() function askPiaPurgeDBBackups() { // Ask showModalWarning('', '', - 'Cancel', 'Purge', 'PiaPurgeDBBackups'); + '', '', 'PiaPurgeDBBackups'); } function PiaPurgeDBBackups() { @@ -477,7 +475,7 @@ function PiaPurgeDBBackups() function askPiaEnableDarkmode() { // Ask showModalWarning('', '', - 'Cancel', 'Switch', 'PiaEnableDarkmode'); + '', '', 'PiaEnableDarkmode'); } function PiaEnableDarkmode() { @@ -491,7 +489,7 @@ function PiaEnableDarkmode() function askPiaToggleArpScan () { // Ask showModalWarning('', '', - 'Cancel', 'Switch', 'PiaToggleArpScan'); + '', '', 'PiaToggleArpScan'); } function PiaToggleArpScan() { diff --git a/front/network.php b/front/network.php index a7b7a6d8..16696be1 100644 --- a/front/network.php +++ b/front/network.php @@ -69,7 +69,7 @@ if ($_REQUEST['Networkdelete'] == "yes") {

- Netzwerkvisualisierung +

@@ -80,7 +80,7 @@ echo $_REQUEST['device_id'];
-

Verwalte Netzwerk-Geräte

+

@@ -89,16 +89,17 @@ echo $_REQUEST['device_id'];
+

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

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

- +