diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-04-13 17:03:16 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-04-13 17:03:16 +0100 |
commit | 89a67770e66d11740948e90a41db6cee0482cf8e (patch) | |
tree | be858515fb789a89d68f94975690ab019813726c /views/_head3.haml |
new version.
Diffstat (limited to 'views/_head3.haml')
-rw-r--r-- | views/_head3.haml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/views/_head3.haml b/views/_head3.haml new file mode 100644 index 0000000..1a2b00f --- /dev/null +++ b/views/_head3.haml @@ -0,0 +1,17 @@ +%h1 + Mauve Alert Panel +.alertsSummary + %span.urgent + Urgent + %span.nbrUnacknowledged{:title=>"Urgent alert unacknowledged"} #{@urgent.length - @count_ack[:urgent]} + %span.nbrAcknowledged{:title=>"Urgent alert acknowledged"} (Seen #{@count_ack[:urgent]}) + %span.normal + Normal + %span.nbrUnacknowledged{:title=>"Normal alert unacknowledged"} #{@normal.length - @count_ack[:normal]} + %span.nbrAcknowledged{:title=>"Normal alert acknowledged"} (Seen #{@count_ack[:normal]}) + %span.low + Low + %span.nbrUnacknowledged{:title=>"Low alert unacknowledged"} #{@low.length - @count_ack[:low]} + %span.nbrAcknowledged{:title=>"Low alert acknowledged"} (Seen #{@count_ack[:low]}) + %a{:href=>"/logout"} + [Logout] |