diff options
Diffstat (limited to 'views/events.haml')
-rw-r--r-- | views/events.haml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/views/events.haml b/views/events.haml new file mode 100644 index 0000000..324e3b5 --- /dev/null +++ b/views/events.haml @@ -0,0 +1,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}) + |