From 85b92caf475aca1b615e762d11ed67b48e706355 Mon Sep 17 00:00:00 2001 From: Neil Lathwood Date: Thu, 15 Sep 2016 10:21:28 +0100 Subject: [PATCH] Added alert indicator to navbar --- html/includes/print-menubar.php | 11 ++++++++++- includes/caches/alerts.inc.php | 11 +++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 includes/caches/alerts.inc.php diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 8a610fd98e..538d9ca349 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -491,10 +491,19 @@ if ($bgp_alerts) { 0) { + $alert_colour = "danger"; +} else { + $alert_colour = "success"; +} + ?>