-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
190 lines (161 loc) · 9.66 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
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<title>Admin Area | Dashboard</title>
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:400,800">
<link rel='stylesheet' href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/styles.css">
<link href="css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<!--navbar-expand-md to make it appear wheneve it cross the medium breakpoint-->
<nav class="navbar navbar-dark position-sticky fixed-top py-0 navbar-expand-md position-relative" style="background-color:brown;">
<div class="container"><!--to push every thing in the middle-->
<!--navbar-brand to be headline in the navbar-->
<div class="navbar-brand font-weight-bold text-white mr-3">Admin Strap</div>
<!--navbar-nav to slide down like a menu bar, collapse to disapear, navbar-collapse to disappear when cross the breakpoint-->
<ul class="mr-auto navbar-nav collapse navbar-collapse" id="navbardropdownmenucontent">
<li class="bg-secondary"><a href="#" class="nav-link text-light px-2" style="font-size: 14px;">Dashboard</a></li>
<li ><a href="pages.html" class="nav-link text-light px-2" style="font-size: 14px;"> Pages</a></li>
<li ><a href="posts.html" class="nav-link text-light px-2" style="font-size: 14px;"> Posts</a></li>
<li ><a href="users.html" class="nav-link text-light px-2" style="font-size: 14px;"> Users</a></li>
</ul>
<ul class="nav navbar-right"> <!--nav is style for the whole navbar, nav-link style for word and nav-item style for item box-->
<li class="nav-item"><div class="text-light px-3" style="font-size: 14px;">Welcome, Tarek</div></li>
<li class="nav-item"><a href="login.html" class="text-light pl-3 pr-0 align-top" style="font-size: 14px;">Log Out</a></li>
</ul>
<!--position of the button according to its position in the html file-->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbardropdownmenucontent">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
<!--header-->
<div class="bg-dark position-relative" style="height: 80px;">
<div class="container">
<h1 class="d-inline text-white"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span> Dashboard</h1>
<p class="d-inline text-capitalize text-secondary" style="font-size:x-large;">manage your site</p>
<div class="d-inline float-right mt-3">
<button class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown">Create Content </button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a href="#" class="dropdown-item">Add Post</a>
<a href="#" class="dropdown-item">Add User</a>
<a class="dropdown-item" data-toggle="modal" data-target="#addPage">Add Page</a>
</div>
</div>
</div>
</div>
<!--breadcrumb-->
<div class="container">
<div class="breadcrumb my-3 py-1 text-secondary">
<li class="active">Dashboard</li>
</div>
</div>
<!--MAIN-->
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-12">
<div class="card">
<div class="card-header" style="background-color:brown;">
<h5 class="text-white">Dashboard</h3>
</div>
<div class="list-group list-unstyled p-2">
<a href="pages.html" class="list-group-item"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span> Pages <span class="badge badge-primary">12</span></a>
<a href="posts.html" class="list-group-item"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Posts <span class="badge badge-primary">33</span></a>
<a href="users.html" class="list-group-item"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> Users <span class="badge badge-primary">203</span></a>
</div>
</div>
<div class="card mt-4 p-3 border border-danger">
<h5>Disk Space Used</h5>
<div class="progress mb-4">
<div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
60%
</div>
</div>
<h5>Bandwidth Used </h5>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%;">
40%
</div>
</div>
</div>
</div>
<div class="col-md-9 col-sm-12">
<div class="card">
<div class="card-header " style="background-color:brown;">
<h5 class="text-white">Website Overview</h3>
</div>
<ul class="list-group list-unstyled list-group-horizontal py-4 px-2">
<li class="list-item col-md-3 "> <div class="card bg-light p-4 ">
<h4><span class="glyphicon glyphicon-user" aria-hidden="true"></span>203</h3>
<h6>Users</h5>
</div></li>
<li class="list-item col-md-3 col-sm-6"> <div class="card bg-light p-4">
<h4><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>12</h3>
<h6>Pages</h5>
</div></li>
<li class="list-item col-md-3"> <div class="card bg-light p-4">
<h4><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>33</h3>
<h6>Posts</h5>
</div></li>
<li class="list-item col-md-3"> <div class="card bg-light p-4">
<h4><span class="glyphicon glyphicon-user" aria-hidden="true"></span>12334</h3>
<h6>Visitors</h5>
</div></li>
</ul>
</div>
<!-- Latest Users -->
<div class="panel panel-default">
<div class="panel-heading mt-3 py-2" style="background-color:brown;">
<h3 class="panel-title text-light ml-4">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>
<td>[email protected]</td>
<td>Dec 12, 2016</td>
</tr>
<tr>
<td>Eve Jackson</td>
<td>[email protected]</td>
<td>Dec 13, 2016</td>
</tr>
<tr>
<td>John Doe</td>
<td>[email protected]</td>
<td>Dec 13, 2016</td>
</tr>
<tr>
<td>Stephanie Landon</td>
<td>[email protected]</td>
<td>Dec 14, 2016</td>
</tr>
<tr>
<td>Mike Johnson</td>
<td>[email protected]</td>
<td>Dec 15, 2016</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<!--Footer-->
<footer class="text-light bg-dark py-3 font-weight-bold" style="text-align: center;">
<p>Copyright Tarek, © 2020</p>
</footer>
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>