aboutsummaryrefslogtreecommitdiff
path: root/views/events.haml
blob: 324e3b5bfdbe66e01f5e5f9d93d4334379495135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
!!!
%html
  %head
    %title #{@title}: Last events (logged in as #{@person.username})
    %link{:rel => "stylesheet", :href => "/alerts.css"}
    %script{:type => "text/javascript", :src => "/prototype.js"}
    %script{:type => "text/javascript", :src => "/mauve_utils.js"}
  %body{:onLoad => "addAutoHover(); addRefresh();"}
    #header
      %h1= @title
    #errors{:style => "display: none;"}
      %h1 
        Trouble!
        (
        %a{:href=>"#", :onClick => "clearErrors();"} hide
        )
      %ul#errors_list
      %p Either the alert server or your internet connection is malfunctioning, so you may want to try refreshing the page.
    #alert_counts= partial("alert_counts")
    #navigation= partial("navigation")
    #event_list= partial("event_list", :locals => {:alerts => @alerts})