-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate_account.html
224 lines (188 loc) · 12 KB
/
create_account.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
<!-- Uses a transparent header that draws on top of the layout's background -->
<html>
<head>
<title> Create Account </title>
<!-- Responsive Design - Media Queries-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<!-- Styling -->
<link rel="stylesheet" href="style/main.css">
<link rel="stylesheet" href="style/profile.css">
<link rel="stylesheet" href="style/comments.css">
<!-- Material Design Lite -->
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<!-- font -->
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Libre+Franklin:900" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Karma|Libre+Baskerville|Merriweather|Mukta+Malar|Roboto+Slab" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en">
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Libre+Franklin:900" rel="stylesheet">
<!-- DEVELOPMENT CODE - Auto Reloading -->
<script src='http://127.0.0.1:9001/js/socket.js'></script>
</head>
<body>
<div class="mdl-layout mdl-js-layout">
<header class="header mdl-layout__header mdl-layout--fixed-header mdl-layout__header-row">
<!-- Title -->
<a class="mdl-navigation__link" href="index.html">
<span class="title mdl-layout-title">CONSTRUCTIVE DISCUSSIONS</span>
</a>
<!-- To align search and profile to right -->
<div class="mdl-layout-spacer"></div>
<!-- Expandable Search Bar -->
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable" id="search-icon">
<label class="mdl-button mdl-js-button mdl-button--icon" for="search">
<i class="material-icons">search</i>
</label>
<div class="mdl-textfield__expandable-holder">
<input class="mdl-textfield__input" type="text" id="search">
<label class="mdl-textfield__label" for="search">Enter your query...</label>
</div>
</div>
<!-- Profile Icon -->
<a class="mdl-navigation__link" id = "header-profile-icon" href="">
<i class="material-icons" style="font-size: 24pt; color: white;" >person</i>
</a>
<!-- Login button -->
<button id='header-login-button' class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-button--accent login">
log in
</button>
<!-- Logout button -->
<button id='header-logout-button' class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-button--accent login">
log out
</button>
<div id="login-dialogue_overlay" class="overlay">
<!-- Login Dialogue Box -->
<div id="login-dialogue_box" class="mdl-card mdl-grid mdl-shadow--2dp">
<div class="login-text mdl-cell mdl-cell--12-col mdl-card__subtitle-text mdl-card--expand">
Login:
</div>
<!-- Username -->
<div class="login-text mdl-cell mdl-cell--12-col mdl-card__title mdl-card--expand">
<form action="#" onSubmit="return false" st>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" id="loginuser">
<label class="mdl-textfield__label" for="loginuser">Username</label>
</div>
</form>
</div>
<!-- Password -->
<div class="login-text mdl-cell mdl-cell--12-col mdl-card__title mdl-card--expand">
<form action="#" onSubmit="return false">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="password" id="sample3">
<label class="mdl-textfield__label" for="sample3">Password</label>
</div>
</form>
</div>
<!-- Create Account -->
<div class="login-text mdl-cell mdl-cell--12-col">
<a id="create-account-link" href="create_account.html">Or Create an Account</a>
</div>
<!-- Login Button -->
<button id='login_form_submit_button' class="mdl-cell mdl-cell--4-col mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-button--accent login">
log in
</button>
<!-- Cancel Button -->
<button id='logincancel' class="mdl-cell mdl-cell--4-col mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-button--accent login">
cancel
</button>
</div>
</div>
</header> <!-- Closes Header Row -->
<main class="mdl-layout__content">
<div class = "FontMalarText profile_wrapper">
<div class="demo-card-square mdl-card mdl-shadow--2dp">
<div class="mdl-card__title mdl-card--expand" id="profile_background">
</div>
<div class="mdl-card__supporting-text"></div>
<div class="mdl-card__actions">
<a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
Change Avatar
</a>
</div>
</div>
</div>
<div class = "right_wrapper">
<div class = "form_wrapper">
<h3> Create New Account </h3>
<form action="#">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" id="sample3">
<label class="mdl-textfield__label" for="sample3">Name</label>
</div>
</form>
<div class="mdl-grid df-wrapper">
<form class="datefield-label">
<div class="mdl-textfield">
<label class="mdl-textfield__label" for="sample1">Born on</label>
</div>
</form>
<!-- Numeric Textfield with Floating Label -->
<form action="#" class="datefield-day">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?" id="sample4">
<label class="mdl-textfield__label" for="sample4">Day</label>
<span class="mdl-textfield__error">Input is not a number!</span>
</div>
</form>
<form action="#" class="datefield-month">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" id="sample3">
<label class="mdl-textfield__label" for="sample3">Month</label>
</div>
</form>
<!-- Numeric Textfield with Floating Label -->
<form action="#" class="datefield-year">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?" id="sample4">
<label class="mdl-textfield__label" for="sample4">Year</label>
<span class="mdl-textfield__error">Input is not a number!</span>
</div>
</form>
</div>
<form action="#">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" id="sample3">
<label class="mdl-textfield__label" for="sample3">Hometown</label>
</div>
</form>
<form action="#">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="email" id="sample3">
<label class="mdl-textfield__label" for="sample3">E-mail</label>
<span class="mdl-textfield__error">Input is not a valid E-mail address!</span>
</div>
</form>
<form action="#">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" id="sample3">
<label class="mdl-textfield__label" for="sample3">Username</label>
</div>
</form>
<form action="#">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="password" id="sample3">
<label class="mdl-textfield__label" for="sample3">Password</label>
</div>
</form>
<form action="#">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="password" id="sample3">
<label class="mdl-textfield__label" for="sample3">Retype Password</label>
</div>
</form>
<div class="df-submit_wrapper">
<!-- Accent-colored raised button with ripple -->
<button id="create-profile-submit-button" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent df-submit">
Submit
</button>
</div>
</div>
</div>
</main>
</div>
<script src="https://code.getmdl.io/1.3.0/material.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="js/login.js"></script>
</body>
</html>