From 89a67770e66d11740948e90a41db6cee0482cf8e Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Wed, 13 Apr 2011 17:03:16 +0100 Subject: new version. --- views/events.haml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 views/events.haml (limited to 'views/events.haml') 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}) + -- cgit v1.2.1