-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
207 lines (190 loc) · 5.54 KB
/
index.html
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!doctype html>
<html lang='en-GB'>
<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Flash Me</title>
<link rel="stylesheet" href="css/bootstrap-flatly.css" />
<link rel="stylesheet" href="css/font-awesome.css"/>
<link rel="stylesheet" href="css/application.css"/>
</head>
<body>
<script type="text/x-handlebars">
<div class="mobile-container">
{{outlet}}
</div>
</script>
<script type="text/x-handlebars" id="index">
<div class="row status-bar">
<div class="col-sm-12 splash">
<img src="img/splash.png" alt="Flash Me"/>
</div>
</div>
<div class="row button-bar">
<div class="col-sm-6 col-less-right-padding">
{{#link-to 'signup'}}
<div class="btn btn-secondary full-width">Create Account</div>
{{/link-to}}
</div>
<div class="col-sm-6 col-less-left-padding">
{{#link-to 'signin'}}
<div href="#" class="btn btn-primary full-width">Sign In</div>
{{/link-to}}
</div>
</div>
</script>
<script type="text/x-handlebars" id="signup">
<div class="row status-bar">
<div class="col-sm-1 nav-bar-back">
{{#link-to 'index'}}
<i class="fa fa-angle-left"></i>
{{/link-to}}
</div>
<div class="col-sm-10 nav-bar">
Create Account
</div>
</div>
<div class="row">
<div class="col-sm-12 logo">
<img src="img/logo.png" alt="Flash Me"/>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<form class="centered-form">
<div class="form-group">
<label class="control-label" for="email">Email</label>
{{input
type="email"
class="form-control"
id="email"
placeholder="Email"
value=email}}
</div>
<div class="form-group">
<label class="control-label" for="password">Password</label>
{{input
type="password"
class="form-control"
id="password"
placeholder="Password"
value=password}}
</div>
<div class="form-group">
<label class="control-label" for="passwordConfirm">Confirm Password</label>
{{input
type="password"
class="form-control"
id="passwordConfirm"
placeholder="Confirm Password"
value=passwordConfirm}}
</div>
</form>
</div>
</div>
<div class="row button-bar">
<div class="col-sm-12">
<div {{action 'createAccount'}} class="btn btn-secondary full-width">Create Account</div>
</div>
</div>
</script>
<script type="text/x-handlebars" id="signin">
<div class="row status-bar">
<div class="col-sm-1 nav-bar-back">
{{#link-to 'index'}}
<i class="fa fa-angle-left"></i>
{{/link-to}}
</div>
<div class="col-sm-10 nav-bar">
Sign In
</div>
</div>
<div class="row">
<div class="col-sm-12 logo">
<img src="img/logo.png" alt="Flash Me"/>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<form class="centered-form">
<div class="form-group">
<label class="control-label" for="email">Email</label>
{{input
type="email"
class="form-control"
id="email"
placeholder="Email"
value=email}}
</div>
<div class="form-group">
<label class="control-label" for="password">Password</label>
{{input
type="password"
class="form-control"
id="password"
placeholder="Password"
value=password}}
</div>
</form>
</div>
</div>
<div class="row button-bar">
<div class="col-sm-12">
<div {{action 'signin'}} class="btn btn-secondary full-width">Sign In</div>
</div>
</div>
</script>
<script type="text/x-handlebars" id="home">
<div class="row status-bar blue-background">
<div class="col-sm-1 nav-bar-back">
{{#link-to 'index'}}
<i class="fa fa-angle-left"></i>
{{/link-to}}
</div>
<div class="col-sm-10 nav-bar">
HOME
</div>
{{#if noMoreWords}}
<div class="row full-area-height">
<div class="col-sm-12 text-center padded full-area-height">
<p class="full-area-message full-area-height">You have no more words to study.</p>
</div>
</div>
<div class="row">
<div class="col-sm-12">
{{#link-to 'getNewWords'}}
<div class="btn btn-primary full-width">Get New Words</div>
{{/link-to}}
</div>
</div>
{{else}}
<div class="row full-area-height">
<div class="col-sm-12 text-center padded full-area-height">
<p class="full-area-message full-area-height">You have words to study.</p>
</div>
</div>
<div class="row">
<div class="col-sm-12">
{{#link-to 'study'}}
<div class="btn btn-primary full-width">Study Words</div>
{{/link-to}}
</div>
</div>
{{/if}}
</div>
</script>
<script type="text/javascript" src="bower_components/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="js/lib/bootstrap.js"></script>
<script type="text/javascript" src="bower_components/handlebars/handlebars.js"></script>
<script type="text/javascript" src="bower_components/ember/ember.js"></script>
<script type="text/javascript" src="bower_components/ember-data/ember-data.js"></script>
<script type="text/javascript" src="bower_components/kii-cloud-sdk/KiiSDK.js"></script>
<script type="text/javascript" src="js/application.js"></script>
<script type="text/javascript" src="js/router.js"></script>
<script type="text/javascript" src="js/controllers/signup_controller.js"></script>
<script type="text/javascript" src="js/controllers/signin_controller.js"></script>
<script type="text/javascript" src="js/models/signup.js"></script>
<script type="text/javascript" src="js/models/signin.js"></script>
<script type="text/javascript" src="js/models/home.js"></script>
</body>
</html>