aboutsummaryrefslogtreecommitdiff
path: root/views/_navbar.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/_navbar.haml')
-rw-r--r--views/_navbar.haml15
1 files changed, 15 insertions, 0 deletions
diff --git a/views/_navbar.haml b/views/_navbar.haml
new file mode 100644
index 0000000..2384baf
--- /dev/null
+++ b/views/_navbar.haml
@@ -0,0 +1,15 @@
+#navbar
+ %ul
+ %li
+ %a{:href => "/"} Mauve
+ - if @person
+ %li{:id => [ @alert_type == "raised" && "nav_selected"]}
+ %a{:href => '/alerts/raised/'+@group_by} Raised (#{@alerts_raised.length})
+ %li{:id => [ @alert_type == "acknowledged" && "nav_selected"]}
+ %a{:href => '/alerts/acknowledged/'+@group_by} Ack'd (#{@alerts_ackd.length})
+ %li{:id => [ @alert_type == "cleared" && "nav_selected"]}
+ %a{:href => '/alerts/cleared/'+@group_by} Cleared (#{@alerts_cleared.length})
+ %li
+ %a{:href => '/logout'} Log out
+ %br
+