source: resources/views/filter.blade.php@ 6b10b67

main
Last change on this file since 6b10b67 was 6b10b67, checked in by bube-ristovska <ristovska725@…>, 10 months ago

Connected database

  • Property mode set to 100644
File size: 14.9 KB
Line 
1<!DOCTYPE html>
2<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
3<head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6
7 <title>Laravel</title>
8
9 <!-- Fonts -->
10 <link rel="preconnect" href="https://fonts.bunny.net">
11 <link href="https://fonts.bunny.net/css?family=figtree:400,600&display=swap" rel="stylesheet" />
12
13 <!-- Styles -->
14 <style>
15 @import url('https://fonts.googleapis.com/css?family=Karla:400,700&display=swap');
16 .font-family-karla { font-family: karla; }
17 .bg-sidebar { background: #3d68ff; }
18 .cta-btn { color: #3d68ff; }
19 .upgrade-btn { background: #1947ee; }
20 .upgrade-btn:hover { background: #0038fd; }
21 .active-nav-link { background: #1947ee; }
22 .nav-item:hover { background: #1947ee; }
23 .account-link:hover { background: #3d68ff; }
24 .flex-parent-element {
25 display: flex;
26 width: 50%;
27 }
28
29 .flex-child-element {
30 flex: 1;
31 margin: 10px;
32 }
33
34 .flex-child-element:first-child {
35 margin-right: 20px;
36 }
37 .container {
38 display: block;
39 position: relative;
40 padding-left: 35px;
41 margin-bottom: 12px;
42 cursor: pointer;
43 font-size: 22px;
44 -webkit-user-select: none;
45 -moz-user-select: none;
46 -ms-user-select: none;
47 user-select: none;
48 }
49
50 /* Hide the browser's default checkbox */
51 .container input {
52 position: absolute;
53 opacity: 0;
54 cursor: pointer;
55 height: 0;
56 width: 0;
57 }
58
59 /* Create a custom checkbox */
60 .checkmark {
61 position: absolute;
62 top: 0;
63 left: 0;
64 height: 25px;
65 width: 25px;
66 background-color: #eee;
67 }
68
69 /* On mouse-over, add a grey background color */
70 .container:hover input ~ .checkmark {
71 background-color: #ccc;
72 }
73
74 /* When the checkbox is checked, add a blue background */
75 .container input:checked ~ .checkmark {
76 background-color: #2196F3;
77 }
78
79 /* Create the checkmark/indicator (hidden when not checked) */
80 .checkmark:after {
81 content: "";
82 position: absolute;
83 display: none;
84 }
85
86 /* Show the checkmark when checked */
87 .container input:checked ~ .checkmark:after {
88 display: block;
89 }
90
91 /* Style the checkmark/indicator */
92 .container .checkmark:after {
93 left: 9px;
94 top: 5px;
95 width: 5px;
96 height: 10px;
97 border: solid white;
98 border-width: 0 3px 3px 0;
99 -webkit-transform: rotate(45deg);
100 -ms-transform: rotate(45deg);
101 transform: rotate(45deg);
102 }
103
104 </style>
105 <script src="https://cdn.tailwindcss.com"></script>
106
107</head>
108<body class="bg-gray-100 font-family-karla flex">
109<aside class="relative bg-sidebar h-screen w-64 hidden sm:block shadow-xl">
110 <div class="p-6">
111 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a>
112 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center">
113 <i class="fas fa-plus mr-3"></i> Додади полицаец
114 </button>
115 </div>
116 <nav class="text-white text-base font-semibold pt-3">
117 <a href="/" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item">
118 <i class="fas fa-tachometer-alt mr-3"></i>
119 Сортирај граѓани
120 </a>
121 <a href="/employees" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item">
122 <i class="fas fa-sticky-note mr-3"></i>
123 Вработени
124 </a>
125 <a href="/filter" class="flex items-center active-nav-link text-white py-4 pl-6 nav-item">
126 <i class="fas fa-table mr-3"></i>
127 Филтрирај граѓани
128 </a>
129 <a href="/cases" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item">
130 <i class="fas fa-align-left mr-3"></i>
131 Случаи
132 </a>
133 <a href="/finished_cases" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item">
134 <i class="fas fa-calendar mr-3"></i>
135 Архива
136 </a>
137 </nav>
138 <a href="#" class="absolute w-full upgrade-btn bottom-0 active-nav-link text-white flex items-center justify-center py-4">
139 <i class="fas fa-arrow-circle-up mr-3"></i>
140 Поставки за профил
141 </a>
142</aside>
143
144<div class="w-full flex flex-col h-screen overflow-y-hidden">
145 <!-- Desktop Header -->
146 <header class="w-full items-center bg-white py-2 px-6 hidden sm:flex">
147 <div class="w-1/2"></div>
148 <div x-data="{ isOpen: false }" class="relative w-1/2 flex justify-end">
149 <button @click="isOpen = !isOpen" class="realtive z-10 w-12 h-12 rounded-full overflow-hidden border-4 border-gray-400 hover:border-gray-300 focus:border-gray-300 focus:outline-none">
150 <img src="https://source.unsplash.com/uJ8LNVCBjFQ/400x400">
151 </button>
152 <button x-show="isOpen" @click="isOpen = false" class="h-full w-full fixed inset-0 cursor-default"></button>
153 <div x-show="isOpen" class="absolute w-32 bg-white rounded-lg shadow-lg py-2 mt-16">
154 <a href="#" class="block px-4 py-2 account-link hover:text-white">Профил</a>
155 <a href="#" class="block px-4 py-2 account-link hover:text-white">Помош</a>
156 <a href="#" class="block px-4 py-2 account-link hover:text-white">Одјави се</a>
157 </div>
158 </div>
159 </header>
160
161 <!-- Mobile Header & Nav -->
162 <header x-data="{ isOpen: false }" class="w-full bg-sidebar py-5 px-6 sm:hidden">
163 <div class="flex items-center justify-between">
164 <a href="/" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a>
165 <button @click="isOpen = !isOpen" class="text-white text-3xl focus:outline-none">
166 <i x-show="!isOpen" class="fas fa-bars"></i>
167 <i x-show="isOpen" class="fas fa-times"></i>
168 </button>
169 </div>
170
171 <!-- Dropdown Nav -->
172 <nav :class="isOpen ? 'flex': 'hidden'" class="flex flex-col pt-4">
173 <a href="/" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
174 <i class="fas fa-tachometer-alt mr-3"></i>
175 Контролна табла
176 </a>
177 <a href="/employees" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
178 <i class="fas fa-sticky-note mr-3"></i>
179 Вработени
180 </a>
181 <a href="/filter" class="flex items-center active-nav-link text-white py-2 pl-4 nav-item">
182 <i class="fas fa-table mr-3"></i>
183 Филтрирај граѓани
184 </a>
185 <a href="/cases" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
186 <i class="fas fa-align-left mr-3"></i>
187 Случаи
188 </a>
189
190 <a href="/finished_cases" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
191 <i class="fas fa-calendar mr-3"></i>
192 Архива
193 </a>
194 <a href="/help" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
195 <i class="fas fa-cogs mr-3"></i>
196 Помош
197 </a>
198 <a href="/myprofile" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
199 <i class="fas fa-user mr-3"></i>
200 Мој профил
201 </a>
202 <a href="/logout" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
203 <i class="fas fa-sign-out-alt mr-3"></i>
204 Одјави се
205 </a>
206
207 </nav>
208 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center">
209 <i class="fas fa-plus mr-3"></i> Нов извештај
210 </button>
211 </header>
212
213
214 <main class="w-full flex-grow p-6">
215
216 <h1 class="text-3xl text-black pb-6">Контролна табла</h1>
217 <div style="width: 600px">
218 <form>
219 <label for="default-search" class="mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white">Search</label>
220 <div class="relative">
221 <div class="absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none">
222 <svg class="w-4 h-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
223 <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"/>
224 </svg>
225 </div>
226 <input type="search" id="default-search" class="block w-full p-4 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Пребарај матичен број..." required>
227 <button type="submit" class="text-white absolute end-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">Search</button>
228 </div>
229 </form>
230 </div>
231
232 <div class="flex-parent-element">
233 <h3>Возраст</h3>
234
235 <div class="flex-child-element"> <label class="container">&lt;18 год
236 <input type="checkbox" checked="checked">
237 <span class="checkmark"></span>
238 </label>
239
240 <label class="container"> 19-25
241 <input type="checkbox">
242 <span class="checkmark"></span>
243 </label>
244
245 <label class="container">26-60
246 <input type="checkbox">
247 <span class="checkmark"></span>
248 </label>
249
250 <label class="container">60+
251 <input type="checkbox">
252 <span class="checkmark"></span>
253 </label>
254 </div>
255 <h3>Пол</h3>
256 <div class="flex-child-element">
257 <label class="container">М
258 <input type="checkbox" checked="checked">
259 <span class="checkmark"></span>
260 </label>
261
262 <label class="container">Ж
263 <input type="checkbox">
264 <span class="checkmark"></span>
265 </label>
266 </div>
267 </div>
268
269
270
271 <div class="w-full mt-12">
272 <p class="text-xl pb-3 flex items-center">
273 <i class="fas fa-list mr-3"></i> Граѓани
274 </p>
275
276 <div class="bg-white overflow-auto">
277 <table class="min-w-full bg-white">
278 <thead class="bg-gray-800 text-white">
279 <tr>
280 <th class="text-left py-3 px-4 uppercase font-semibold text-sm">ЕМБГ</th>
281 <th class="w-1/3 text-left py-3 px-4 uppercase font-semibold text-sm">Име</th>
282 <th class="w-1/3 text-left py-3 px-4 uppercase font-semibold text-sm">Презиме</th>
283 <th class="w-1/3 text-left py-3 px-4 uppercase font-semibold text-sm">Пол</th>
284 <th class="w-1/3 text-left py-3 px-4 uppercase font-semibold text-sm">Адреса</th>
285 <th class="w-1/3 text-left py-3 px-4 uppercase font-semibold text-sm">Држава</th>
286 <th class="w-1/3 text-left py-3 px-4 uppercase font-semibold text-sm">Националност</th>
287 <th class="text-left py-3 px-4 uppercase font-semibold text-sm">Телефон</th>
288 </tr>
289 </thead>
290 <tbody class="text-gray-700">
291 <tr>
292 <td class="w-1/3 text-left py-3 px-4">1011001470303</td>
293 <td class="w-1/3 text-left py-3 px-4">Емир</td>
294 <td class="w-1/3 text-left py-3 px-4">Абази</td>
295 <td class="w-1/3 text-left py-3 px-4">М</td>
296 <td class="w-1/3 text-left py-3 px-4">ул.Македонија бр.80 Тетово</td>
297 <td class="w-1/3 text-left py-3 px-4">Македонија</td>
298 <td class="w-1/3 text-left py-3 px-4">Албанец</td>
299 <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="tel:622322662">622322662</a></td>
300 </tr>
301 <tr class="bg-gray-200">
302 <td class="w-1/3 text-left py-3 px-4">0302954470303</td>
303 <td class="w-1/3 text-left py-3 px-4">Василија</td>
304 <td class="w-1/3 text-left py-3 px-4">Васиљоска</td>
305 <td class="w-1/3 text-left py-3 px-4">Ж</td>
306 <td class="w-1/3 text-left py-3 px-4">ул.154 бр.20 Скопје</td>
307 <td class="w-1/3 text-left py-3 px-4">Македонија</td>
308 <td class="w-1/3 text-left py-3 px-4">Македонка</td>
309 <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="tel:622322662">622322662</a></td>
310 </tr>
311 </tbody>
312 </table>
313 </div>
314 </div>
315 </main>
316</div>
317
318
319<!-- AlpineJS -->
320<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" defer></script>
321<!-- Font Awesome -->
322<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js" integrity="sha256-KzZiKy0DWYsnwMF+X1DvQngQ2/FxF7MF3Ff72XcpuPs=" crossorigin="anonymous"></script>
323<!-- ChartJS -->
324<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js" integrity="sha256-R4pqcOYV8lt7snxMQO/HSbVCFRPMdrhAFMH+vr9giYI=" crossorigin="anonymous"></script>
325
326</body>
327</html>
Note: See TracBrowser for help on using the repository browser.