-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathposts.html
272 lines (258 loc) · 11.6 KB
/
posts.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google font and Icons -->
<link rel="stylesheet" href="node_modules/material-icons/iconfont/material-icons.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="node_modules/@fortawesome/fontawesome-free/css/all.css">
<!-- Materialize CSS -->
<link rel="stylesheet" href="node_modules/materialize-css/dist/css/materialize.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="css/main.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Madmin</title>
</head>
<body class="grey lighten-4">
<nav class="blue darken-2">
<div class="container">
<div class="nav-wrapper">
<a href="index.html" class="brand-logo">Madmin</a>
<a href="#" data-activates="side-nav" class="button-collapse show-on-large right">
<i class="material-icons">menu</i>
</a>
<ul class="right hide-on-med-and-down">
<li class=""><a href="index.html">Dashboard</a></li>
<li class="active"><a href="posts.html">Posts</a></li>
<li class=""><a href="catagories.html">Categories</a></li>
<li class=""><a href="comments.html">Comments</a></li>
<li class=""><a href="users.html">Users</a></li>
</ul>
<!-- side nav -->
<ul id="side-nav" class="side-nav">
<li>
<div class="user-view">
<div class="background">
<img class="" src="img/ocean.jpg" alt="">
</div>
<a href="#">
<img src="img/person1.jpg" alt="" class="circle">
</a>
<a href="#">
<span class="name white-text">John Doe</span>
</a>
<a href="#">
<span class="email white-text">[email protected]</span>
</a>
<li class=""><a href="index.html"><i class="material-icons">dashboard</i>Dashboard</a></li>
<li class=""><a href="posts.html">Posts</a></li>
<li class=""><a href="catagories.html">Categories</a></li>
<li class=""><a href="comments.html">Comments</a></li>
<li class=""><a href="users.html">Users</a></li>
<li>
<div class="divider"></div>
</li>
<li>
<a href="#" class="subheader center">Account Controls</a>
</li>
<li>
<a href="login.html" class="waves-effect">logout</a>
</li>
</div>
</li>
</ul>
</div>
</div>
</nav>
<!-- Section: Posts -->
<section class="section section-posts grey lighten-4">
<div class="container">
<div class="row">
<div class="col s12">
<div class="card">
<div class="card-content">
<span class="card-title">Posts</span>
<table class="striped">
<thead>
<tr>
<th>Title</th>
<th>Category</th>
<th>Date Created</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>Post One</td>
<td>Web Development</td>
<td>January 1, 2019</td>
<td>
<a href="details.html" class="btn blue lighten-2">Details</a>
</td>
</tr>
<tr>
<td>Post Two</td>
<td>Graphic Design</td>
<td>January 2, 2019</td>
<td>
<a href="details.html" class="btn blue lighten-2">Details</a>
</td>
</tr>
<tr>
<td>Post three</td>
<td>Web Development</td>
<td>January 4, 2019</td>
<td>
<a href="details.html" class="btn blue lighten-2">Details</a>
</td>
</tr>
<tr>
<td>Post Four</td>
<td>Integration API</td>
<td>January 4, 2019</td>
<td>
<a href="details.html" class="btn blue lighten-2">Details</a>
</td>
</tr>
<tr>
<td>Post Five</td>
<td>Integration API</td>
<td>January 5, 2019</td>
<td>
<a href="details.html" class="btn blue lighten-2">Details</a>
</td>
</tr>
<tr>
<td>Post Six</td>
<td>Graphic Design</td>
<td>January 6, 2019</td>
<td>
<a href="details.html" class="btn blue lighten-2">Details</a>
</td>
</tr>
</tbody>
</table>
</div>
<div class="card-action">
<ul class="pagination">
<li class="disabled">
<a href="#!" class="blue-text">
<i class="material-icons">chevron_left</i>
</a>
</li>
<li class="active blue lighten-2 center">
<a href="#!" class="white-text">1</a>
</li>
<li class="waves-effect">
<a href="#!" class="blue-text">2</a>
</li>
<li class="waves-effect">
<a href="#!" class="blue-text">3</a>
</li>
<li class="waves-effect">
<a href="#!" class="blue-text">4</a>
</li>
<li class="waves-effect">
<a href="#!" class="blue-text">5</a>
</li>
<li class="waves-effect">
<a href="#!" class="blue-text">6</a>
</li>
<li class="waves-effect">
<a href="#!" class="blue-text">
<i class="material-icons">chevron_right</i>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="section blue darken-2 white-text center">
<p>Madmin Corp Copyright © 2019</p>
</footer>
<!-- Fixe action button -->
<div class="fixed-action-btn">
<a href="#post-modal" class="modal-trigger btn-floating btn-large red">
<i class="material-icons">add</i>
</a>
</div>
<!-- Modals -->
<!-- Add Post Modal -->
<div id="post-modal" class="modal">
<div class="modal-content">
<h4 class="valign-wrapper blue-text"><i class="material-icons medium">add_comment</i> Add Post</h4>
<form>
<div class="input-field">
<input type="text" id="title">
<label for="title">Title</label>
</div>
<div class="input-field">
<select>
<option value="" disabled selected>Select Option</option>
<option value="1">Web Development</option>
<option value="2">Graphic Design</option>
<option value="3">Tech Gadget</option>
<option value="4">Other</option>
</select>
<label>Category</label>
</div>
<div class="input-field">
<textarea name="body" id="body" class="materialize-textarea"></textarea>
<label>Body</label>
</div>
</form>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close btn blue white-text">Submit</a>
</div>
</div>
</div>
<!-- Preloader-->
<div class="loader preloader-wrapper big active">
<div class="spinner-layer spinner-blue-only">
<div class="circle-clipper left">
<div class="circle"></div>
</div>
<div class="gap-patch">
<div class="circle"></div>
</div>
<div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
</div>
<!-- Scripts -->
<!-- JQuery -->
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<!-- Materialize JS -->
<script src="node_modules/materialize-css/dist/js/materialize.min.js"></script>
<!-- Init Scripts Tags -->
<script>
// Hide all sections
$('.section').hide();
// hide preloader
setTimeout(function () {
$('.loader').fadeOut();
}, 1000)
// timeout
setTimeout(function () {
// target document elements
$(document).ready(function () {
// show section
$('.section').fadeIn();
// Custom and Init JQueries
// Init SideNav
$('.button-collapse').sideNav();
// Init Modal
$('.modal').modal();
// Init Select
$('select').material_select();
});
}, 1200)
</script>
</body>
</html>