From 6dcedb584d0ef44a1853190299068e57b835a225 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Tue, 5 Jan 2021 10:16:51 -0600 Subject: [PATCH] modernize monitors view --- web/includes/actions/monitors.php | 3 +-- web/skins/classic/views/monitors.php | 15 +++++++-------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/web/includes/actions/monitors.php b/web/includes/actions/monitors.php index 8f56b0e3d..55c2d282e 100644 --- a/web/includes/actions/monitors.php +++ b/web/includes/actions/monitors.php @@ -44,8 +44,7 @@ if ( $action == 'save' ) { } } } // end foreach mid - $refreshParent = true; - $view = 'none'; + $view = 'console'; } else { ZM\Warning("Unknown action $action in Monitor"); } // end if action == Delete diff --git a/web/skins/classic/views/monitors.php b/web/skins/classic/views/monitors.php index fe1130dfe..db02d92d5 100644 --- a/web/skins/classic/views/monitors.php +++ b/web/skins/classic/views/monitors.php @@ -1,6 +1,6 @@ -
- +

The following monitors will have these settings update when you click Save:

', array_map(function($m){return $m->Id().' ' .$m->Name();}, $monitors)); ?> @@ -88,10 +88,9 @@ The following monitors will have these settings update when you click Save:

- +
- - +