-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.haml
28 lines (22 loc) · 1.33 KB
/
login.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
!!! 5
%html
%head
%meta{:name => "viewport", :content => "width=device-width, initial-scale=1"}
%title PhoneGap
%script{:type => "text/javascript", :src => "libs/cordova-1.5.0.js"}
%script{:type => "text/javascript", :src => "libs/jquery-1.6.4.min.js"}
%script{:type => "text/javascript", :src => "libs/jquery.mobile-1.0.1.min.js"}
%script{:type => "text/javascript", :src => "js/sync.js"}
%script{:type => "text/javascript", :src => "js/auth.js"}
%link{:rel => "stylesheet", :href => "libs/jquery.mobile-1.0.1.min.css"}
%link{:rel => "stylesheet", :href => "css/grid.css"}
%body
%div#login-page(data-role="page")
%div(data-role="header")
%a(href="index.html" data-icon="back" data-role="button" data-theme="a" data-mini="false") Back
%h1 Login
%a(href="javascript:location.reload();" data-icon="refresh" data-role="button" data-theme="a" data-mini="false") Refresh
%div(data-role="content" data-theme="a")
%input#user{:type => 'text', :name => 'username', :placeholder => 'Enter your username', :value => 'timothyandrew'}
%input#pass{:type => 'password', :name => 'password', :placeholder => 'And password', :value => 'mfalcon'}
%a#login-button(href="javascript:new Sync().login();" data-role="button" data-theme="b") Login/Register