-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
127 lines (108 loc) · 3.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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Database -->
<script defer src="js-sdk/dist/pocketbase.umd.js"></script>
<!-- CSS -->
<link rel="stylesheet" href="styles/main.css">
<!-- JS -->
<script src="script/main.js" defer></script>
<script defer src="script/logChart.js"></script>
<!-- ChartJS -->
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<!-- Tailwind & DaisyUI -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.min.css" rel="stylesheet" type="text/css" />
<script src="https://cdn.tailwindcss.com"></script>
<!-- Phosphor -->
<script src="https://unpkg.com/@phosphor-icons/web"></script>
<title>Service Status Page</title>
</head>
<body>
<header>
<h1>Status Service Page</h1>
</header>
<main>
<div>
<canvas id="logChart" width="400" height="100"></canvas>
</div>
<!-- Filter Container -->
<div class="filterContainer flex mb-5">
<div class="flex">
<!-- Service -->
<details class="dropdown">
<summary class="btn m-1">Services</summary>
<ul class="menu dropdown-content bg-base-100 rounded-box z-[1] w-52 p-2 shadow">
<li><a>chatgpt</a></li>
<li><a>youtube</a></li>
<li><a>jira</a></li>
<li><a>reddit</a></li>
</ul>
</details>
</div>
<!-- Month Dropdown -->
<details class="dropdown">
<summary class="btn m-1">Month</summary>
<ul class="menu dropdown-content bg-base-100 rounded-box z-[1] w-52 p-2 shadow">
<li><a>Janeiro</a></li>
<li><a>Fevereiro</a></li>
<li><a>Março</a></li>
<li><a>Abril</a></li>
<li><a>Maio</a></li>
<li><a>Junho</a></li>
<li><a>Julho</a></li>
<li><a>Agosto</a></li>
<li><a>Setembro</a></li>
<li><a>Outubro</a></li>
<li><a>Novembro</a></li>
<li><a>Dezembro</a></li>
</ul>
</details>
<!-- Year -->
<details class="dropdown">
<summary class="btn m-1">Year</summary>
<ul class="menu dropdown-content bg-base-100 rounded-box z-[1] w-52 p-2 shadow">
<li><a>2023</a></li>
<li><a>2024</a></li>
</ul>
</details>
</div>
<!-- Table Log -->
<div class="overflow-x-auto">
<table class="table table-zebra" id="logTable">
<thead>
<tr>
<th>Id</th>
<th>Pagename</th>
<th>Datetime</th>
<th>Page's Up</th>
<th>Error Message</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th>Id</th>
<th>Pagename</th>
<th>Datetime</th>
<th>Page's Up</th>
<th>Error Message</th>
</tr>
</tfoot>
</table>
</div>
</main>
<div id="paginationContainer">
<button class="btn" onclick="subPagination(); getPaginatedRecordList()">
<i class="ph ph-arrow-left"></i>
Previus
</button>
<button class="btn" onclick="addPagination(); getPaginatedRecordList()">
<i class="ph ph-arrow-right"></i>
Next
</button>
</div>
</body>
</html>