aboutsummaryrefslogtreecommitdiff
path: root/views/_head.haml
diff options
context:
space:
mode:
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"}