-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
246 lines (183 loc) · 8.96 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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">
<link rel="stylesheet" href="app/assets/css/material.min.css">
<script src="app/assets/js/material.min.js"></script>
<script src="app/assets/js/jquery-3.3.1.min.js"></script>
<link rel="stylesheet" href="app/assets/css/icon.css">
<title>moveNSW</title>
<style>
#app
{
display:none;
}
.page-content
{
text-align:center;
width:100%;
max-width:600px;
margin: 20px auto;
}
.demo-ribbon {
width: 100%;
height: 40vh;
background-color: #3F51B5;
-webkit-flex-shrink: 0;
-ms-flex-negative: 0;
flex-shrink: 0;
}
.demo-main {
margin-top: -35vh;
-webkit-flex-shrink: 0;
-ms-flex-negative: 0;
flex-shrink: 0;
}
.demo-header .mdl-layout__header-row {
padding-left: 40px;
}
.demo-container {
max-width: 1600px;
width: calc(100% - 16px);
margin: 0 auto;
}
.demo-content {
border-radius: 2px;
padding: 80px 56px;
margin-bottom: 80px;
}
.demo-layout.is-small-screen .demo-content {
padding: 40px 28px;
}
.demo-content h3 {
margin-top: 48px;
}
.demo-footer {
padding-left: 40px;
}
.demo-footer .mdl-mini-footer--link-list a {
font-size: 13px;
}
</style>
</head>
<body>
<div id="loading" style="display:none; position:absolute; z-index:999; width:100%; height:100vh; background:rgba(0,0,0,0.7); color:#fff; text-align:center;">
<div style="margin-top:40vh;" class="mdl-spinner mdl-js-spinner is-active"></div>
<p>Loading</p>
</div>
<div id="auth" class="demo-layout mdl-layout mdl-layout--fixed-header mdl-js-layout mdl-color--grey-100">
<div class="demo-ribbon"></div>
<main class="demo-main mdl-layout__content">
<div class="demo-container mdl-grid">
<div class="mdl-cell mdl-cell--2-col mdl-cell--hide-tablet mdl-cell--hide-phone"></div>
<div class="demo-content mdl-color--white mdl-shadow--4dp content mdl-color-text--grey-800 mdl-cell mdl-cell--8-col">
<!--<div class="demo-crumbs mdl-color-text--grey-500">
Welcome to moveNSW. Sign in or sign up
</div>-->
<div style="width:100%;text-align:center;">
<img src="app/assets/img/icon.png" style="width:20%;max-width:256px;margin-top:-32px;"/>
</div>
<div class="mdl-tabs mdl-js-tabs mdl-js-ripple-effect">
<div class="mdl-tabs__tab-bar">
<a href="#signin-panel" class="mdl-tabs__tab is-active">Sign In</a>
<a href="#signup-panel" class="mdl-tabs__tab">Sign Up</a>
</div>
<p id="auth-error" style="color: #ff4081; font-weight: 500; color: #ff4081; font-weight: bold; text-align: center; margin-top: 20px;"></p>
<div class="mdl-tabs__panel is-active" id="signin-panel">
<h3>Login</h3>
<!-- Textfield with Floating Label -->
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" id="auth-signin-email">
<label class="mdl-textfield__label" for="auth-signin-email">Email</label>
</div>
<br/>
<!-- Textfield with Floating Label -->
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="password" id="auth-signin-password">
<label class="mdl-textfield__label" for="auth-signin-password">Password</label>
</div>
<br/>
<!-- Accent-colored raised button with ripple -->
<button id="auth-signin-button" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored">
Sign In
</button>
</div>
<div class="mdl-tabs__panel" id="signup-panel">
<h3>Create a Free Account</h3>
<!-- Textfield with Floating Label -->
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" id="auth-signup-name">
<label class="mdl-textfield__label" for="auth-signup-name">Name</label>
</div>
<br/>
<!-- Textfield with Floating Label -->
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" id="auth-signup-email">
<label class="mdl-textfield__label" for="auth-signup-email">Email</label>
</div>
<br/>
<!-- Textfield with Floating Label -->
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="password" id="auth-signup-password">
<label class="mdl-textfield__label" for="auth-signup-password">Password</label>
</div>
<br/>
<!-- Textfield with Floating Label -->
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="password" id="auth-signup-confirm">
<label class="mdl-textfield__label" for="auth-signup-confirm">Confirm Password</label>
</div>
<br/>
<!-- Accent-colored raised button with ripple -->
<button id="auth-signup-button" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored">
Sign Up
</button>
</div>
</div>
</div>
</div>
</main>
</div>
<!-- Always shows a header, even in smaller screens. -->
<div id="app" class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<!-- Title -->
<span id="title-txt" class="mdl-layout-title">Move NSW</span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<a id="title-name" class="mdl-navigation__link" ></a>
<button id="demo-menu-lower-right" class="mdl-button mdl-js-button mdl-button--icon">
<i class="material-icons">more_vert</i>
</button>
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="demo-menu-lower-right">
<a id="auth-signout-button"><li class="mdl-menu__item">Sign out</li></a>
</ul>
</div>
</header>
<div class="mdl-layout__drawer">
<span id="drawer-title-txt" class="mdl-layout-title">Move NSW</span>
<nav class="mdl-navigation">
<span onclick="closeDraw();changePage('page-trips')" class="mdl-navigation__link" >Trips</span>
<span onclick="closeDraw();changePage('page-account')" class="mdl-navigation__link" >Account</span>
</nav>
</div>
<main class="mdl-layout__content" style="width:100%">
<div class="page-content">
<!-- Your content goes here -->
<div class="mdl-layout__tab-panel is-active" id="page-trips">
<section class="section--center mdl-grid mdl-grid--no-spacing">
Trips
</section>
</div>
<div class="mdl-layout__tab-panel" id="page-account">
<section class="section--center mdl-grid mdl-grid--no-spacing">
Account
</section>
</div>
</div>
</main>
</div>
<script src="app/app.js"></script>
</body>
</html>