aboutsummaryrefslogtreecommitdiff
path: root/views/_head.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-06-15 19:47:24 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-06-15 19:47:24 +0100
commitfc0327f91fb134e1df994143a78c22df7d8f62e4 (patch)
tree9fb1161dbdece4428e6c65b1d555a67c7908fa9e /views/_head.haml
parent3576923edf788eecb4320e034f5afaaf625bd62e (diff)
Big interface clear up
Diffstat (limited to 'views/_head.haml')
-rw-r--r--views/_head.haml30
1 files changed, 8 insertions, 22 deletions
diff --git a/views/_head.haml b/views/_head.haml
index db2125e..276680d 100644
--- a/views/_head.haml
+++ b/views/_head.haml
@@ -1,22 +1,8 @@
-.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"}
+%head
+ %title= @title
+ %meta{:name => "viewport", :content => "width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes"}/
+ %link{:rel => "stylesheet", :href => "/stylesheets/bytemark.css"}/
+ %link{:rel => "stylesheet", :href => "/stylesheets/mauve.css", :media => "all", :type => "text/css"}/
+ %link{:rel => "stylesheet", :href => "/stylesheets/mauve-handheld.css", :media => "handheld, only screen and (max-width: 1000px), only screen and (max-device-width: 1000px)", :type => "text/css" }/
+ %script{:src => '/javascript/jquery/jquery.min.js', :type => 'text/javascript'}
+ %script{:src => '/mauve_utils.js', :type => 'text/javascript'}