aboutsummaryrefslogtreecommitdiff
path: root/views/login.haml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-06-16 16:09:08 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-06-16 16:09:08 +0100
commit4ca1b2c8db777cd1e389a227072b1cd108e23d05 (patch)
tree20c3b89ae8dfbe839f1ab73334ff409e306a4fa5 /views/login.haml
parent0b553879d0606b3f24047302e8958f9610341f2b (diff)
Updated web interface to use a Sinatra layout.
Diffstat (limited to 'views/login.haml')
-rw-r--r--views/login.haml28
1 files changed, 11 insertions, 17 deletions
diff --git a/views/login.haml b/views/login.haml
index 06e5320..3deee76 100644
--- a/views/login.haml
+++ b/views/login.haml
@@ -1,17 +1,11 @@
-!!! 5
-%html
- =partial("head")
- %body
- = partial('navbar')
- .container
- %form{:action => '/login', :method => :POST}
- %fieldset
- %legend Please log in
- %label{:for => "username"} Username
- %input{:name => 'username', :type => 'text', :autocorrect => "off", :autocapitalize => "off"}/
- %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'}/
+%form{:action => '/login', :method => :POST}
+ %fieldset
+ %legend Please log in
+ %label{:for => "username"} Username
+ %input{:name => 'username', :type => 'text', :autocorrect => "off", :autocapitalize => "off"}/
+ %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'}/