-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
249 lines (245 loc) · 15.1 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
247
248
249
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Web App Dashboard</title>
<link rel="stylesheet" href="css/normalize.css">
<link href="https://fonts.googleapis.com/css?family=Work+Sans:300,400,700" rel="stylesheet">
<link rel="stylesheet" href="css/toggle-switch.css">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<header>
<div class="logo"><span class="heavy">Your</span><span class="light">App</span>™</div>
<div class="bell-container">
<svg class="bell" xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 32 32">
<path d="M24 18v-8c0-5.5-4.5-10-10-10S4 4.5 4 10v8l-4 8h9.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H28l-4-8zM14 28c-1.3 0-2.4-.8-2.8-2h5.6c-.4 1.2-1.5 2-2.8 2zM3 24l3-6v-8c0-4.4 3.6-8 8-8s8 3.6 8 8v8l3 6H3z" fill="#fff"/>
</svg>
<span class="new"></span>
</div>
<a href="#settings">
<img class="avatar" src="images/member-0.jpg" alt="avatar">
</a>
<p class="username">
<a href="#settings">Jane Doe</a>
</p>
</header>
<div class="wrapper">
<nav>
<div class="mobile-nav" onclick="toggleNav()">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
<ul class="main-nav">
<li class="active">
<a href="#dashboard">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 32 32">
<path class="nav-icon" d="M25 18c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm-1-4h2v2h-2v-2zm1 12c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm-1-4h2v2h-2v-2zm-7 4c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm-1-4h2v2h-2v-2zM28 0H6C3.8 0 2 1.8 2 4v24c0 2.2 1.8 4 4 4h22c2.2 0 4-1.8 4-4V4c0-2.2-1.8-4-4-4zm2 28c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V8h26v20zm0-22H4V4c0-1.1.9-2 2-2h22c1.1 0 2 .9 2 2v2zM17 18c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm-1-4h2v2h-2v-2zM9 26c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm-1-4h2v2H8v-2zm1-4c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm-1-4h2v2H8v-2z" fill="#fff"/>
</svg>
</a>
</li>
<li>
<a href="#members">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 32 32">
<path class="nav-icon" d="M18 16.4c1.3-1.7 2-3.9 2-6.4 0-5.5-4-10-9-10S2 4.5 2 10c0 2.4.8 4.6 2 6.4-2.3.8-4 3-4 5.6v4c0 3.3 2.7 6 6 6h10c3.3 0 6-2.7 6-6v-4c0-2.6-1.7-4.8-4-5.6zM4 10c0-4.4 3.1-8 7-8s7 3.6 7 8-3.1 8-7 8-7-3.6-7-8zm16 15.5c0 2.5-2.2 4.5-4.9 4.5H6.9C4.2 30 2 28 2 25.5v-3c0-2.1 1.6-3.9 3.8-4.4C7.2 19.3 9 20 11 20s3.8-.7 5.2-1.9c2.2.5 3.8 2.2 3.8 4.4v3zM23 8h8c.6 0 1-.4 1-1s-.4-1-1-1h-8c-.6 0-1 .4-1 1s.4 1 1 1zm8 16h-6c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.4-1-1-1zm0-12h-8c-.6 0-1 .4-1 1s.4 1 1 1h8c.6 0 1-.4 1-1s-.4-1-1-1zm0 6h-6c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.4-1-1-1z" fill="#fff"/>
</svg>
</a>
</li>
<li>
<a href="#visits">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 32 32">
<path class="nav-icon" d="M14 0h-2c-1.1 0-2 .9-2 2v28c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 29c0 .6-.4 1-1 1s-1-.4-1-1V3c0-.6.4-1 1-1s1 .4 1 1v26zM4 9H2c-1.1 0-2 .9-2 2v19c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2V11c0-1.1-.9-2-2-2zm0 20c0 .6-.4 1-1 1s-1-.4-1-1V12c0-.6.4-1 1-1s1 .4 1 1v17zm20-13h-2c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2V18c0-1.1-.9-2-2-2zm0 13c0 .6-.4 1-1 1s-1-.4-1-1V19c0-.6.4-1 1-1s1 .4 1 1v10z" fill="#fff"/>
</svg>
</a>
</li>
<li>
<a href="#settings">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 32 32">
<path class="nav-icon" d="M26 24H14.9c-.4-1.7-2-3-3.9-3s-3.4 1.3-3.9 3H6c-.6 0-1 .4-1 1s.4 1 1 1h1.1c.4 1.7 2 3 3.9 3s3.4-1.3 3.9-3H26c.6 0 1-.4 1-1s-.4-1-1-1zm-15 3.4c-1.3 0-2.4-1.1-2.4-2.4 0-1.3 1.1-2.4 2.4-2.4 1.3 0 2.4 1.1 2.4 2.4 0 1.3-1.1 2.4-2.4 2.4zM26 8H14.9c-.4-1.7-2-3-3.9-3S7.6 6.3 7.1 8H6c-.6 0-1 .4-1 1s.4 1 1 1h1.1c.4 1.7 2 3 3.9 3s3.4-1.3 3.9-3H26c.6 0 1-.4 1-1s-.4-1-1-1zm-15 3.4c-1.3 0-2.4-1.1-2.4-2.4 0-1.3 1.1-2.4 2.4-2.4 1.3 0 2.4 1.1 2.4 2.4 0 1.3-1.1 2.4-2.4 2.4zM26 16h-2.1c-.4-1.7-2-3-3.9-3s-3.4 1.3-3.9 3H6c-.6 0-1 .4-1 1s.4 1 1 1h10.1c.4 1.7 2 3 3.9 3s3.4-1.3 3.9-3H26c.6 0 1-.4 1-1s-.4-1-1-1zm-6 3.4c-1.3 0-2.4-1.1-2.4-2.4 0-1.3 1.1-2.4 2.4-2.4 1.3 0 2.4 1.1 2.4 2.4 0 1.3-1.1 2.4-2.4 2.4zM28 0H4C1.8 0 0 1.8 0 4v24c0 2.2 1.8 4 4 4h24c2.2 0 4-1.8 4-4V4c0-2.2-1.8-4-4-4zm2 28c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h24c1.1 0 2 .9 2 2v24z" fill="#fff"/>
</svg>
</a>
</li>
</ul>
</nav>
<main class="container">
<div class="row">
<input class="search" type="search" name="search" placeholder="Search...">
<h1 id="dashboard">Dashboard</h1>
<div class="alert">
<p class="alert__msg">
<span>ALERT</span> You have a new notification! Click on the bell to see. <span class="close">×</span>
</p>
</div>
<div class="traffic">
<h2>Traffic</h2>
<div class="chart-container" style="position: relative; max-height:45vh; max-width:80vw">
<canvas id="lineChart"></canvas>
</div>
</div>
</div>
<div class="row clearfix">
<div class="daily col-6">
<h2>Daily Traffic</h2>
<div class="chart-container" style="position: relative; max-height:40vh; max-width:80vw">
<canvas id="barChart"></canvas>
</div>
</div>
<div class="mobile col-6">
<h2>Mobile Users</h2>
<div class="chart-container" style="position: relative; max-height:40vh; max-width:80vw">
<canvas id="doughnutChart"></canvas>
</div>
</div>
</div>
<div id="visits" class="row clearfix">
<h2>Social Stats</h2>
<div class="social col-4">
<svg class="icon-container" xmlns="http://www.w3.org/2000/svg" width="75" height="75" viewBox="-22.5 -25 75 75">
<path class="social-icon" d="M32 3.1c-1.2.5-2.4.9-3.8 1 1.4-.8 2.4-2.1 2.9-3.6-1.3.8-2.7 1.3-4.2 1.6C25.8.8 24 0 22.2 0c-3.6 0-6.6 2.9-6.6 6.6 0 .5.1 1 .2 1.5-5.5-.3-10.3-2.9-13.6-6.9-.6 1-.9 2.1-.9 3.3 0 2.3 1.2 4.3 2.9 5.5-1.1 0-2.1-.3-3-.8v.1c0 3.2 2.3 5.8 5.3 6.4-.6.1-1.1.2-1.7.2-.4 0-.8 0-1.2-.1.8 2.6 3.3 4.5 6.1 4.6-2.2 1.8-5.1 2.8-8.2 2.8-.5 0-1.1 0-1.6-.1 2.9 1.9 6.4 3 10.1 3 12.1 0 18.7-10 18.7-18.7v-.8c1.3-1 2.4-2.2 3.3-3.5z"/>
</svg>
<div class="social-text">
<h3 class="social-heading">Twitter</h3>
<p class="large">10,345</p>
</div>
</div>
<div class="social col-4">
<svg class="icon-container" xmlns="http://www.w3.org/2000/svg" width="75" height="75" viewBox="-20 -20 100 100">
<path class="social-icon" d="M40.43 21.739h-7.645v-5.014c0-1.883 1.248-2.322 2.127-2.322h5.395V6.125l-7.43-.029c-8.248 0-10.125 6.174-10.125 10.125v5.518h-4.77v8.53h4.77v24.137h10.033V30.269h6.77l.875-8.53z"/>
</svg>
<div class="social-text">
<h3 class="social-heading">Facebook</h3>
<p class="large">8,739</p>
</div>
</div>
<div class="social col-4">
<svg class="icon-container" xmlns="http://www.w3.org/2000/svg" width="75" height="75" viewBox="-22.5 -25 75 75">
<path class="social-icon" d="M17.7 25.7c0-.3 0-.5-.1-.8-.1-.2-.1-.5-.2-.7-.1-.2-.2-.4-.3-.7-.2-.2-.3-.4-.4-.6-.1-.2-.3-.3-.5-.6l-.5-.5c-.1-.1-.3-.3-.6-.5s-.5-.4-.6-.4-.3-.2-.6-.4-.5-.4-.6-.4h-1c-.7 0-1.4 0-2 .1-.7.1-1.4.2-2.1.5-.7.2-1.3.5-1.9.9s-1 .8-1.3 1.4c-.3.6-.5 1.3-.5 2.1 0 .9.2 1.7.7 2.3.5.7 1.1 1.2 1.8 1.6s1.5.7 2.3.9 1.6.3 2.4.3c.8 0 1.5-.1 2.2-.2.7-.2 1.3-.4 1.9-.8.6-.3 1.1-.8 1.4-1.4.3-.6.5-1.3.5-2.1zM15.4 9.1c0-.8-.1-1.6-.3-2.5-.2-.9-.5-1.7-.9-2.5s-.9-1.5-1.6-2c-.7-.5-1.5-.8-2.3-.8-1.2 0-2.1.4-2.8 1.3-.7.9-1 1.9-1 3.2 0 .6.1 1.2.2 1.9s.4 1.3.7 2c.3.7.7 1.3 1.1 1.8.4.5.9 1 1.5 1.3.6.3 1.2.5 1.9.5 1.2 0 2.1-.4 2.7-1.2.5-.7.8-1.7.8-3zM12.9 0h8.4l-2.6 1.5h-2.6c.9.6 1.6 1.4 2.1 2.4S19 6 19 7.1c0 .9-.1 1.8-.4 2.5-.3.7-.7 1.3-1.1 1.8-.4.4-.8.9-1.3 1.2-.4.4-.8.8-1.1 1.2-.3.4-.4.8-.4 1.3 0 .3.1.7.3 1 .2.3.5.6.8.9.3.3.7.6 1.1.9.4.3.8.7 1.2 1.1.4.4.8.8 1.1 1.3.3.5.6 1 .8 1.6.2.6.3 1.3.3 2 0 2.1-.9 3.9-2.7 5.4-1.9 1.7-4.6 2.5-8.1 2.5-.8 0-1.5-.1-2.3-.2-.8-.1-1.6-.3-2.3-.6-.8-.3-1.5-.7-2.1-1.1-.6-.4-1.1-1-1.5-1.7C1 27.6.8 26.9.8 26c0-.8.2-1.6.7-2.6.4-.8 1-1.5 1.8-2.1.8-.6 1.8-1.1 2.8-1.4 1-.3 2-.5 3-.7.9-.1 1.9-.2 2.9-.3-.8-1.1-1.2-2-1.2-2.9v-.5c0-.1.1-.3.1-.4 0-.1.1-.2.2-.4s.1-.3.1-.4c-.5.1-1 .1-1.3.1-1.9 0-3.5-.6-4.9-1.9-1.4-1.3-2-2.8-2-4.7C3 6 3.6 4.4 4.8 3 6 1.7 7.5.8 9.3.4c1.2-.3 2.4-.4 3.6-.4zm19.9 4.9v2.5h-4.9v4.9h-2.5V7.4h-4.9V4.9h4.9V0h2.5v4.9h4.9z"/>
</svg>
<div class="social-text">
<h3 class="social-heading">Google+</h3>
<p class="large">2,530</p>
</div>
</div>
</div>
<div class="row clearfix">
<div id="members" class="col-6">
<h2>New Members</h2>
<div class="member">
<img class="thumb" src="images/member-1.jpg" alt="avatar">
<p>Victoria Chambers</p>
<p><a class="user__email" href="mailto:victoria.chambers@example.com">victoria.chambers@example.com</a></p>
<time class="timestamp" datetime="2018-08-01">08/01/18</time>
</div>
<div class="member">
<img class="thumb" src="images/member-2.jpg" alt="avatar">
<p>Dale Byrd</p>
<p><a class="user__email" href="mailto:dale.byrd@example.com">dale.byrd@example.com</a></p>
<time class="timestamp" datetime="2018-08-01">08/01/18</time>
</div>
<div class="member">
<img class="thumb" src="images/member-3.jpg" alt="avatar">
<p>Dawn Wood</p>
<p><a class="user__email" href="mailto:dawn.wood@example.com">dawn.wood@example.com</a></p>
<time class="timestamp" datetime="2018-07-31">07/31/18</time>
</div>
<div class="member">
<img class="thumb" src="images/member-4.jpg" alt="avatar">
<p>Dan Oliver</p>
<p><a class="user__email" href="mailto:dan.oliver@example.com">dan.oliver@example.com</a></p>
<time class="timestamp" datetime="2018-07-31">07/31/18</time>
</div>
</div>
<div class="activity col-6">
<h2>Recent Activity</h2>
<div class="post">
<img class="thumb" src="images/member-1.jpg" alt="avatar">
<p><span class="user__name">Victoria Chambers</span> commented on YourApp's SEO Tips</p>
<p class="last-seen">4 hours ago</p>
<span class="more">></span>
</div>
<div class="post">
<img class="thumb" src="images/member-2.jpg" alt="avatar">
<p><span class="user__name">Dale Byrd</span> liked the post Facebook's Changes for 2018</p>
<p class="last-seen">5 hours ago</p>
<span class="more">></span>
</div>
<div class="post">
<img class="thumb" src="images/member-3.jpg" alt="avatar">
<p><span class="user__name">Dawn Wood</span> commented on Facebook's Changes for 2018</p>
<p class="last-seen">5 hours ago</p>
<span class="more">></span>
</div>
<div class="post">
<img class="thumb" src="images/member-4.jpg" alt="avatar">
<p><span class="user__name">Dan Oliver</span> posted YourApp's SEO Tips</p>
<p class="last-seen">1 day ago</p>
<span class="more">></span>
</div>
</div>
</div>
<div class="row clearfix">
<div class="contact col-6">
<h2>Message User</h2>
<form action="#" class="contact-form" method="post" autocomplete="off">
<div class="search-container">
<select name="select-user" id="select-user" class="user-search">
<option value="" selected disabled>Select a user...</option>
<option value="Victoria Chambers">Victoria Chambers</option>
<option value="Dale Byrd">Dale Byrd</option>
<option value="Dawn Wood">Dawn Wood</option>
<option value="Dan Oliver">Dan Oliver</option>
</select>
</div>
<textarea class="user-message" name="message" rows="8" cols="20" placeholder="Message for user"></textarea>
<button id="message-user" class="btn btn--default" type="submit" name="button">Send</button>
</form>
</div>
<div id="settings" class="col-6">
<h2>Settings</h2>
<form action="#" method="post" class="profile-settings">
<label for="email-settings" class="switch-light switch-ios" onclick="">
<input type="checkbox" id="email-settings">
<strong>
Send Email Notifications
</strong>
<span>
<span>Off</span>
<span>On</span>
<a></a>
</span>
</label>
<label for="profile-status" class="switch-light switch-ios" onclick="">
<input id="profile-status" type="checkbox">
<strong>
Set Profile to Public
</strong>
<span>
<span>Off</span>
<span>On</span>
<a></a>
</span>
</label>
<select class="timezone" name="timezone" required oninvalid="this.setCustomValidity('Please select a timezone to save your changes!')" oninput="this.setCustomValidity('')">
<option value="" selected disabled>Select your timezone</option>
<option value="eastern">Eastern</option>
<option value="central">Central</option>
<option value="mountain">Mountain</option>
<option value="arizona">Arizona</option>
<option value="pacific">Pacific</option>
</select>
<button class="btn btn--default save" type="submit" name="save">Save</button>
<button class="btn btn--cancel reset" type="reset" name="button">Cancel</button>
</form>
</div>
</div>
</main>
</div><!-- .wrapper -->
<footer class="footer"></footer>
<!-- Chart.js library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js" integrity="sha256-CfcERD4Ov4+lKbWbYqXD6aFM9M51gN4GUEtDhkWABMo=" crossorigin="anonymous"></script>
<script src="js/charts.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>