-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
218 lines (180 loc) · 7.52 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
<!--
* Jeferson Luckas - reserve
*
* Author: Jeferson Luckas
* Creation: 06/06/2020
* Modification: 16/07/2020
* Version: 2.0.0
* Description: Dashboard Reserve
*
* Copyright (c) 2020 Jeferson Luckas
* Released under the MIT license
* https://github.com/JefersonLucas/reserve/blob/master/LICENSE
*
* -->
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="Jeferson Lucas">
<title>Dashboard · Reserve</title>
<link rel="shortcut icon" href="assets/img/favicon/favicon.ico">
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.13.0/css/all.css">
<link href="assets/css/style.css" rel="stylesheet">
</head>
<body>
<!-- NAVBAR -->
<nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
<a class="navbar-brand col-md-2 col-lg-2 mr-0 px-3 text-light text-center font-weight-bold">
<img src="assets/img/logo-quadrado.png" class="mr-1" width="30" height="30" alt="Reserve">
<span>Reserve</span>
</a>
<button class="navbar-toggler position-absolute d-md-none collapsed" type="button" data-toggle="collapse" data-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<input class="form-control form-control-dark w-100" id="buscar-reserva" type="text" placeholder="Buscar..." aria-label="Search">
</nav>
<div class="container-fluid">
<div class="row">
<!-- SIDEBAR -->
<nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-light sidebar collapse">
<div class="sidebar-sticky pt-3">
<ul class="nav flex-column menu align-items-left">
<li class="nav-item">
<a class="nav-link active" href="#" id="dashboard-page">
<span data-feather="home"></span>Dashboard<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" id="reserva-page">
<span data-feather="file"></span>Reserva
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" id="perfil-page">
<span data-feather="user"></span>Perfil
</a>
</li>
</ul>
<!-- PERÍODO -->
<h6 class="text-xl-left d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
<span id="periodo"></span>
<span id="icone"></span>
</h6>
<ul class="nav flex-column mb-2">
<!-- ADMINISTRADOR -->
<li class="nav-item">
<a class="nav-link">
<span class="fas fa-user-tie fa-lg mr-1"></span>
<span id="administrador-nome"></span>
</a>
</li>
<!-- HORA -->
<li class="nav-item">
<a class="nav-link">
<span class="fas fa-clock fa-lg mr-1"></span>
<span id="relogio"></span>
</a>
</li>
<!-- SEMANA -->
<li class="nav-item">
<a class="nav-link">
<span class="fas fa-calendar-week fa-lg mr-1"></span>
<span id="semana"></span>
</a>
</li>
<!-- DATA -->
<li class="nav-item">
<a class="nav-link">
<span class="fas fa-calendar-alt fa-lg mr-1"></span>
<span id="calendario"></span>
</a>
</li>
</ul>
</div>
</nav>
<!-- CONTEÚDO PRINCIPAL -->
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-md-4">
<!-- TÍTULO -->
<div class="d-flex justify-content-center flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1><span class="fa fa-home"></span> Dashboard</h1>
</div>
<!-- ALERTA -->
<div role="alert" aria-live="assertive" aria-atomic="true" class="toast" data-autohide="false" id="toast">
<div class="toast-header">
<strong class="mr-auto"><i class="fas fa-bell fa-md"></i> Alerta</strong>
<small>11 mins ago</small>
<button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">
Hello, world! This is a toast message.
</div>
</div>
<!-- GRÁFICO -->
<h2><i class="fas fa-chart-line"></i> Semanal</h2>
<canvas class="my-4 w-100" id="myChart" width="900" height="280"></canvas>
<h2><span class="fas fa-file-alt"></span> Total</h2>
<div class="table-responsive border-bottom mt-4">
<table class="table table-hover table-bordered table-sm shadow">
<thead>
<tr class="text-center bg-dark">
<th class="text-white" title="Status das reservas" colspan="7">
<!-- STATUS -->
<nav class="nav nav-underline d-flex justify-content-center align-items-center">
<a class="nav-link text-danger" title="Aguardando">
<i class="fas fa-file fa-lg"></i>
<span class="badge badge-pill bg-light text-danger" id="status-01"></span>
</a>
<a class="nav-link text-success" title="Utilizando">
<i class="fas fa-file-upload fa-lg"></i>
<span class="badge badge-pill bg-light text-success" id="status-02"></span>
</a>
<a class="nav-link text-primary" title="Recolhido">
<i class="fas fa-file-download fa-lg"></i>
<span class="badge badge-pill bg-light text-primary" id="status-03"></span>
</a>
</nav>
</th>
</tr>
<tr class="text-center bg-dark">
<th class="text-white" title="Usuário"><i class="fas fa-user fa-lg"></i></th>
<th class="text-white" title="Equipamento"><i class="fas fa-laptop fa-lg"></i></th>
<th class="text-white" title="Local"><i class="fas fa-map-marker-alt fa-lg"></i></th>
<th class="text-white" title="Horário" colspan="2"><i class="fas fa-user-clock fa-lg"></i></th>
<th class="text-white" title="Data"><i class="fas fa-calendar-alt fa-lg"></i></th>
<th class="text-white" title="Status"><i class="fas fa-file-medical-alt fa-lg"></i></th>
</tr>
</thead>
<tbody id="lista-reservas-01" class="text-center">
</tbody>
</table>
</div>
</main>
</div>
</div>
<!-- RODAPÉ -->
<footer class="footer my-3 text-center text-small">
<p class="align-middle text-center text-muted">© 2018-2020 Jeferson Luckas</p>
<ul class="list-inline">
<li class="list-inline-item"><a href="https://github.com/JefersonLucas/reserve/blob/master/LICENSE" target="_blank">License</a></li>
<li class="list-inline-item"><a href="#">Privacy</a></li>
<li class="list-inline-item"><a href="#">Terms</a></li>
</ul>
<a href="#" class="to-top"><i class="fas fa-chevron-up"></i></a>
</footer>
<!-- JS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script>window.jQuery || document.write('<script src="assets/jquery/jquery.slim.min.js"><\/script>')</script>
<script src="assets/js/bootstrap.bundle.min.js"d></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/feather-icons/4.9.0/feather.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.min.js"></script>
<script src="assets/js/dashboard.js"></script>
<script src="assets/js/helpers.js"></script>
</body>
</html>