aboutsummaryrefslogtreecommitdiff
path: root/views/_head.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-04-13 17:03:16 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-04-13 17:03:16 +0100
commit89a67770e66d11740948e90a41db6cee0482cf8e (patch)
treebe858515fb789a89d68f94975690ab019813726c /views/_head.haml
new version.
Diffstat (limited to 'views/_head.haml')
-rw-r--r--views/_head.haml22
1 files changed, 22 insertions, 0 deletions
diff --git a/views/_head.haml b/views/_head.haml
new file mode 100644
index 0000000..db2125e
--- /dev/null
+++ b/views/_head.haml
@@ -0,0 +1,22 @@
+.colmask.threecol
+ .colmid
+ .colleft
+ .col1
+ .countdown{:id=>"reloadPage"}
+ %span.count
+ %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]})
+ .col2
+ .title #{@title}
+ .col3
+ %img{:src => "/images/logo.png"}