-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
397 lines (371 loc) · 13.4 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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"
integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Dashboard Blogen Theme</title>
</head>
<body>
<nav class="navbar navbar-expand-sm navbar-dark bg-dark p-0">
<div class="container">
<a href="index.html" class="navbar-brand">Blogen</a>
<button
class="navbar-toggler"
data-toggle="collapse"
data-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbarCollapse" class="collapse navbar-collapse">
<ul class="navbar-nav">
<li class="nav-item px-2">
<a href="index.html" class="nav-link active">Dashboard</a>
</li>
<li class="nav-item px-2">
<a href="posts.html" class="nav-link">Posts</a>
</li>
<li class="nav-item px-2">
<a href="categories.html" class="nav-link">Categorias</a>
</li>
<li class="nav-item px-2">
<a href="users.html" class="nav-link">Usuários</a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item dropdown mr-3">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">
<i class="fas fa-user"></i> Seja Bem-vindo Gideon
</a>
<div class="dropdown-menu">
<a href="profile.html" class="dropdown-item">
<i class="fas fa-user-circle"></i> Perfil
</a>
<a href="settings.html" class="dropdown-item">
<i class="fas fa-cog"></i> Configurações
</a>
</div>
</li>
<li class="nav-item">
<a href="login.html" class="nav-link">
<i class="fas fa-user-times"></i> Logout
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- HEADER -->
<header id="main-header" class="text-white bg-primary py-2">
<div class="container">
<div class="row">
<div class="col-md-6">
<h1><i class="fas fa-cog"></i> Dashboard</h1>
</div>
</div>
</div>
</header>
<!-- ACTIONS -->
<section id="actions" class="bg-light mb-4 py-4">
<div class="container">
<div class="row">
<div class="col-md-3">
<a
href="#"
class="btn btn-block btn-primary"
data-toggle="modal"
data-target="#addPostModal">
<i class="fas fa-plus"></i> Adicionar Post
</a>
</div>
<div class="col-md-3">
<a
href="#"
class="btn btn-block btn-success"
data-toggle="modal"
data-target="#addCategoryModal">
<i class="fas fa-plus"></i> Adicionar Categoria
</a>
</div>
<div class="col-md-3">
<a
href="#"
class="btn btn-block btn-warning"
data-toggle="modal"
data-target="#addUserModal">
<i class="fas fa-plus"></i> Adicionar Usuário
</a>
</div>
</div>
</div>
</section>
<!-- POSTS & INFOS -->
<main id="posts">
<div class="container">
<div class="row">
<div class="col-md-9">
<div class="card">
<div class="card-header">
<h4>Últimos Posts</h4>
</div>
<table class="table table-striped">
<thead class="thead-dark">
<tr>
<th>#</th>
<th>Título</th>
<th>Categoria</th>
<th>Data</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Post Um</td>
<td>Desenvolvimento Web</td>
<td>10 de julho de 2020</td>
<td>
<a href="details.html" class="btn btn-secondary">
<i class="fas fa-angle-double-right"></i> Mais Detalhes
</a>
</td>
</tr>
<tr>
<td>2</td>
<td>Post Dois</td>
<td>Desenvolvimento Mobile</td>
<td>5 de julho de 2020</td>
<td>
<a href="details.html" class="btn btn-secondary">
<i class="fas fa-angle-double-right"></i> Mais Detalhes
</a>
</td>
</tr>
<tr>
<td>3</td>
<td>Post Três</td>
<td>Desenvolvimento Desktop</td>
<td>30 de junho de 2020</td>
<td>
<a href="details.html" class="btn btn-secondary">
<i class="fas fa-angle-double-right"></i> Mais Detalhes
</a>
</td>
</tr>
<tr>
<td>4</td>
<td>Post Quatro</td>
<td>Negócios</td>
<td>22 de junho de 2020</td>
<td>
<a href="details.html" class="btn btn-secondary">
<i class="fas fa-angle-double-right"></i> Mais Detalhes
</a>
</td>
</tr>
<tr>
<td>5</td>
<td>Post Cinco</td>
<td>Marketing</td>
<td>16 de junho de 2020</td>
<td>
<a href="details.html" class="btn btn-secondary">
<i class="fas fa-angle-double-right"></i> Mais Detalhes
</a>
</td>
</tr>
<tr>
<td>6</td>
<td>Post Seis</td>
<td>Desenvolvimento Web</td>
<td>4 de junho de 2020</td>
<td>
<a href="details.html" class="btn btn-secondary">
<i class="fas fa-angle-double-right"></i> Mais Detalhes
</a>
</td>
</tr>
<tr>
<td>7</td>
<td>Post Sete</td>
<td>Desenvolvimento Mobile</td>
<td>30 de maio de 2020</td>
<td>
<a href="details.html" class="btn btn-secondary">
<i class="fas fa-angle-double-right"></i> Mais Detalhes
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="col-md-3">
<div class="card text-center text-white bg-primary mb-3">
<div class="card-body">
<h3>Posts</h3>
<h4 class="display-4">
<i class="fas fa-pencil-alt"></i> 7
</h4>
<a href="posts.html" class="btn btn-sm btn-outline-light">Ver Todos</a>
</div>
</div>
<div class="card text-center text-white bg-success mb-3">
<div class="card-body">
<h3>Categorias</h3>
<h4 class="display-4">
<i class="fas fa-folder"></i> 5
</h4>
<a href="categories.html" class="btn btn-sm btn-outline-light">Ver Todas</a>
</div>
</div>
<div class="card text-center text-white bg-warning mb-3">
<div class="card-body">
<h3>Usuários</h3>
<h4 class="display-4">
<i class="fas fa-users"></i> 4
</h4>
<a href="users.html" class="btn btn-sm btn-outline-light">Ver Todos</a>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- FOOTER -->
<footer id="main-footer" class="text-white bg-dark mt-5 py-4">
<div class="container">
<div class="row">
<div class="col">
<p class="lead text-center">
Copyright © <span id="year"></span> Blogen
</p>
</div>
</div>
</div>
</footer>
<!-- MODALS -->
<!-- ADD POST MODAL -->
<div id="addPostModal" class="modal fade">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header text-white bg-primary">
<h5 class="modal-title">Adicionar Post</h5>
<button class="close" data-dismiss="modal">
<span class="text-white">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="title">Título</label>
<input type="text" class="form-control" />
</div>
<div class="form-group">
<label for="category">Categoria</label>
<select class="form-control">
<option value="">Desenvolvimento Web</option>
<option value="">Desenvolvimento Mobile</option>
<option value="">Desenvolvimento Desktop</option>
<option value="">Negócios</option>
<option value="">Marketing</option>
</select>
</div>
<div class="form-group">
<label for="image">Subir Imagem</label>
<div class="custom-file">
<input type="file" id="image" class="custom-file-input" placeholder="enviar" />
<label for="image" class="custom-file-label">Escolher Arquivo</label>
</div>
<small class="text-muted">Tamanho máximo de 3mb</small>
</div>
<div class="form-group">
<label for="content">Conteúdo</label>
<textarea name="addPostEditor" class="form-control"></textarea>
</div>
</form>
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-dismiss="modal">Salvar Publicação</button>
</div>
</div>
</div>
</div>
<!-- ADD CATEGORY MODAL -->
<div id="addCategoryModal" class="modal fade">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header text-white bg-success">
<h5 class="modal-title">Adicionar Categoria</h5>
<button class="close" data-dismiss="modal">
<span class="text-white">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="category">Nome da Categoria</label>
<input type="text" class="form-control" />
</div>
</form>
</div>
<div class="modal-footer">
<button class="btn btn-success" data-dismiss="modal">Salvar Categoria</button>
</div>
</div>
</div>
</div>
<!-- ADD USER MODAL -->
<div id="addUserModal" class="modal fade">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header bg-warning">
<h5 class="modal-title">Adicionar Usuário</h5>
<button class="close" data-dismiss="modal">
<span class="text-white">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="name">Nome</label>
<input type="text" class="form-control" />
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" />
</div>
<div class="form-group">
<label for="password">Senha</label>
<input type="password" class="form-control" />
</div>
<div class="form-group">
<label for="password2">Confirmar Senha</label>
<input type="password" class="form-control" />
</div>
</form>
</div>
<div class="modal-footer">
<button class="btn btn-warning" data-dismiss="modal">Salvar Usuário</button>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="https://cdn.ckeditor.com/4.9.2/standard/ckeditor.js"></script>
<script>
// Get the current year for the copyright
$('#year').text(new Date().getFullYear());
// Turn simple editor to modern editor
CKEDITOR.replace('addPostEditor');
</script>
</body>
</html>