1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
%head
%title
= @title
- if[:urgent, :normal, :low].all?{|k| @alert_counts.has_key?(k) }
[
= [:urgent, :normal, :low].collect{|l| @alert_counts[l]}.join(" / ")
]
%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 => '/javascript/jquery.periodicalupdater.js', :type => 'text/javascript'}
%script{:src => '/javascript/mauve_utils.js', :type => 'text/javascript'}
|