aboutsummaryrefslogtreecommitdiff
path: root/views/_head.haml
blob: 5bcd6ae4c94fe0b9ed8bd3bde5d6d1382e821eb8 (plain)
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'}