aboutsummaryrefslogtreecommitdiff
path: root/views/_navbar.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-06-09 18:09:52 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-06-09 18:09:52 +0100
commit495c44445642cfae8f23fadde299ad5307f5be58 (patch)
tree0104c9eef164235aa5ab05b126c8f63e52fb8624 /views/_navbar.haml
parent0c88fcc91db1b003cd5d5311f62700c7867b4099 (diff)
Big commit
--HG-- rename : views/please_authenticate.haml => views/login.haml
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
+