-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
214 lines (188 loc) · 8.91 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
<!--
- This page will contain:
- "Welcome" screen at the beginning, fading away after a few seconds, then
-
- then
-
- "Main" page:
- * login/signup button
- * wall of memories
- * button: leave your memory
-
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Udacity Wall</title>
<script src="https://use.fontawesome.com/76d00d553b.js"></script>
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto" type="text/css">
<link rel="stylesheet" href="./css/styles.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="./js/design.js"></script>
</head>
<body>
<!-- THIS IS THE WELCOME PAGE -->
<div class="welcome-gradient">
<div class="welcome-container">
<img src="images/u%20wall%202.svg" alt="Udacity Wall logo">
<div class="loader">
<div class="spinner">
<div class="bubble-1"></div>
<div class="bubble-2"></div>
</div>
</div>
</div>
</div>
<!-- END OF THE WELCOME PAGE -->
<!-- RESTOF PAGE -->
<!-- TODO: RENAME THE CLASS "REST-OF-PAGE" WITH RELEVANT NAME, DON'T FORGET RENAMING EVEN CSS AND JS -->
<div class="page-wrapper">
<!-- Page: Main -l->
<!-- Navbar -->
<nav class="nav-container">
<div class="hamburger-menu">
<a class="menu-toggle" href="#">
<i class="fa fa-bars fa-3x" aria-hidden="true"></i>
</a>
<div class="settings-opacity">
</div>
<div class="settings-panel">
<div class="menu-container">
<div class="menu-header">
<img class="logo-side" src="./images/u%20wall%202.svg" alt="Udacty logo in side menu">
<a class="menu-toggle" href="#">
<i class="fa fa-arrow-left fa-2x" aria-hidden="true"></i>
</a>
</div>
<ul class="menu-list" role="menu">
<li class="menu-option menu-write">
Write a memory
</li>
<li class="menu-option menu-mymemo">
My memories
</li>
</ul>
</div>
</div>
</div>
<a class="logo" href="./index.html"></a><img src="images/u%20wall%202.svg" alt="" class="logo">
<a class="navbar-page-link menu-write" href="#">
<p>Write a memory</p>
</a>
<a class="navbar-page-link menu-mymemo" href="#">
<p>My memories</p>
</a>
<!-- login/register forms -->
<div class="login-signup-form">
<!-- Login button -->
<button class="btn" id="form-opening">Join now!</button>
<button class="btn" id="logout">Logout</button>
<!-- Modal (Register & Login forms) -->
<div class="modal-bg">
<div class="modal-box zoom-in">
<div class="img-box">
<span class="close" title="Close">×</span>
<img alt="placeholder" class="img-placeholder" src="./images/placeholder.png">
</div>
<div class="tabs-box">
<button class="tab current" id="login-btn">Login</button>
<!-- DON'T REMOVE! THIS COMMENT REMOVES
WHITE SPACE BETWEEN INLINE BUTTONS --><button class="tab" id="register-btn">Register</button>
</div>
<div class="container">
<form id="login">
<label class="lf-text"><strong>Username</strong></label>
<br>
<input type="text" placeholder="Enter your username">
<br>
<label class="lf-text"><strong>Password</strong></label>
<br>
<input type="password" placeholder="Enter your password">
<br>
<label class="lf-text"><input type="checkbox" checked="checked"> Remember me</label>
<br><br>
<input class="btn" type="submit" value="Login">
<br><br>
<span class="lf-text">Forgot your <a href="#">password</a>?</span>
</form>
<form style="display: none;" id="register">
<label class="lf-text"><strong>Username</strong></label>
<br>
<input type="text" placeholder="Enter your username">
<br>
<label class="lf-text"><strong>Password</strong></label>
<br>
<input type="password" placeholder="Enter your password">
<br>
<label class="lf-text"><strong>Confirm password</strong></label>
<br>
<input type="password" placeholder="Enter again your password">
<br>
<label class="lf-text"><strong>E-mail</strong></label>
<br>
<input type="email" placeholder="Enter your e-mail">
<br><br>
<input class="btn" type="submit" value="Register">
</form>
</div>
</div>
</div>
</div>
<!-- end of login/register forms -->
</nav>
<!-- End of navbar -->
<!-- REST OF THE PAGE -->
<!-- HOMEPAGE -->
<div class="main-container">
<picture class="udacity-book-container">
<source media="(min-width: 650px)" srcset="./images/Udacity-book-medium.png">
<img src="./images/Udacity-book-small.png" alt="Udacity book" />
</picture>
<div class="wall-wrapper">
<div class="wall"></div>
<div class="btn-arrow-container">
<button class="btn-arrow"><p class="arrow left"></p></button>
<button class="btn-arrow"><p class="arrow right"></p></button>
</div>
</div>
</div>
<!-- WRITE YOUR MESSAGE -->
<div class="book-container message-container">
<div class="book">
<textarea id="message" name="message" form="write-message" rows="10" cols="24" maxlength="150" minlength="1" required>Enter Message Here...</textarea>
</div>
<form id="write-message">
<button class="message-button msg-cancel"><p>Cancel</p></button>
<button class="message-button msg-submit"><p>Submit</p></button>
</form>
</div>
<!-- MY MEMORIES -->
<div class="book-container all-container">
<div class="book my-memo-book">
<form id="checklist-messages">
<!-- TODO these checkboxes have to be deleted and to be created with jQuery according to user data -->
<div class="entry">
<input type="radio" id="usernr-messagenr-01" name="usernr-messagenr-01" class="chklist-chkbox">
<label for="usernr-messagenr-01" class="chklist-label 01">First 5 words...</label>
</div>
<div class="entry">
<input type="radio" id="usernr-messagenr-02" name="usernr-messagenr-02" class="chklist-chkbox">
<label for="usernr-messagenr-02" class="chklist-label 02">First 5 words...</label>
</div>
<div class="entry">
<input type="radio" id="usernr-messagenr-03" name="usernr-messagenr-03" class="chklist-chkbox">
<label for="usernr-messagenr-03" class="chklist-label 03">First 5 words...</label>
</div>
</form>
</div>
<form id="manage-message">
<button class="message-button msg-delete">Delete</button>
<button class="message-button msg-edit">Edit</button>
</form>
</div>
<!-- END OF MY MEMORIES -->
</div>
</body>
</html>