-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
79 lines (76 loc) · 3.04 KB
/
index.html
File metadata and controls
79 lines (76 loc) · 3.04 KB
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
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Log Viewer</title>
<link rel="stylesheet" href="https://cdn.datatables.net/1.11.5/css/jquery.dataTables.min.css">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flatpickr/4.6.9/flatpickr.min.css">
</head>
<body>
<h2>Log Viewer wersja z dnia 20.12.24</h2>
<!-- Controls Section -->
<div class="controls">
<select id="typeFilter">
<option value="">Wszystkie Typy</option>
<option value="ERROR">ERROR</option>
<option value="DEBUG">DEBUG</option>
<option value="INFO">INFO</option>
</select>
<select id="userFilter">
<option value="">Wszyscy Użytkownicy</option>
<option value="user1">user1</option>
<option value="user2">user2</option>
<option value="user3">user3</option>
<option value="user4">user4</option>
</select>
<input type="text" id="startDate" placeholder="Początkowa data">
<input type="text" id="endDate" placeholder="Końcowa data">
<select id="logSource">
<option value="PRO">PRO</option>
<option value="BETA">BETA</option>
</select>
<button id="refreshBtn">Odśwież</button>
<button id="toggleDetailsBtn">Ukryj szczegóły</button>
<label><input type="checkbox" id="colorizeRows"> Kolorowanie wierszy</label>
<label><input type="checkbox" id="autoRefresh"> Automatyczne śledzenie zmian</label>
<select id="entriesPerPage">
<option value="10">10</option>
<option value="100">100</option>
<option value="200">200</option>
<option value="300">300</option>
<option value="400">400</option>
<option value="500">500</option>
<option value="10000">10000</option>
</select>
<div class="theme-toggle">
<label class="switch">
<input type="checkbox" id="themeSwitcher">
<span class="slider round"></span>
</label>
<span class="moon-icon">🌙</span>
</div>
</div>
<!-- Table Container -->
<div class="table-container">
<table id="logTable" class="display">
<thead>
<tr>
<th>Dzień</th>
<th>Czas</th>
<th>Zdarzenie</th>
<th>Obiekt</th>
<th>Użytkownik</th>
<th>Szczegóły</th>
</tr>
</thead>
</table>
</div>
<!-- Scripts -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flatpickr/4.6.9/flatpickr.min.js"></script>
<script src="script.js"></script>
</body>
</html>