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/preferences.haml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 views/preferences.haml (limited to 'views/preferences.haml') diff --git a/views/preferences.haml b/views/preferences.haml new file mode 100644 index 0000000..c39c108 --- /dev/null +++ b/views/preferences.haml @@ -0,0 +1,24 @@ +!!! +%html + %head + %title #{@title}: My preferences (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"} + %script{:type => "text/javascript", :src => "/datadumper.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") + %h1 Not implemented yet + + -- cgit v1.2.1