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 | </style>
|
---|
25 | <script src="https://cdn.tailwindcss.com"></script>
|
---|
26 |
|
---|
27 | </head>
|
---|
28 | <body class="bg-gray-100 font-family-karla flex">
|
---|
29 | <aside class="relative bg-sidebar h-screen w-64 hidden sm:block shadow-xl">
|
---|
30 | <div class="p-6">
|
---|
31 | <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a>
|
---|
32 | <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">
|
---|
33 | <i class="fas fa-plus mr-3"></i> Додади полицаец
|
---|
34 | </button>
|
---|
35 | </div>
|
---|
36 | <nav class="text-white text-base font-semibold pt-3">
|
---|
37 | <a href="/" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item">
|
---|
38 | <i class="fas fa-tachometer-alt mr-3"></i>
|
---|
39 | Контролна табла
|
---|
40 | </a>
|
---|
41 | <a href="/employees" class="flex items-center active-nav-link text-white py-4 pl-6 nav-item">
|
---|
42 | <i class="fas fa-sticky-note mr-3"></i>
|
---|
43 | Вработени
|
---|
44 | </a>
|
---|
45 | <a href="/filter" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item">
|
---|
46 | <i class="fas fa-table mr-3"></i>
|
---|
47 | Филтрирај граѓани
|
---|
48 | </a>
|
---|
49 | <a href="/cases" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item">
|
---|
50 | <i class="fas fa-align-left mr-3"></i>
|
---|
51 | Случаи
|
---|
52 | </a>
|
---|
53 | <a href="/finished_cases" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item">
|
---|
54 | <i class="fas fa-calendar mr-3"></i>
|
---|
55 | Архива
|
---|
56 | </a>
|
---|
57 | </nav>
|
---|
58 | <a href="#" class="absolute w-full upgrade-btn bottom-0 active-nav-link text-white flex items-center justify-center py-4">
|
---|
59 | <i class="fas fa-arrow-circle-up mr-3"></i>
|
---|
60 | Поставки за профил
|
---|
61 | </a>
|
---|
62 | </aside>
|
---|
63 |
|
---|
64 | <div class="w-full flex flex-col h-screen overflow-y-hidden">
|
---|
65 | <!-- Desktop Header -->
|
---|
66 | <header class="w-full items-center bg-white py-2 px-6 hidden sm:flex">
|
---|
67 | <div class="w-1/2"></div>
|
---|
68 | <div x-data="{ isOpen: false }" class="relative w-1/2 flex justify-end">
|
---|
69 | <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">
|
---|
70 | <img src="https://source.unsplash.com/uJ8LNVCBjFQ/400x400">
|
---|
71 | </button>
|
---|
72 | <button x-show="isOpen" @click="isOpen = false" class="h-full w-full fixed inset-0 cursor-default"></button>
|
---|
73 | <div x-show="isOpen" class="absolute w-32 bg-white rounded-lg shadow-lg py-2 mt-16">
|
---|
74 | <a href="#" class="block px-4 py-2 account-link hover:text-white">Профил</a>
|
---|
75 | <a href="#" class="block px-4 py-2 account-link hover:text-white">Помош</a>
|
---|
76 | <a href="#" class="block px-4 py-2 account-link hover:text-white">Одјави се</a>
|
---|
77 | </div>
|
---|
78 | </div>
|
---|
79 | </header>
|
---|
80 |
|
---|
81 | <!-- Mobile Header & Nav -->
|
---|
82 | <header x-data="{ isOpen: false }" class="w-full bg-sidebar py-5 px-6 sm:hidden">
|
---|
83 | <div class="flex items-center justify-between">
|
---|
84 | <a href="/" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a>
|
---|
85 | <button @click="isOpen = !isOpen" class="text-white text-3xl focus:outline-none">
|
---|
86 | <i x-show="!isOpen" class="fas fa-bars"></i>
|
---|
87 | <i x-show="isOpen" class="fas fa-times"></i>
|
---|
88 | </button>
|
---|
89 | </div>
|
---|
90 |
|
---|
91 | <!-- Dropdown Nav -->
|
---|
92 | <nav :class="isOpen ? 'flex': 'hidden'" class="flex flex-col pt-4">
|
---|
93 | <a href="/" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
|
---|
94 | <i class="fas fa-tachometer-alt mr-3"></i>
|
---|
95 | Контролна табла
|
---|
96 | </a>
|
---|
97 | <a href="/employees" class="flex items-center active-nav-link text-white py-2 pl-4 nav-item">
|
---|
98 | <i class="fas fa-sticky-note mr-3"></i>
|
---|
99 | Вработени
|
---|
100 | </a>
|
---|
101 | <a href="/filter" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
|
---|
102 | <i class="fas fa-table mr-3"></i>
|
---|
103 | Филтрирај граѓани
|
---|
104 | </a>
|
---|
105 | <a href="/cases" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
|
---|
106 | <i class="fas fa-align-left mr-3"></i>
|
---|
107 | Случаи
|
---|
108 | </a>
|
---|
109 |
|
---|
110 | <a href="/finished_cases" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
|
---|
111 | <i class="fas fa-calendar mr-3"></i>
|
---|
112 | Архива
|
---|
113 | </a>
|
---|
114 | <a href="/help" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
|
---|
115 | <i class="fas fa-cogs mr-3"></i>
|
---|
116 | Помош
|
---|
117 | </a>
|
---|
118 | <a href="/myprofile" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
|
---|
119 | <i class="fas fa-user mr-3"></i>
|
---|
120 | Мој профил
|
---|
121 | </a>
|
---|
122 | <a href="/logout" class="flex items-center text-white opacity-75 hover:opacity-100 py-2 pl-4 nav-item">
|
---|
123 | <i class="fas fa-sign-out-alt mr-3"></i>
|
---|
124 | Одјави се
|
---|
125 | </a>
|
---|
126 |
|
---|
127 | </nav>
|
---|
128 | <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">
|
---|
129 | <i class="fas fa-plus mr-3"></i> Нов извештај
|
---|
130 | </button>
|
---|
131 | </header>
|
---|
132 |
|
---|
133 | <div class="w-full overflow-x-hidden border-t flex flex-col">
|
---|
134 | <main class="w-full flex-grow p-6">
|
---|
135 | <h1 class="text-3xl text-black pb-6">Контролна табла</h1>
|
---|
136 |
|
---|
137 |
|
---|
138 |
|
---|
139 | <div class="w-full mt-12">
|
---|
140 | <p class="text-xl pb-3 flex items-center">
|
---|
141 | <i class="fas fa-list mr-3"></i> Вработени во станица Карпош - Скопје
|
---|
142 | </p>
|
---|
143 | <div class="bg-white overflow-auto">
|
---|
144 | <table class="min-w-full bg-white">
|
---|
145 | <thead class="bg-gray-800 text-white">
|
---|
146 | <tr>
|
---|
147 | <th class="w-1/3 text-left py-3 px-4 uppercase font-semibold text-sm">Име</th>
|
---|
148 | <th class="w-1/3 text-left py-3 px-4 uppercase font-semibold text-sm">Презиме</th>
|
---|
149 | <th class="text-left py-3 px-4 uppercase font-semibold text-sm">Телефон</th>
|
---|
150 | <th class="text-left py-3 px-4 uppercase font-semibold text-sm">Емаил</th>
|
---|
151 | </tr>
|
---|
152 | </thead>
|
---|
153 | <tbody class="text-gray-700">
|
---|
154 | <tr>
|
---|
155 | <td class="w-1/3 text-left py-3 px-4">Lian</td>
|
---|
156 | <td class="w-1/3 text-left py-3 px-4">Smith</td>
|
---|
157 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="tel:622322662">622322662</a></td>
|
---|
158 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="mailto:jonsmith@mail.com">jonsmith@mail.com</a></td>
|
---|
159 | </tr>
|
---|
160 | <tr class="bg-gray-200">
|
---|
161 | <td class="w-1/3 text-left py-3 px-4">Emma</td>
|
---|
162 | <td class="w-1/3 text-left py-3 px-4">Johnson</td>
|
---|
163 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="tel:622322662">622322662</a></td>
|
---|
164 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="mailto:jonsmith@mail.com">jonsmith@mail.com</a></td>
|
---|
165 | </tr>
|
---|
166 | <tr>
|
---|
167 | <td class="w-1/3 text-left py-3 px-4">Oliver</td>
|
---|
168 | <td class="w-1/3 text-left py-3 px-4">Williams</td>
|
---|
169 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="tel:622322662">622322662</a></td>
|
---|
170 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="mailto:jonsmith@mail.com">jonsmith@mail.com</a></td>
|
---|
171 | </tr>
|
---|
172 | <tr class="bg-gray-200">
|
---|
173 | <td class="w-1/3 text-left py-3 px-4">Isabella</td>
|
---|
174 | <td class="w-1/3 text-left py-3 px-4">Brown</td>
|
---|
175 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="tel:622322662">622322662</a></td>
|
---|
176 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="mailto:jonsmith@mail.com">jonsmith@mail.com</a></td>
|
---|
177 | </tr>
|
---|
178 | <tr>
|
---|
179 | <td class="w-1/3 text-left py-3 px-4">Lian</td>
|
---|
180 | <td class="w-1/3 text-left py-3 px-4">Smith</td>
|
---|
181 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="tel:622322662">622322662</a></td>
|
---|
182 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="mailto:jonsmith@mail.com">jonsmith@mail.com</a></td>
|
---|
183 | </tr>
|
---|
184 | <tr class="bg-gray-200">
|
---|
185 | <td class="w-1/3 text-left py-3 px-4">Emma</td>
|
---|
186 | <td class="w-1/3 text-left py-3 px-4">Johnson</td>
|
---|
187 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="tel:622322662">622322662</a></td>
|
---|
188 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="mailto:jonsmith@mail.com">jonsmith@mail.com</a></td>
|
---|
189 | </tr>
|
---|
190 | <tr>
|
---|
191 | <td class="w-1/3 text-left py-3 px-4">Oliver</td>
|
---|
192 | <td class="w-1/3 text-left py-3 px-4">Williams</td>
|
---|
193 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="tel:622322662">622322662</a></td>
|
---|
194 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="mailto:jonsmith@mail.com">jonsmith@mail.com</a></td>
|
---|
195 | </tr>
|
---|
196 | <tr class="bg-gray-200">
|
---|
197 | <td class="w-1/3 text-left py-3 px-4">Isabella</td>
|
---|
198 | <td class="w-1/3 text-left py-3 px-4">Brown</td>
|
---|
199 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="tel:622322662">622322662</a></td>
|
---|
200 | <td class="text-left py-3 px-4"><a class="hover:text-blue-500" href="mailto:jonsmith@mail.com">jonsmith@mail.com</a></td>
|
---|
201 | </tr>
|
---|
202 | </tbody>
|
---|
203 | </table>
|
---|
204 | </div>
|
---|
205 | </div>
|
---|
206 | </main>
|
---|
207 |
|
---|
208 |
|
---|
209 | </div>
|
---|
210 |
|
---|
211 | </div>
|
---|
212 |
|
---|
213 | <!-- AlpineJS -->
|
---|
214 | <script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" defer></script>
|
---|
215 | <!-- Font Awesome -->
|
---|
216 | <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>
|
---|
217 | <!-- ChartJS -->
|
---|
218 | <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js" integrity="sha256-R4pqcOYV8lt7snxMQO/HSbVCFRPMdrhAFMH+vr9giYI=" crossorigin="anonymous"></script>
|
---|
219 |
|
---|
220 | </body>
|
---|
221 | </html>
|
---|