From 04e24d4671d42513c8b3e2d59619738248bf06c6 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Thu, 29 Mar 2018 14:57:41 -0500 Subject: [PATCH] webui: Alert builder layout optimsation (#8489) * Alert builder: don't waste space More space for the ui elements when the dialog is large. Stop the import button from overlapping things when the dialog is extra small. * Add divider to alert menubar --- html/includes/modal/new_alert_rule.inc.php | 62 +++++++++++----------- html/includes/print-menubar.php | 15 +++--- 2 files changed, 36 insertions(+), 41 deletions(-) diff --git a/html/includes/modal/new_alert_rule.inc.php b/html/includes/modal/new_alert_rule.inc.php index 8c96cf128a..f2538327e6 100644 --- a/html/includes/modal/new_alert_rule.inc.php +++ b/html/includes/modal/new_alert_rule.inc.php @@ -37,35 +37,33 @@ if (is_admin()) {
- -
+ +
-
-
- +
+
-
+
- +
@@ -83,41 +81,41 @@ if (is_admin()) {
-
- +
+
-
- -
+
+ +
- +
- +
- -
+ +
- -
+ +
-
+
diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 73f4d2a227..eb1c232ccc 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -601,15 +601,12 @@ if ($alerts['active_count'] > 0) {
  • Notifications
  • Alert History
  • Statistics
  • - = '10') { - ?> -
  • Alert Rules
  • -
  • Scheduled Maintenance
  • -
  • Alert Templates
  • - + + +
  • Alert Rules
  • +
  • Scheduled Maintenance
  • +
  • Alert Templates
  • +