-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
310 lines (299 loc) · 11.6 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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Admin Area | Dashboard</title>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/style.css" rel="stylesheet">
<script src="https://cdn.ckeditor.com/4.7.0/standard/ckeditor.js"></script>
</head>
<body>
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false"
aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">AdminStrap</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">Dashboard</a></li>
<li><a href="pages.html">Pages</a></li>
<li><a href="posts.html">Posts</a></li>
<li><a href="users.html">Users</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="index.html">Welcome, Nahom</a></li>
<li><a href="login.html">Logout</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</nav>
<header id="header">
<div class="container">
<div class="row">
<div class="col-md-10">
<h1><span class="glyphicon glyphicon-cog" aria-hidden="true"></span> Dashboard <small>Manage Your Site</small></h1>
</div>
<div class="col-md-2">
<div class="dropdown create">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="true">
Create Content
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li><a type="button" data-toggle="modal" data-target="#addPage">Add Page</a></li>
<li><a type="button" data-toggle="modal" data-target="#addPost">Add Post</a></li>
<li><a type="button" data-toggle="modal" data-target="#addUser">Add User</a></li>
</ul>
</div>
</div>
</div>
</div>
</header>
<section id="breadcrumb">
<div class="container">
<ol class="breadcrumb">
<li class="active">Dashboard</li>
</ol>
</div>
</section>
<section id="main">
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="list-group">
<a href="index.html" class="list-group-item active main-color-bg">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span> Dashboard
</a>
<a href="pages.html" class="list-group-item">
<span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span> Pages <span class="badge">12</span>
</a>
<a href="posts.html" class="list-group-item">
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Posts <span class="badge">33</span>
</a>
<a href="users.html" class="list-group-item">
<span class="glyphicon glyphicon-user" aria-hidden="true"></span> Users <span class="badge">203</span>
</a>
</div>
<div class="well">
<h4>Disk Space Used</h4>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
60%
</div>
</div>
<h4>Bandwidth Used</h4>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 40%;">
40%
</div>
</div>
</div>
</div>
<div class="col-md-9">
<!-- Website Overview -->
<div class="panel panel-default">
<div class="panel-heading main-color-bg">
<h3 class="panel-title">Website Overview</h3>
</div>
<div class="panel-body">
<div class="col-md-3">
<div class="well dash-box">
<h2><span class="glyphicon glyphicon-user" aria-hidden="true"></span> 203</h2>
<h4>Users</h4>
</div>
</div>
<div class="col-md-3 dash-box">
<div class="well">
<h2><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span> 12</h2>
<h4>Pages</h4>
</div>
</div>
<div class="col-md-3 dash-box">
<div class="well">
<h2><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> 33</h2>
<h4>Posts</h4>
</div>
</div>
<div class="col-md-3 dash-box">
<div class="well">
<h2><span class="glyphicon glyphicon-stats" aria-hidden="true"></span> 12,334</h2>
<h4>Visitors</h4>
</div>
</div>
</div>
</div>
<!-- Latest Users -->
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Latest Users</h3>
</div>
<div class="panel-body">
<table class="table table-striped table-hover">
<tr>
<th>Name</th>
<th>Email</th>
<th>Joined</th>
</tr>
<tr>
<td>Jill Smith</td>
<th>[email protected]</th>
<td>Jun 20, 2017</td>
</tr>
<tr>
<td>Jill Smith</td>
<th>[email protected]</th>
<td>Jun 20, 2017</td>
</tr>
<tr>
<td>Jill Smith</td>
<th>[email protected]</th>
<td>Jun 20, 2017</td>
</tr>
<tr>
<td>Jill Smith</td>
<th>[email protected]</th>
<td>Jun 20, 2017</td>
</tr>
<tr>
<td>Jill Smith</td>
<th>[email protected]</th>
<td>Jun 20, 2017</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
<footer id="footer">
<p>Copyright AdminStrap © 2017</p>
</footer>
<!-- Modals -->
<!-- Add Page -->
<div class="modal fade" id="addPage" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Add Page</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label>Page Title</label>
<input type="text" class="form-control" placeholder="Page Title">
</div>
<div class="form-group">
<label>Page Body</label>
<textarea name="editor1" class="form-control" placeholder="Page Body"></textarea>
</div>
<div class="checkbox">
<label>
<input type="checkbox"> Published
</label>
</div>
<div class="form-group">
<label>Meta Tags</label>
<input type="text" class="form-control" placeholder="Add Some Tags...">
</div>
<div class="form-group">
<label>Meta Description</label>
<input type="text" class="form-control" placeholder="Add Meta Description...">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary">Save changes</button>
</div>
</form>
</div>
</div>
</div>
<!-- Add Post -->
<div class="modal fade" id="addPost" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Add Post</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label>Post Title</label>
<input type="text" class="form-control" placeholder="Post Title">
</div>
<div class="form-group">
<label>Post Body</label>
<textarea name="editor1" class="form-control" placeholder="Post Body"></textarea>
</div>
<div class="checkbox">
<label>
<input type="checkbox"> Published
</label>
</div>
<div class="form-group">
<label>Meta Tags</label>
<input type="text" class="form-control" placeholder="Add Some Tags...">
</div>
<div class="form-group">
<label>Meta Description</label>
<input type="text" class="form-control" placeholder="Add Meta Description...">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary">Save changes</button>
</div>
</form>
</div>
</div>
</div>
<!-- Add User -->
<div class="modal fade" id="addUser" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Add User</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label>Name</label>
<input type="text" class="form-control">
</div>
<div class="form-group">
<label>Email</label>
<input type="email" class="form-control">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary">Save changes</button>
</div>
</form>
</div>
</div>
</div>
<script>
CKEDITOR.replace('editor1');
</script>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="./js/bootstrap.min.js"></script>
</body>
</html>