aboutsummaryrefslogtreecommitdiff
path: root/views/events.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-04-13 17:03:16 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-04-13 17:03:16 +0100
commit89a67770e66d11740948e90a41db6cee0482cf8e (patch)
treebe858515fb789a89d68f94975690ab019813726c /views/events.haml
new version.
Diffstat (limited to 'views/events.haml')
-rw-r--r--views/events.haml22
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})
+