aboutsummaryrefslogtreecommitdiff
path: root/views/login.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-06-09 18:09:52 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-06-09 18:09:52 +0100
commit495c44445642cfae8f23fadde299ad5307f5be58 (patch)
tree0104c9eef164235aa5ab05b126c8f63e52fb8624 /views/login.haml
parent0c88fcc91db1b003cd5d5311f62700c7867b4099 (diff)
Big commit
--HG-- rename : views/please_authenticate.haml => views/login.haml
Diffstat (limited to 'views/login.haml')
-rw-r--r--views/login.haml27
1 files changed, 27 insertions, 0 deletions
diff --git a/views/login.haml b/views/login.haml
new file mode 100644
index 0000000..225c2e8
--- /dev/null
+++ b/views/login.haml
@@ -0,0 +1,27 @@
+!!! XML
+!!!
+%html
+ %head
+ %meta{:name=>"viewport", :content=>"width=device-width"}/
+ %title #{@title}: Authentication required
+ %link{:rel => "stylesheet", :href => "/stylesheets/bytemark.css"}/
+ %link{:rel => "stylesheet", :href => "/stylesheets/mauve.css"}/
+ %script{:src => 'javascript/jquery/jquery.js', :type => 'text/javascript'}
+ %body
+ = partial('navbar')
+ %h1 Mauve Alerts
+ - if flash['error']
+ %p.error= flash['error']
+ %form{:action => '/login', :method => :POST}
+ %fieldset
+ %legend Please log in
+ %label{:for => "username"} Username
+ %input{:name => 'username', :type => 'text'}/
+ %br
+ %label{:for => "password", :title => "This is either your Single Sign On password or a PIN."} Password / PIN
+ %input{:name => 'password', :type => 'password'}/
+ %br
+ %input{:type => 'hidden', :name => 'next_page', :value => @next_page}/
+ %input{:type => 'submit', :value => 'Log in'}/
+
+