Commit abc449250adb3c0df06c0fa71eda020a280ab521
1 parent
b9d60a9543
Exists in
master
and in
1 other branch
Блейд слоя
Showing 1 changed file with 1 additions and 0 deletions Inline Diff
resources/views/layout/admin.blade.php
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html :class="{ 'theme-dark': dark }" x-data="data()" lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | 2 | <html :class="{ 'theme-dark': dark }" x-data="data()" lang="{{ str_replace('_', '-', app()->getLocale()) }}"> |
3 | <head> | 3 | <head> |
4 | <meta charset="UTF-8" /> | 4 | <meta charset="UTF-8" /> |
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | <title>{{$title}}</title> | 6 | <title>{{$title}}</title> |
7 | <link | 7 | <link |
8 | href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" | 8 | href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" |
9 | rel="stylesheet" | 9 | rel="stylesheet" |
10 | /> | 10 | /> |
11 | <link rel="stylesheet" href="{{ asset('./assets/css/tailwind.output_new.css')}}" /> | 11 | <link rel="stylesheet" href="{{ asset('./assets/css/tailwind.output_new.css')}}" /> |
12 | <link rel="stylesheet" href="{{ asset('./assets/css/tabs.css')}}" /> | 12 | <link rel="stylesheet" href="{{ asset('./assets/css/tabs.css')}}" /> |
13 | <script | 13 | <script |
14 | src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" | 14 | src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" |
15 | defer | 15 | defer |
16 | ></script> | 16 | ></script> |
17 | <script src="{{ asset('./assets/js/init-alpine.js') }}"></script> | 17 | <script src="{{ asset('./assets/js/init-alpine.js') }}"></script> |
18 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css"/> | 18 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css"/> |
19 | <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js" defer></script> | 19 | <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js" defer></script> |
20 | <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> | 20 | <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> |
21 | <script src="{{ asset('./assets/js/charts-lines.js') }}" defer></script> | 21 | <script src="{{ asset('./assets/js/charts-lines.js') }}" defer></script> |
22 | <script src="{{ asset('./assets/js/charts-pie.js') }}" defer></script> | 22 | <script src="{{ asset('./assets/js/charts-pie.js') }}" defer></script> |
23 | </head> | 23 | </head> |
24 | <body> | 24 | <body> |
25 | <div class="flex h-screen bg-gray-50 dark:bg-gray-900" :class="{ 'overflow-hidden': isSideMenuOpen }"> | 25 | <div class="flex h-screen bg-gray-50 dark:bg-gray-900" :class="{ 'overflow-hidden': isSideMenuOpen }"> |
26 | <!-- Desktop sidebar --> | 26 | <!-- Desktop sidebar --> |
27 | <aside | 27 | <aside |
28 | class="z-20 hidden w-64 overflow-y-auto bg-white dark:bg-gray-800 md:block flex-shrink-0" | 28 | class="z-20 hidden w-64 overflow-y-auto bg-white dark:bg-gray-800 md:block flex-shrink-0" |
29 | > | 29 | > |
30 | <div class="py-4 text-gray-500 dark:text-gray-400"> | 30 | <div class="py-4 text-gray-500 dark:text-gray-400"> |
31 | <a class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" | 31 | <a class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" |
32 | href="{{ route('admin.index') }}"> | 32 | href="{{ route('admin.index') }}"> |
33 | Админка | 33 | Админка |
34 | </a> | 34 | </a> |
35 | <ul class="mt-6"> | 35 | <ul class="mt-6"> |
36 | <li class="relative px-6 py-3"> | 36 | <li class="relative px-6 py-3"> |
37 | <span | 37 | <span |
38 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" | 38 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" |
39 | aria-hidden="true" | 39 | aria-hidden="true" |
40 | ></span> | 40 | ></span> |
41 | <a | 41 | <a |
42 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.index') ? 'dark:text-gray-100' : null }}" | 42 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.index') ? 'dark:text-gray-100' : null }}" |
43 | href="{{ route('admin.index') }}" | 43 | href="{{ route('admin.index') }}" |
44 | > | 44 | > |
45 | <svg | 45 | <svg |
46 | class="w-5 h-5" | 46 | class="w-5 h-5" |
47 | aria-hidden="true" | 47 | aria-hidden="true" |
48 | fill="none" | 48 | fill="none" |
49 | stroke-linecap="round" | 49 | stroke-linecap="round" |
50 | stroke-linejoin="round" | 50 | stroke-linejoin="round" |
51 | stroke-width="2" | 51 | stroke-width="2" |
52 | viewBox="0 0 24 24" | 52 | viewBox="0 0 24 24" |
53 | stroke="currentColor" | 53 | stroke="currentColor" |
54 | > | 54 | > |
55 | <path | 55 | <path |
56 | d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" | 56 | d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" |
57 | ></path> | 57 | ></path> |
58 | </svg> | 58 | </svg> |
59 | <span class="ml-4">Главная страница</span> | 59 | <span class="ml-4">Главная страница</span> |
60 | </a> | 60 | </a> |
61 | </li> | 61 | </li> |
62 | </ul> | 62 | </ul> |
63 | 63 | ||
64 | <ul> | 64 | <ul> |
65 | @foreach ($contents as $cont) | 65 | @foreach ($contents as $cont) |
66 | @if ($cont->url_page == "admin/users") | 66 | @if ($cont->url_page == "admin/users") |
67 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 67 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
68 | (($cont->is_manager == 1) && ($is_manager == 1))) | 68 | (($cont->is_manager == 1) && ($is_manager == 1))) |
69 | <li class="relative px-6 py-3"> | 69 | <li class="relative px-6 py-3"> |
70 | <a | 70 | <a |
71 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" | 71 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" |
72 | href="{{ route('admin.users') }}" | 72 | href="{{ route('admin.users') }}" |
73 | > | 73 | > |
74 | <svg | 74 | <svg |
75 | class="w-5 h-5" | 75 | class="w-5 h-5" |
76 | aria-hidden="true" | 76 | aria-hidden="true" |
77 | fill="none" | 77 | fill="none" |
78 | stroke-linecap="round" | 78 | stroke-linecap="round" |
79 | stroke-linejoin="round" | 79 | stroke-linejoin="round" |
80 | stroke-width="2" | 80 | stroke-width="2" |
81 | viewBox="0 0 24 24" | 81 | viewBox="0 0 24 24" |
82 | stroke="currentColor" | 82 | stroke="currentColor" |
83 | > | 83 | > |
84 | <path | 84 | <path |
85 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 85 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
86 | ></path> | 86 | ></path> |
87 | </svg> | 87 | </svg> |
88 | <span class="ml-4">Пользователи</span> | 88 | <span class="ml-4">Пользователи</span> |
89 | </a> | 89 | </a> |
90 | </li> | 90 | </li> |
91 | @endif | 91 | @endif |
92 | @endif | 92 | @endif |
93 | 93 | ||
94 | @if ($cont->url_page == "admin/admin_roles") | 94 | @if ($cont->url_page == "admin/admin_roles") |
95 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 95 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
96 | (($cont->is_manager == 1) && ($is_manager == 1))) | 96 | (($cont->is_manager == 1) && ($is_manager == 1))) |
97 | <li class="relative px-6 py-3"> | 97 | <li class="relative px-6 py-3"> |
98 | <a | 98 | <a |
99 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" | 99 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" |
100 | href="{{ route('admin.admin_roles') }}" | 100 | href="{{ route('admin.admin_roles') }}" |
101 | > | 101 | > |
102 | <svg | 102 | <svg |
103 | class="w-5 h-5" | 103 | class="w-5 h-5" |
104 | aria-hidden="true" | 104 | aria-hidden="true" |
105 | fill="none" | 105 | fill="none" |
106 | stroke-linecap="round" | 106 | stroke-linecap="round" |
107 | stroke-linejoin="round" | 107 | stroke-linejoin="round" |
108 | stroke-width="2" | 108 | stroke-width="2" |
109 | viewBox="0 0 24 24" | 109 | viewBox="0 0 24 24" |
110 | stroke="currentColor" | 110 | stroke="currentColor" |
111 | > | 111 | > |
112 | <path | 112 | <path |
113 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 113 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
114 | ></path> | 114 | ></path> |
115 | </svg> | 115 | </svg> |
116 | <span class="ml-4">Роли администраторов</span> | 116 | <span class="ml-4">Роли администраторов</span> |
117 | </a> | 117 | </a> |
118 | </li> | 118 | </li> |
119 | @endif | 119 | @endif |
120 | @endif | 120 | @endif |
121 | 121 | ||
122 | @if ($cont->url_page == "admin/admin-users") | 122 | @if ($cont->url_page == "admin/admin-users") |
123 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 123 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
124 | (($cont->is_manager == 1) && ($is_manager == 1))) | 124 | (($cont->is_manager == 1) && ($is_manager == 1))) |
125 | <li class="relative px-6 py-3"> | 125 | <li class="relative px-6 py-3"> |
126 | <a | 126 | <a |
127 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-users') }}" | 127 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-users') }}" |
128 | > | 128 | > |
129 | <svg | 129 | <svg |
130 | class="w-5 h-5" | 130 | class="w-5 h-5" |
131 | aria-hidden="true" | 131 | aria-hidden="true" |
132 | fill="none" | 132 | fill="none" |
133 | stroke-linecap="round" | 133 | stroke-linecap="round" |
134 | stroke-linejoin="round" | 134 | stroke-linejoin="round" |
135 | stroke-width="2" | 135 | stroke-width="2" |
136 | viewBox="0 0 24 24" | 136 | viewBox="0 0 24 24" |
137 | stroke="currentColor" | 137 | stroke="currentColor" |
138 | > | 138 | > |
139 | <path | 139 | <path |
140 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" | 140 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" |
141 | ></path> | 141 | ></path> |
142 | </svg> | 142 | </svg> |
143 | <span class="ml-4">Администраторы</span> | 143 | <span class="ml-4">Администраторы</span> |
144 | </a> | 144 | </a> |
145 | </li> | 145 | </li> |
146 | @endif | 146 | @endif |
147 | @endif | 147 | @endif |
148 | 148 | ||
149 | @if ($cont->url_page == "admin/employers") | 149 | @if ($cont->url_page == "admin/employers") |
150 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 150 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
151 | (($cont->is_manager == 1) && ($is_manager == 1))) | 151 | (($cont->is_manager == 1) && ($is_manager == 1))) |
152 | <li class="relative px-6 py-3"> | 152 | <li class="relative px-6 py-3"> |
153 | <a | 153 | <a |
154 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.employers') }}" | 154 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.employers') }}" |
155 | > | 155 | > |
156 | <svg | 156 | <svg |
157 | class="w-5 h-5" | 157 | class="w-5 h-5" |
158 | aria-hidden="true" | 158 | aria-hidden="true" |
159 | fill="none" | 159 | fill="none" |
160 | stroke-linecap="round" | 160 | stroke-linecap="round" |
161 | stroke-linejoin="round" | 161 | stroke-linejoin="round" |
162 | stroke-width="2" | 162 | stroke-width="2" |
163 | viewBox="0 0 24 24" | 163 | viewBox="0 0 24 24" |
164 | stroke="currentColor" | 164 | stroke="currentColor" |
165 | > | 165 | > |
166 | <path | 166 | <path |
167 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" | 167 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" |
168 | ></path> | 168 | ></path> |
169 | </svg> | 169 | </svg> |
170 | <span class="ml-4">Работодатели</span> | 170 | <span class="ml-4">Работодатели</span> |
171 | </a> | 171 | </a> |
172 | </li> | 172 | </li> |
173 | @endif | 173 | @endif |
174 | @endif | 174 | @endif |
175 | 175 | ||
176 | @if ($cont->url_page == "admin/workers") | 176 | @if ($cont->url_page == "admin/workers") |
177 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 177 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
178 | (($cont->is_manager == 1) && ($is_manager == 1))) | 178 | (($cont->is_manager == 1) && ($is_manager == 1))) |
179 | <li class="relative px-6 py-3"> | 179 | <li class="relative px-6 py-3"> |
180 | <a | 180 | <a |
181 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.workers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.workers') }}" | 181 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.workers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.workers') }}" |
182 | > | 182 | > |
183 | <svg | 183 | <svg |
184 | class="w-5 h-5" | 184 | class="w-5 h-5" |
185 | aria-hidden="true" | 185 | aria-hidden="true" |
186 | fill="none" | 186 | fill="none" |
187 | stroke-linecap="round" | 187 | stroke-linecap="round" |
188 | stroke-linejoin="round" | 188 | stroke-linejoin="round" |
189 | stroke-width="2" | 189 | stroke-width="2" |
190 | viewBox="0 0 24 24" | 190 | viewBox="0 0 24 24" |
191 | stroke="currentColor" | 191 | stroke="currentColor" |
192 | > | 192 | > |
193 | <path | 193 | <path |
194 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 194 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
195 | ></path> | 195 | ></path> |
196 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 196 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
197 | </svg> | 197 | </svg> |
198 | <span class="ml-4">Соискатели</span> | 198 | <span class="ml-4">Соискатели</span> |
199 | </a> | 199 | </a> |
200 | </li> | 200 | </li> |
201 | @endif | 201 | @endif |
202 | @endif | 202 | @endif |
203 | 203 | ||
204 | @if ($cont->url_page == "admin/ad-employers") | 204 | @if ($cont->url_page == "admin/ad-employers") |
205 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 205 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
206 | (($cont->is_manager == 1) && ($is_manager == 1))) | 206 | (($cont->is_manager == 1) && ($is_manager == 1))) |
207 | <li class="relative px-6 py-3"> | 207 | <li class="relative px-6 py-3"> |
208 | <a | 208 | <a |
209 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.ad-employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.ad-employers') }}" | 209 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.ad-employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.ad-employers') }}" |
210 | > | 210 | > |
211 | <svg | 211 | <svg |
212 | class="w-5 h-5" | 212 | class="w-5 h-5" |
213 | aria-hidden="true" | 213 | aria-hidden="true" |
214 | fill="none" | 214 | fill="none" |
215 | stroke-linecap="round" | 215 | stroke-linecap="round" |
216 | stroke-linejoin="round" | 216 | stroke-linejoin="round" |
217 | stroke-width="2" | 217 | stroke-width="2" |
218 | viewBox="0 0 24 24" | 218 | viewBox="0 0 24 24" |
219 | stroke="currentColor" | 219 | stroke="currentColor" |
220 | > | 220 | > |
221 | <path | 221 | <path |
222 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" | 222 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" |
223 | ></path> | 223 | ></path> |
224 | </svg> | 224 | </svg> |
225 | <span class="ml-4">Вакансии</span> | 225 | <span class="ml-4">Вакансии</span> |
226 | </a> | 226 | </a> |
227 | </li> | 227 | </li> |
228 | @endif | 228 | @endif |
229 | @endif | 229 | @endif |
230 | 230 | ||
231 | @if ($cont->url_page == "admin/messages") | 231 | @if ($cont->url_page == "admin/messages") |
232 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 232 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
233 | (($cont->is_manager == 1) && ($is_manager == 1))) | 233 | (($cont->is_manager == 1) && ($is_manager == 1))) |
234 | <li class="relative px-6 py-3"> | 234 | <li class="relative px-6 py-3"> |
235 | <a | 235 | <a |
236 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" | 236 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" |
237 | > | 237 | > |
238 | <svg | 238 | <svg |
239 | class="w-5 h-5" | 239 | class="w-5 h-5" |
240 | aria-hidden="true" | 240 | aria-hidden="true" |
241 | fill="none" | 241 | fill="none" |
242 | stroke-linecap="round" | 242 | stroke-linecap="round" |
243 | stroke-linejoin="round" | 243 | stroke-linejoin="round" |
244 | stroke-width="2" | 244 | stroke-width="2" |
245 | viewBox="0 0 24 24" | 245 | viewBox="0 0 24 24" |
246 | stroke="currentColor" | 246 | stroke="currentColor" |
247 | > | 247 | > |
248 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 248 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
249 | </svg> | 249 | </svg> |
250 | <span class="ml-4">Сообщения все</span> | 250 | <span class="ml-4">Сообщения все</span> |
251 | </a> | 251 | </a> |
252 | </li> | 252 | </li> |
253 | @endif | 253 | @endif |
254 | @endif | 254 | @endif |
255 | 255 | ||
256 | @if ($cont->url_page == "admin/admin-messages") | 256 | @if ($cont->url_page == "admin/admin-messages") |
257 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 257 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
258 | (($cont->is_manager == 1) && ($is_manager == 1))) | 258 | (($cont->is_manager == 1) && ($is_manager == 1))) |
259 | <li class="relative px-6 py-3"> | 259 | <li class="relative px-6 py-3"> |
260 | <a | 260 | <a |
261 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-messages') }}" | 261 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-messages') }}" |
262 | > | 262 | > |
263 | <svg | 263 | <svg |
264 | class="w-5 h-5" | 264 | class="w-5 h-5" |
265 | aria-hidden="true" | 265 | aria-hidden="true" |
266 | fill="none" | 266 | fill="none" |
267 | stroke-linecap="round" | 267 | stroke-linecap="round" |
268 | stroke-linejoin="round" | 268 | stroke-linejoin="round" |
269 | stroke-width="2" | 269 | stroke-width="2" |
270 | viewBox="0 0 24 24" | 270 | viewBox="0 0 24 24" |
271 | stroke="currentColor" | 271 | stroke="currentColor" |
272 | > | 272 | > |
273 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 273 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
274 | </svg> | 274 | </svg> |
275 | <span class="ml-4">Заявки на рассылку</span> | 275 | <span class="ml-4">Заявки на рассылку</span> |
276 | </a> | 276 | </a> |
277 | </li> | 277 | </li> |
278 | @endif | 278 | @endif |
279 | @endif | 279 | @endif |
280 | 280 | ||
281 | @if ($cont->url_page == "admin/groups") | 281 | @if ($cont->url_page == "admin/groups") |
282 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 282 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
283 | (($cont->is_manager == 1) && ($is_manager == 1))) | 283 | (($cont->is_manager == 1) && ($is_manager == 1))) |
284 | <li class="relative px-6 py-3"> | 284 | <li class="relative px-6 py-3"> |
285 | <a | 285 | <a |
286 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.groups') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.groups') }}" | 286 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.groups') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.groups') }}" |
287 | > | 287 | > |
288 | <svg | 288 | <svg |
289 | class="w-5 h-5" | 289 | class="w-5 h-5" |
290 | aria-hidden="true" | 290 | aria-hidden="true" |
291 | fill="none" | 291 | fill="none" |
292 | stroke-linecap="round" | 292 | stroke-linecap="round" |
293 | stroke-linejoin="round" | 293 | stroke-linejoin="round" |
294 | stroke-width="2" | 294 | stroke-width="2" |
295 | viewBox="0 0 24 24" | 295 | viewBox="0 0 24 24" |
296 | stroke="currentColor" | 296 | stroke="currentColor" |
297 | > | 297 | > |
298 | <path | 298 | <path |
299 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 299 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
300 | ></path> | 300 | ></path> |
301 | </svg> | 301 | </svg> |
302 | <span class="ml-4">Группы пользователей</span> | 302 | <span class="ml-4">Группы пользователей</span> |
303 | </a> | 303 | </a> |
304 | </li> | 304 | </li> |
305 | @endif | 305 | @endif |
306 | @endif | 306 | @endif |
307 | 307 | ||
308 | @if ($cont->url_page == "admin/media") | 308 | @if ($cont->url_page == "admin/media") |
309 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 309 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
310 | (($cont->is_manager == 1) && ($is_manager == 1))) | 310 | (($cont->is_manager == 1) && ($is_manager == 1))) |
311 | <li class="relative px-6 py-3"> | 311 | <li class="relative px-6 py-3"> |
312 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.media') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.media') }}"> | 312 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.media') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.media') }}"> |
313 | <svg | 313 | <svg |
314 | class="w-5 h-5" | 314 | class="w-5 h-5" |
315 | aria-hidden="true" | 315 | aria-hidden="true" |
316 | fill="none" | 316 | fill="none" |
317 | stroke-linecap="round" | 317 | stroke-linecap="round" |
318 | stroke-linejoin="round" | 318 | stroke-linejoin="round" |
319 | stroke-width="2" | 319 | stroke-width="2" |
320 | viewBox="0 0 24 24" | 320 | viewBox="0 0 24 24" |
321 | stroke="currentColor" | 321 | stroke="currentColor" |
322 | > | 322 | > |
323 | <path | 323 | <path |
324 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 324 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
325 | ></path> | 325 | ></path> |
326 | </svg> | 326 | </svg> |
327 | <span class="ml-4">Медиа</span> | 327 | <span class="ml-4">Медиа</span> |
328 | </a> | 328 | </a> |
329 | </li> | 329 | </li> |
330 | @endif | 330 | @endif |
331 | @endif | 331 | @endif |
332 | 332 | ||
333 | @if ($cont->url_page == "admin/roles") | 333 | @if ($cont->url_page == "admin/roles") |
334 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 334 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
335 | (($cont->is_manager == 1) && ($is_manager == 1))) | 335 | (($cont->is_manager == 1) && ($is_manager == 1))) |
336 | <li class="relative px-6 py-3"> | 336 | <li class="relative px-6 py-3"> |
337 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.roles') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.roles') }}"> | 337 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.roles') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.roles') }}"> |
338 | <svg | 338 | <svg |
339 | class="w-5 h-5" | 339 | class="w-5 h-5" |
340 | aria-hidden="true" | 340 | aria-hidden="true" |
341 | fill="none" | 341 | fill="none" |
342 | stroke-linecap="round" | 342 | stroke-linecap="round" |
343 | stroke-linejoin="round" | 343 | stroke-linejoin="round" |
344 | stroke-width="2" | 344 | stroke-width="2" |
345 | viewBox="0 0 24 24" | 345 | viewBox="0 0 24 24" |
346 | stroke="currentColor" | 346 | stroke="currentColor" |
347 | > | 347 | > |
348 | <path | 348 | <path |
349 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 349 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
350 | ></path> | 350 | ></path> |
351 | </svg> | 351 | </svg> |
352 | <span class="ml-4">Роли пользователей</span> | 352 | <span class="ml-4">Роли пользователей</span> |
353 | </a> | 353 | </a> |
354 | </li> | 354 | </li> |
355 | @endif | 355 | @endif |
356 | @endif | 356 | @endif |
357 | 357 | ||
358 | @if ($cont->url_page == "admin/basedata") | 358 | @if ($cont->url_page == "admin/basedata") |
359 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 359 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
360 | (($cont->is_manager == 1) && ($is_manager == 1))) | 360 | (($cont->is_manager == 1) && ($is_manager == 1))) |
361 | <li class="relative px-6 py-3"> | 361 | <li class="relative px-6 py-3"> |
362 | <a | 362 | <a |
363 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.basedata') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.basedata') }}" | 363 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.basedata') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.basedata') }}" |
364 | > | 364 | > |
365 | <svg | 365 | <svg |
366 | class="w-5 h-5" | 366 | class="w-5 h-5" |
367 | aria-hidden="true" | 367 | aria-hidden="true" |
368 | fill="none" | 368 | fill="none" |
369 | stroke-linecap="round" | 369 | stroke-linecap="round" |
370 | stroke-linejoin="round" | 370 | stroke-linejoin="round" |
371 | stroke-width="2" | 371 | stroke-width="2" |
372 | viewBox="0 0 24 24" | 372 | viewBox="0 0 24 24" |
373 | stroke="currentColor" | 373 | stroke="currentColor" |
374 | > | 374 | > |
375 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 375 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
376 | </svg> | 376 | </svg> |
377 | <span class="ml-4">Базы данных</span> | 377 | <span class="ml-4">Базы данных</span> |
378 | </a> | 378 | </a> |
379 | </li> | 379 | </li> |
380 | @endif | 380 | @endif |
381 | @endif | 381 | @endif |
382 | 382 | ||
383 | @if ($cont->url_page == "admin/education") | 383 | @if ($cont->url_page == "admin/education") |
384 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 384 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
385 | (($cont->is_manager == 1) && ($is_manager == 1))) | 385 | (($cont->is_manager == 1) && ($is_manager == 1))) |
386 | <li class="relative px-6 py-3"> | 386 | <li class="relative px-6 py-3"> |
387 | <a | 387 | <a |
388 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.education.index') }}" | 388 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.education.index') }}" |
389 | > | 389 | > |
390 | <svg | 390 | <svg |
391 | class="w-5 h-5" | 391 | class="w-5 h-5" |
392 | aria-hidden="true" | 392 | aria-hidden="true" |
393 | fill="none" | 393 | fill="none" |
394 | stroke-linecap="round" | 394 | stroke-linecap="round" |
395 | stroke-linejoin="round" | 395 | stroke-linejoin="round" |
396 | stroke-width="2" | 396 | stroke-width="2" |
397 | viewBox="0 0 24 24" | 397 | viewBox="0 0 24 24" |
398 | stroke="currentColor" | 398 | stroke="currentColor" |
399 | > | 399 | > |
400 | <path | 400 | <path |
401 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" | 401 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" |
402 | ></path> | 402 | ></path> |
403 | </svg> | 403 | </svg> |
404 | <span class="ml-4">Учебн.заведения</span> | 404 | <span class="ml-4">Учебн.заведения</span> |
405 | </a> | 405 | </a> |
406 | </li> | 406 | </li> |
407 | @endif | 407 | @endif |
408 | @endif | 408 | @endif |
409 | 409 | ||
410 | @if ($cont->url_page == "admin/statics") | 410 | @if ($cont->url_page == "admin/statics") |
411 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 411 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
412 | (($cont->is_manager == 1) && ($is_manager == 1))) | 412 | (($cont->is_manager == 1) && ($is_manager == 1))) |
413 | <li class="relative px-6 py-3"> | 413 | <li class="relative px-6 py-3"> |
414 | <a | 414 | <a |
415 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.statics') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.statics') }}" | 415 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.statics') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.statics') }}" |
416 | > | 416 | > |
417 | <svg | 417 | <svg |
418 | class="w-5 h-5" | 418 | class="w-5 h-5" |
419 | aria-hidden="true" | 419 | aria-hidden="true" |
420 | fill="none" | 420 | fill="none" |
421 | stroke-linecap="round" | 421 | stroke-linecap="round" |
422 | stroke-linejoin="round" | 422 | stroke-linejoin="round" |
423 | stroke-width="2" | 423 | stroke-width="2" |
424 | viewBox="0 0 24 24" | 424 | viewBox="0 0 24 24" |
425 | stroke="currentColor" | 425 | stroke="currentColor" |
426 | > | 426 | > |
427 | <path | 427 | <path |
428 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 428 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
429 | ></path> | 429 | ></path> |
430 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 430 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
431 | </svg> | 431 | </svg> |
432 | <span class="ml-4">Статистика</span> | 432 | <span class="ml-4">Статистика</span> |
433 | </a> | 433 | </a> |
434 | </li> | 434 | </li> |
435 | @endif | 435 | @endif |
436 | @endif | 436 | @endif |
437 | 437 | ||
438 | @if ($cont->url_page == "admin/answers") | 438 | @if ($cont->url_page == "admin/answers") |
439 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 439 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
440 | (($cont->is_manager == 1) && ($is_manager == 1))) | 440 | (($cont->is_manager == 1) && ($is_manager == 1))) |
441 | <li class="relative px-6 py-3"> | 441 | <li class="relative px-6 py-3"> |
442 | <a | 442 | <a |
443 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.answers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.answers') }}" | 443 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.answers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.answers') }}" |
444 | > | 444 | > |
445 | <svg | 445 | <svg |
446 | class="w-5 h-5" | 446 | class="w-5 h-5" |
447 | aria-hidden="true" | 447 | aria-hidden="true" |
448 | fill="none" | 448 | fill="none" |
449 | stroke-linecap="round" | 449 | stroke-linecap="round" |
450 | stroke-linejoin="round" | 450 | stroke-linejoin="round" |
451 | stroke-width="2" | 451 | stroke-width="2" |
452 | viewBox="0 0 24 24" | 452 | viewBox="0 0 24 24" |
453 | stroke="currentColor" | 453 | stroke="currentColor" |
454 | > | 454 | > |
455 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 455 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
456 | </svg> | 456 | </svg> |
457 | <span class="ml-4">Модерация</span> | 457 | <span class="ml-4">Модерация</span> |
458 | </a> | 458 | </a> |
459 | </li> | 459 | </li> |
460 | @endif | 460 | @endif |
461 | @endif | 461 | @endif |
462 | 462 | ||
463 | @if ($cont->url_page == "admin/reclames") | 463 | @if ($cont->url_page == "admin/reclames") |
464 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 464 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
465 | (($cont->is_manager == 1) && ($is_manager == 1))) | 465 | (($cont->is_manager == 1) && ($is_manager == 1))) |
466 | <li class="relative px-6 py-3"> | 466 | <li class="relative px-6 py-3"> |
467 | <a | 467 | <a |
468 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.reclames') }}" | 468 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.reclames') }}" |
469 | > | 469 | > |
470 | <svg | 470 | <svg |
471 | class="w-5 h-5" | 471 | class="w-5 h-5" |
472 | aria-hidden="true" | 472 | aria-hidden="true" |
473 | fill="none" | 473 | fill="none" |
474 | stroke-linecap="round" | 474 | stroke-linecap="round" |
475 | stroke-linejoin="round" | 475 | stroke-linejoin="round" |
476 | stroke-width="2" | 476 | stroke-width="2" |
477 | viewBox="0 0 24 24" | 477 | viewBox="0 0 24 24" |
478 | stroke="currentColor" | 478 | stroke="currentColor" |
479 | > | 479 | > |
480 | <path | 480 | <path |
481 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" | 481 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" |
482 | ></path> | 482 | ></path> |
483 | </svg> | 483 | </svg> |
484 | <span class="ml-4">Реклама</span> | 484 | <span class="ml-4">Реклама</span> |
485 | </a> | 485 | </a> |
486 | </li> | 486 | </li> |
487 | @endif | 487 | @endif |
488 | @endif | 488 | @endif |
489 | @endforeach | 489 | @endforeach |
490 | <!-- Справочники --> | 490 | <!-- Справочники --> |
491 | 491 | ||
492 | <li class="relative px-6 py-3" x-data="{ open1: false }"> | 492 | <li class="relative px-6 py-3" x-data="{ open1: false }"> |
493 | <button | 493 | <button |
494 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 494 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
495 | @click="open1=!open1" | 495 | @click="open1=!open1" |
496 | aria-haspopup="true"> | 496 | aria-haspopup="true"> |
497 | <span class="inline-flex items-center"> | 497 | <span class="inline-flex items-center"> |
498 | <svg | 498 | <svg |
499 | class="w-5 h-5" | 499 | class="w-5 h-5" |
500 | aria-hidden="true" | 500 | aria-hidden="true" |
501 | fill="none" | 501 | fill="none" |
502 | stroke-linecap="round" | 502 | stroke-linecap="round" |
503 | stroke-linejoin="round" | 503 | stroke-linejoin="round" |
504 | stroke-width="2" | 504 | stroke-width="2" |
505 | viewBox="0 0 24 24" | 505 | viewBox="0 0 24 24" |
506 | stroke="currentColor"> | 506 | stroke="currentColor"> |
507 | <path | 507 | <path |
508 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" | 508 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" |
509 | ></path> | 509 | ></path> |
510 | </svg> | 510 | </svg> |
511 | <span class="ml-4">Справочники</span> | 511 | <span class="ml-4">Справочники</span> |
512 | </span> | 512 | </span> |
513 | <svg | 513 | <svg |
514 | class="w-4 h-4" | 514 | class="w-4 h-4" |
515 | aria-hidden="true" | 515 | aria-hidden="true" |
516 | fill="currentColor" | 516 | fill="currentColor" |
517 | viewBox="0 0 20 20" | 517 | viewBox="0 0 20 20" |
518 | > | 518 | > |
519 | <path | 519 | <path |
520 | fill-rule="evenodd" | 520 | fill-rule="evenodd" |
521 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" | 521 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" |
522 | clip-rule="evenodd" | 522 | clip-rule="evenodd" |
523 | ></path> | 523 | ></path> |
524 | </svg> | 524 | </svg> |
525 | </button> | 525 | </button> |
526 | <template x-if="open1"> | 526 | <template x-if="open1"> |
527 | <ul | 527 | <ul |
528 | x-transition:enter="transition-all ease-in-out duration-300" | 528 | x-transition:enter="transition-all ease-in-out duration-300" |
529 | x-transition:enter-start="opacity-25 max-h-0" | 529 | x-transition:enter-start="opacity-25 max-h-0" |
530 | x-transition:enter-end="opacity-100 max-h-xl" | 530 | x-transition:enter-end="opacity-100 max-h-xl" |
531 | x-transition:leave="transition-all ease-in-out duration-300" | 531 | x-transition:leave="transition-all ease-in-out duration-300" |
532 | x-transition:leave-start="opacity-100 max-h-xl" | 532 | x-transition:leave-start="opacity-100 max-h-xl" |
533 | x-transition:leave-end="opacity-0 max-h-0" | 533 | x-transition:leave-end="opacity-0 max-h-0" |
534 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" | 534 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
535 | aria-label="submenu" | 535 | aria-label="submenu" |
536 | > | 536 | > |
537 | @foreach ($contents as $cont) | 537 | @foreach ($contents as $cont) |
538 | @if ($cont->url_page == "admin/job-titles") | 538 | @if ($cont->url_page == "admin/job-titles") |
539 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 539 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
540 | (($cont->is_manager == 1) && ($is_manager == 1))) | 540 | (($cont->is_manager == 1) && ($is_manager == 1))) |
541 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles.index') ? 'dark:text-gray-100' : null }}"> | 541 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles.index') ? 'dark:text-gray-100' : null }}"> |
542 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> | 542 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> |
543 | </li> | 543 | </li> |
544 | @endif | 544 | @endif |
545 | @endif | 545 | @endif |
546 | 546 | ||
547 | @if ($cont->url_page == "admin/categories") | 547 | @if ($cont->url_page == "admin/categories") |
548 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 548 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
549 | (($cont->is_manager == 1) && ($is_manager == 1))) | 549 | (($cont->is_manager == 1) && ($is_manager == 1))) |
550 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.categories.index') ? 'dark:text-gray-100' : null }}"> | 550 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.categories.index') ? 'dark:text-gray-100' : null }}"> |
551 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> | 551 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> |
552 | </li> | 552 | </li> |
553 | @endif | 553 | @endif |
554 | @endif | 554 | @endif |
555 | 555 | ||
556 | @if ($cont->url_page == "admin/category-emp") | 556 | @if ($cont->url_page == "admin/category-emp") |
557 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 557 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
558 | (($cont->is_manager == 1) && ($is_manager == 1))) | 558 | (($cont->is_manager == 1) && ($is_manager == 1))) |
559 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.category-emp.index') ? 'dark:text-gray-100' : null }}"> | 559 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.category-emp.index') ? 'dark:text-gray-100' : null }}"> |
560 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> | 560 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> |
561 | </li> | 561 | </li> |
562 | @endif | 562 | @endif |
563 | @endif | 563 | @endif |
564 | 564 | ||
565 | @if ($cont->url_page == "admin/infobloks") | 565 | @if ($cont->url_page == "admin/infobloks") |
566 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 566 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
567 | (($cont->is_manager == 1) && ($is_manager == 1))) | 567 | (($cont->is_manager == 1) && ($is_manager == 1))) |
568 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.infobloks.index') ? 'dark:text-gray-100' : null }}"> | 568 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.infobloks.index') ? 'dark:text-gray-100' : null }}"> |
569 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> | 569 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> |
570 | </li> | 570 | </li> |
571 | @endif | 571 | @endif |
572 | @endif | 572 | @endif |
573 | @endforeach | 573 | @endforeach |
574 | </ul> | 574 | </ul> |
575 | </template> | 575 | </template> |
576 | </li> | 576 | </li> |
577 | 577 | ||
578 | <!-- Редактор --> | 578 | <!-- Редактор --> |
579 | <li class="relative px-6 py-3"> | 579 | <li class="relative px-6 py-3"> |
580 | <button | 580 | <button |
581 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 581 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
582 | @click="togglePagesMenu" | 582 | @click="togglePagesMenu" |
583 | aria-haspopup="true"> | 583 | aria-haspopup="true"> |
584 | <span class="inline-flex items-center"> | 584 | <span class="inline-flex items-center"> |
585 | <svg | 585 | <svg |
586 | class="w-5 h-5" | 586 | class="w-5 h-5" |
587 | aria-hidden="true" | 587 | aria-hidden="true" |
588 | fill="none" | 588 | fill="none" |
589 | stroke-linecap="round" | 589 | stroke-linecap="round" |
590 | stroke-linejoin="round" | 590 | stroke-linejoin="round" |
591 | stroke-width="2" | 591 | stroke-width="2" |
592 | viewBox="0 0 24 24" | 592 | viewBox="0 0 24 24" |
593 | stroke="currentColor"> | 593 | stroke="currentColor"> |
594 | <path | 594 | <path |
595 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" | 595 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" |
596 | ></path> | 596 | ></path> |
597 | </svg> | 597 | </svg> |
598 | <span class="ml-4">Редактор</span> | 598 | <span class="ml-4">Редактор</span> |
599 | </span> | 599 | </span> |
600 | <svg | 600 | <svg |
601 | class="w-4 h-4" | 601 | class="w-4 h-4" |
602 | aria-hidden="true" | 602 | aria-hidden="true" |
603 | fill="currentColor" | 603 | fill="currentColor" |
604 | viewBox="0 0 20 20" | 604 | viewBox="0 0 20 20" |
605 | > | 605 | > |
606 | <path | 606 | <path |
607 | fill-rule="evenodd" | 607 | fill-rule="evenodd" |
608 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" | 608 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" |
609 | clip-rule="evenodd" | 609 | clip-rule="evenodd" |
610 | ></path> | 610 | ></path> |
611 | </svg> | 611 | </svg> |
612 | </button> | 612 | </button> |
613 | <template x-if="isPagesMenuOpen"> | 613 | <template x-if="isPagesMenuOpen"> |
614 | <ul | 614 | <ul |
615 | x-transition:enter="transition-all ease-in-out duration-300" | 615 | x-transition:enter="transition-all ease-in-out duration-300" |
616 | x-transition:enter-start="opacity-25 max-h-0" | 616 | x-transition:enter-start="opacity-25 max-h-0" |
617 | x-transition:enter-end="opacity-100 max-h-xl" | 617 | x-transition:enter-end="opacity-100 max-h-xl" |
618 | x-transition:leave="transition-all ease-in-out duration-300" | 618 | x-transition:leave="transition-all ease-in-out duration-300" |
619 | x-transition:leave-start="opacity-100 max-h-xl" | 619 | x-transition:leave-start="opacity-100 max-h-xl" |
620 | x-transition:leave-end="opacity-0 max-h-0" | 620 | x-transition:leave-end="opacity-0 max-h-0" |
621 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" | 621 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
622 | aria-label="submenu" | 622 | aria-label="submenu" |
623 | > | 623 | > |
624 | @foreach ($contents as $cont) | 624 | @foreach ($contents as $cont) |
625 | @if ($cont->url_page == "admin/editor-site") | 625 | @if ($cont->url_page == "admin/editor-site") |
626 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 626 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
627 | (($cont->is_manager == 1) && ($is_manager == 1))) | 627 | (($cont->is_manager == 1) && ($is_manager == 1))) |
628 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-site') ? 'dark:text-gray-100' : null }}"> | 628 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-site') ? 'dark:text-gray-100' : null }}"> |
629 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> | 629 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> |
630 | </li> | 630 | </li> |
631 | @endif | 631 | @endif |
632 | @endif | 632 | @endif |
633 | 633 | ||
634 | @if ($cont->url_page == "admin/edit-blocks") | 634 | @if ($cont->url_page == "admin/edit-blocks") |
635 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 635 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
636 | (($cont->is_manager == 1) && ($is_manager == 1))) | 636 | (($cont->is_manager == 1) && ($is_manager == 1))) |
637 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.edit-blocks') ? 'dark:text-gray-100' : null }}"> | 637 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.edit-blocks') ? 'dark:text-gray-100' : null }}"> |
638 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> | 638 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> |
639 | </li> | 639 | </li> |
640 | @endif | 640 | @endif |
641 | @endif | 641 | @endif |
642 | 642 | ||
643 | @if ($cont->url_page == "admin/editor-seo") | 643 | @if ($cont->url_page == "admin/editor-seo") |
644 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 644 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
645 | (($cont->is_manager == 1) && ($is_manager == 1))) | 645 | (($cont->is_manager == 1) && ($is_manager == 1))) |
646 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-seo') ? 'dark:text-gray-100' : null }}"> | 646 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-seo') ? 'dark:text-gray-100' : null }}"> |
647 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> | 647 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> |
648 | </li> | 648 | </li> |
649 | @endif | 649 | @endif |
650 | @endif | 650 | @endif |
651 | 651 | ||
652 | @if ($cont->url_page == "admin/editor-pages") | 652 | @if ($cont->url_page == "admin/editor-pages") |
653 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 653 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
654 | (($cont->is_manager == 1) && ($is_manager == 1))) | 654 | (($cont->is_manager == 1) && ($is_manager == 1))) |
655 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-pages') ? 'dark:text-gray-100' : null }}"> | 655 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-pages') ? 'dark:text-gray-100' : null }}"> |
656 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> | 656 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> |
657 | </li> | 657 | </li> |
658 | @endif | 658 | @endif |
659 | @endif | 659 | @endif |
660 | 660 | ||
661 | @if ($cont->url_page == "admin/job-titles-main") | 661 | @if ($cont->url_page == "admin/job-titles-main") |
662 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 662 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
663 | (($cont->is_manager == 1) && ($is_manager == 1))) | 663 | (($cont->is_manager == 1) && ($is_manager == 1))) |
664 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles-main') ? 'dark:text-gray-100' : null }}"> | 664 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles-main') ? 'dark:text-gray-100' : null }}"> |
665 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> | 665 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> |
666 | </li> | 666 | </li> |
667 | @endif | 667 | @endif |
668 | @endif | 668 | @endif |
669 | 669 | ||
670 | @if ($cont->url_page == "admin/employers-main") | 670 | @if ($cont->url_page == "admin/employers-main") |
671 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 671 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
672 | (($cont->is_manager == 1) && ($is_manager == 1))) | 672 | (($cont->is_manager == 1) && ($is_manager == 1))) |
673 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers-main') ? 'dark:text-gray-100' : null }}"> | 673 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers-main') ? 'dark:text-gray-100' : null }}"> |
674 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> | 674 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> |
675 | </li> | 675 | </li> |
676 | @endif | 676 | @endif |
677 | @endif | 677 | @endif |
678 | 678 | ||
679 | @endforeach | 679 | @endforeach |
680 | </ul> | 680 | </ul> |
681 | </template> | 681 | </template> |
682 | </li> | 682 | </li> |
683 | </ul> | 683 | </ul> |
684 | 684 | ||
685 | <!--<div class="px-6 my-6"> | 685 | <!--<div class="px-6 my-6"> |
686 | <button | 686 | <button |
687 | class="flex items-center justify-between w-full px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" | 687 | class="flex items-center justify-between w-full px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" |
688 | > | 688 | > |
689 | Create account | 689 | Create account |
690 | <span class="ml-2" aria-hidden="true">+</span> | 690 | <span class="ml-2" aria-hidden="true">+</span> |
691 | </button> | 691 | </button> |
692 | </div>--> | 692 | </div>--> |
693 | </div> | 693 | </div> |
694 | </aside> | 694 | </aside> |
695 | <!-- Mobile sidebar --> | 695 | <!-- Mobile sidebar --> |
696 | <!-- Backdrop --> | 696 | <!-- Backdrop --> |
697 | <div | 697 | <div |
698 | x-show="isSideMenuOpen" | 698 | x-show="isSideMenuOpen" |
699 | x-transition:enter="transition ease-in-out duration-150" | 699 | x-transition:enter="transition ease-in-out duration-150" |
700 | x-transition:enter-start="opacity-0" | 700 | x-transition:enter-start="opacity-0" |
701 | x-transition:enter-end="opacity-100" | 701 | x-transition:enter-end="opacity-100" |
702 | x-transition:leave="transition ease-in-out duration-150" | 702 | x-transition:leave="transition ease-in-out duration-150" |
703 | x-transition:leave-start="opacity-100" | 703 | x-transition:leave-start="opacity-100" |
704 | x-transition:leave-end="opacity-0" | 704 | x-transition:leave-end="opacity-0" |
705 | class="fixed inset-0 z-10 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center" | 705 | class="fixed inset-0 z-10 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center" |
706 | ></div> | 706 | ></div> |
707 | <aside | 707 | <aside |
708 | class="fixed inset-y-0 z-20 flex-shrink-0 w-64 mt-16 overflow-y-auto bg-white dark:bg-gray-800 md:hidden" | 708 | class="fixed inset-y-0 z-20 flex-shrink-0 w-64 mt-16 overflow-y-auto bg-white dark:bg-gray-800 md:hidden" |
709 | x-show="isSideMenuOpen" | 709 | x-show="isSideMenuOpen" |
710 | x-transition:enter="transition ease-in-out duration-150" | 710 | x-transition:enter="transition ease-in-out duration-150" |
711 | x-transition:enter-start="opacity-0 transform -translate-x-20" | 711 | x-transition:enter-start="opacity-0 transform -translate-x-20" |
712 | x-transition:enter-end="opacity-100" | 712 | x-transition:enter-end="opacity-100" |
713 | x-transition:leave="transition ease-in-out duration-150" | 713 | x-transition:leave="transition ease-in-out duration-150" |
714 | x-transition:leave-start="opacity-100" | 714 | x-transition:leave-start="opacity-100" |
715 | x-transition:leave-end="opacity-0 transform -translate-x-20" | 715 | x-transition:leave-end="opacity-0 transform -translate-x-20" |
716 | @click.away="closeSideMenu" | 716 | @click.away="closeSideMenu" |
717 | @keydown.escape="closeSideMenu" | 717 | @keydown.escape="closeSideMenu" |
718 | > | 718 | > |
719 | <div class="py-4 text-gray-500 dark:text-gray-400"> | 719 | <div class="py-4 text-gray-500 dark:text-gray-400"> |
720 | <a | 720 | <a |
721 | class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" | 721 | class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" |
722 | href="{{ route('admin.index') }}" | 722 | href="{{ route('admin.index') }}" |
723 | > | 723 | > |
724 | Админка | 724 | Админка |
725 | </a> | 725 | </a> |
726 | <ul class="mt-6"> | 726 | <ul class="mt-6"> |
727 | <li class="relative px-6 py-3"> | 727 | <li class="relative px-6 py-3"> |
728 | <span | 728 | <span |
729 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" | 729 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" |
730 | aria-hidden="true" | 730 | aria-hidden="true" |
731 | ></span> | 731 | ></span> |
732 | <a | 732 | <a |
733 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.index') }}" | 733 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.index') }}" |
734 | > | 734 | > |
735 | <svg | 735 | <svg |
736 | class="w-5 h-5" | 736 | class="w-5 h-5" |
737 | aria-hidden="true" | 737 | aria-hidden="true" |
738 | fill="none" | 738 | fill="none" |
739 | stroke-linecap="round" | 739 | stroke-linecap="round" |
740 | stroke-linejoin="round" | 740 | stroke-linejoin="round" |
741 | stroke-width="2" | 741 | stroke-width="2" |
742 | viewBox="0 0 24 24" | 742 | viewBox="0 0 24 24" |
743 | stroke="currentColor" | 743 | stroke="currentColor" |
744 | > | 744 | > |
745 | <path | 745 | <path |
746 | d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" | 746 | d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" |
747 | ></path> | 747 | ></path> |
748 | </svg> | 748 | </svg> |
749 | <span class="ml-4">Главная страница</span> | 749 | <span class="ml-4">Главная страница</span> |
750 | </a> | 750 | </a> |
751 | </li> | 751 | </li> |
752 | </ul> | 752 | </ul> |
753 | <ul> | 753 | <ul> |
754 | @foreach ($contents as $cont) | 754 | @foreach ($contents as $cont) |
755 | @if ($cont->url_page == "admin/users") | 755 | @if ($cont->url_page == "admin/users") |
756 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 756 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
757 | (($cont->is_manager == 1) && ($is_manager == 1))) | 757 | (($cont->is_manager == 1) && ($is_manager == 1))) |
758 | <li class="relative px-6 py-3"> | 758 | <li class="relative px-6 py-3"> |
759 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.users') }}"> | 759 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.users') }}"> |
760 | <svg | 760 | <svg |
761 | class="w-5 h-5" | 761 | class="w-5 h-5" |
762 | aria-hidden="true" | 762 | aria-hidden="true" |
763 | fill="none" | 763 | fill="none" |
764 | stroke-linecap="round" | 764 | stroke-linecap="round" |
765 | stroke-linejoin="round" | 765 | stroke-linejoin="round" |
766 | stroke-width="2" | 766 | stroke-width="2" |
767 | viewBox="0 0 24 24" | 767 | viewBox="0 0 24 24" |
768 | stroke="currentColor" | 768 | stroke="currentColor" |
769 | > | 769 | > |
770 | <path | 770 | <path |
771 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 771 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
772 | ></path> | 772 | ></path> |
773 | </svg> | 773 | </svg> |
774 | <span class="ml-4">Пользователи</span> | 774 | <span class="ml-4">Пользователи</span> |
775 | </a> | 775 | </a> |
776 | </li> | 776 | </li> |
777 | @endif | 777 | @endif |
778 | @endif | 778 | @endif |
779 | 779 | ||
780 | @if ($cont->url_page == "admin/admin-users") | 780 | @if ($cont->url_page == "admin/admin-users") |
781 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 781 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
782 | (($cont->is_manager == 1) && ($is_manager == 1))) | 782 | (($cont->is_manager == 1) && ($is_manager == 1))) |
783 | <li class="relative px-6 py-3"> | 783 | <li class="relative px-6 py-3"> |
784 | <a | 784 | <a |
785 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-users') }}" | 785 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-users') }}" |
786 | > | 786 | > |
787 | <svg | 787 | <svg |
788 | class="w-5 h-5" | 788 | class="w-5 h-5" |
789 | aria-hidden="true" | 789 | aria-hidden="true" |
790 | fill="none" | 790 | fill="none" |
791 | stroke-linecap="round" | 791 | stroke-linecap="round" |
792 | stroke-linejoin="round" | 792 | stroke-linejoin="round" |
793 | stroke-width="2" | 793 | stroke-width="2" |
794 | viewBox="0 0 24 24" | 794 | viewBox="0 0 24 24" |
795 | stroke="currentColor" | 795 | stroke="currentColor" |
796 | > | 796 | > |
797 | <path | 797 | <path |
798 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" | 798 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" |
799 | ></path> | 799 | ></path> |
800 | </svg> | 800 | </svg> |
801 | <span class="ml-4">Администраторы</span> | 801 | <span class="ml-4">Администраторы</span> |
802 | </a> | 802 | </a> |
803 | </li> | 803 | </li> |
804 | @endif | 804 | @endif |
805 | @endif | 805 | @endif |
806 | 806 | ||
807 | @if ($cont->url_page == "admin/employers") | 807 | @if ($cont->url_page == "admin/employers") |
808 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 808 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
809 | (($cont->is_manager == 1) && ($is_manager == 1))) | 809 | (($cont->is_manager == 1) && ($is_manager == 1))) |
810 | <li class="relative px-6 py-3"> | 810 | <li class="relative px-6 py-3"> |
811 | <a | 811 | <a |
812 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.employers') }}" | 812 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.employers') }}" |
813 | > | 813 | > |
814 | <svg | 814 | <svg |
815 | class="w-5 h-5" | 815 | class="w-5 h-5" |
816 | aria-hidden="true" | 816 | aria-hidden="true" |
817 | fill="none" | 817 | fill="none" |
818 | stroke-linecap="round" | 818 | stroke-linecap="round" |
819 | stroke-linejoin="round" | 819 | stroke-linejoin="round" |
820 | stroke-width="2" | 820 | stroke-width="2" |
821 | viewBox="0 0 24 24" | 821 | viewBox="0 0 24 24" |
822 | stroke="currentColor" | 822 | stroke="currentColor" |
823 | > | 823 | > |
824 | <path | 824 | <path |
825 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" | 825 | d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" |
826 | ></path> | 826 | ></path> |
827 | </svg> | 827 | </svg> |
828 | <span class="ml-4">Работодатели</span> | 828 | <span class="ml-4">Работодатели</span> |
829 | </a> | 829 | </a> |
830 | </li> | 830 | </li> |
831 | @endif | 831 | @endif |
832 | @endif | 832 | @endif |
833 | 833 | ||
834 | @if ($cont->url_page == "admin/workers") | 834 | @if ($cont->url_page == "admin/workers") |
835 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 835 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
836 | (($cont->is_manager == 1) && ($is_manager == 1))) | 836 | (($cont->is_manager == 1) && ($is_manager == 1))) |
837 | <li class="relative px-6 py-3"> | 837 | <li class="relative px-6 py-3"> |
838 | <a | 838 | <a |
839 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.workers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.workers') }}" | 839 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.workers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.workers') }}" |
840 | > | 840 | > |
841 | <svg | 841 | <svg |
842 | class="w-5 h-5" | 842 | class="w-5 h-5" |
843 | aria-hidden="true" | 843 | aria-hidden="true" |
844 | fill="none" | 844 | fill="none" |
845 | stroke-linecap="round" | 845 | stroke-linecap="round" |
846 | stroke-linejoin="round" | 846 | stroke-linejoin="round" |
847 | stroke-width="2" | 847 | stroke-width="2" |
848 | viewBox="0 0 24 24" | 848 | viewBox="0 0 24 24" |
849 | stroke="currentColor" | 849 | stroke="currentColor" |
850 | > | 850 | > |
851 | <path | 851 | <path |
852 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 852 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
853 | ></path> | 853 | ></path> |
854 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 854 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
855 | </svg> | 855 | </svg> |
856 | <span class="ml-4">Соискатели</span> | 856 | <span class="ml-4">Соискатели</span> |
857 | </a> | 857 | </a> |
858 | </li> | 858 | </li> |
859 | @endif | 859 | @endif |
860 | @endif | 860 | @endif |
861 | 861 | ||
862 | @if ($cont->url_page == "admin/ad-employers") | 862 | @if ($cont->url_page == "admin/ad-employers") |
863 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 863 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
864 | (($cont->is_manager == 1) && ($is_manager == 1))) | 864 | (($cont->is_manager == 1) && ($is_manager == 1))) |
865 | <li class="relative px-6 py-3"> | 865 | <li class="relative px-6 py-3"> |
866 | <a | 866 | <a |
867 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.ad-employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.ad-employers') }}" | 867 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.ad-employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.ad-employers') }}" |
868 | > | 868 | > |
869 | <svg | 869 | <svg |
870 | class="w-5 h-5" | 870 | class="w-5 h-5" |
871 | aria-hidden="true" | 871 | aria-hidden="true" |
872 | fill="none" | 872 | fill="none" |
873 | stroke-linecap="round" | 873 | stroke-linecap="round" |
874 | stroke-linejoin="round" | 874 | stroke-linejoin="round" |
875 | stroke-width="2" | 875 | stroke-width="2" |
876 | viewBox="0 0 24 24" | 876 | viewBox="0 0 24 24" |
877 | stroke="currentColor" | 877 | stroke="currentColor" |
878 | > | 878 | > |
879 | <path | 879 | <path |
880 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" | 880 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" |
881 | ></path> | 881 | ></path> |
882 | </svg> | 882 | </svg> |
883 | <span class="ml-4">Вакансии</span> | 883 | <span class="ml-4">Вакансии</span> |
884 | </a> | 884 | </a> |
885 | </li> | 885 | </li> |
886 | @endif | 886 | @endif |
887 | @endif | 887 | @endif |
888 | 888 | ||
889 | @if ($cont->url_page == "admin/messages") | 889 | @if ($cont->url_page == "admin/messages") |
890 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 890 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
891 | (($cont->is_manager == 1) && ($is_manager == 1))) | 891 | (($cont->is_manager == 1) && ($is_manager == 1))) |
892 | <li class="relative px-6 py-3"> | 892 | <li class="relative px-6 py-3"> |
893 | <a | 893 | <a |
894 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" | 894 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" |
895 | > | 895 | > |
896 | <svg | 896 | <svg |
897 | class="w-5 h-5" | 897 | class="w-5 h-5" |
898 | aria-hidden="true" | 898 | aria-hidden="true" |
899 | fill="none" | 899 | fill="none" |
900 | stroke-linecap="round" | 900 | stroke-linecap="round" |
901 | stroke-linejoin="round" | 901 | stroke-linejoin="round" |
902 | stroke-width="2" | 902 | stroke-width="2" |
903 | viewBox="0 0 24 24" | 903 | viewBox="0 0 24 24" |
904 | stroke="currentColor" | 904 | stroke="currentColor" |
905 | > | 905 | > |
906 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 906 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
907 | </svg> | 907 | </svg> |
908 | <span class="ml-4">Сообщения все</span> | 908 | <span class="ml-4">Сообщения все</span> |
909 | </a> | 909 | </a> |
910 | </li> | 910 | </li> |
911 | @endif | 911 | @endif |
912 | @endif | 912 | @endif |
913 | 913 | ||
914 | @if ($cont->url_page == "admin/admin-messages") | 914 | @if ($cont->url_page == "admin/admin-messages") |
915 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 915 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
916 | (($cont->is_manager == 1) && ($is_manager == 1))) | 916 | (($cont->is_manager == 1) && ($is_manager == 1))) |
917 | <li class="relative px-6 py-3"> | 917 | <li class="relative px-6 py-3"> |
918 | <a | 918 | <a |
919 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-messages') }}" | 919 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.admin-messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.admin-messages') }}" |
920 | > | 920 | > |
921 | <svg | 921 | <svg |
922 | class="w-5 h-5" | 922 | class="w-5 h-5" |
923 | aria-hidden="true" | 923 | aria-hidden="true" |
924 | fill="none" | 924 | fill="none" |
925 | stroke-linecap="round" | 925 | stroke-linecap="round" |
926 | stroke-linejoin="round" | 926 | stroke-linejoin="round" |
927 | stroke-width="2" | 927 | stroke-width="2" |
928 | viewBox="0 0 24 24" | 928 | viewBox="0 0 24 24" |
929 | stroke="currentColor" | 929 | stroke="currentColor" |
930 | > | 930 | > |
931 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 931 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
932 | </svg> | 932 | </svg> |
933 | <span class="ml-4">Заявки на рассылку</span> | 933 | <span class="ml-4">Заявки на рассылку</span> |
934 | </a> | 934 | </a> |
935 | </li> | 935 | </li> |
936 | @endif | 936 | @endif |
937 | @endif | 937 | @endif |
938 | 938 | ||
939 | @if ($cont->url_page == "admin/groups") | 939 | @if ($cont->url_page == "admin/groups") |
940 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 940 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
941 | (($cont->is_manager == 1) && ($is_manager == 1))) | 941 | (($cont->is_manager == 1) && ($is_manager == 1))) |
942 | <li class="relative px-6 py-3"> | 942 | <li class="relative px-6 py-3"> |
943 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.groups') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.groups') }}"> | 943 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.groups') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.groups') }}"> |
944 | <svg | 944 | <svg |
945 | class="w-5 h-5" | 945 | class="w-5 h-5" |
946 | aria-hidden="true" | 946 | aria-hidden="true" |
947 | fill="none" | 947 | fill="none" |
948 | stroke-linecap="round" | 948 | stroke-linecap="round" |
949 | stroke-linejoin="round" | 949 | stroke-linejoin="round" |
950 | stroke-width="2" | 950 | stroke-width="2" |
951 | viewBox="0 0 24 24" | 951 | viewBox="0 0 24 24" |
952 | stroke="currentColor" | 952 | stroke="currentColor" |
953 | > | 953 | > |
954 | <path | 954 | <path |
955 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 955 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
956 | ></path> | 956 | ></path> |
957 | </svg> | 957 | </svg> |
958 | <span class="ml-4">Группы пользователей</span> | 958 | <span class="ml-4">Группы пользователей</span> |
959 | </a> | 959 | </a> |
960 | </li> | 960 | </li> |
961 | @endif | 961 | @endif |
962 | @endif | 962 | @endif |
963 | 963 | ||
964 | @if ($cont->url_page == "admin/media") | 964 | @if ($cont->url_page == "admin/media") |
965 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 965 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
966 | (($cont->is_manager == 1) && ($is_manager == 1))) | 966 | (($cont->is_manager == 1) && ($is_manager == 1))) |
967 | <li class="relative px-6 py-3"> | 967 | <li class="relative px-6 py-3"> |
968 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.media') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.media') }}"> | 968 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.media') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.media') }}"> |
969 | <svg | 969 | <svg |
970 | class="w-5 h-5" | 970 | class="w-5 h-5" |
971 | aria-hidden="true" | 971 | aria-hidden="true" |
972 | fill="none" | 972 | fill="none" |
973 | stroke-linecap="round" | 973 | stroke-linecap="round" |
974 | stroke-linejoin="round" | 974 | stroke-linejoin="round" |
975 | stroke-width="2" | 975 | stroke-width="2" |
976 | viewBox="0 0 24 24" | 976 | viewBox="0 0 24 24" |
977 | stroke="currentColor" | 977 | stroke="currentColor" |
978 | > | 978 | > |
979 | <path | 979 | <path |
980 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 980 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
981 | ></path> | 981 | ></path> |
982 | </svg> | 982 | </svg> |
983 | <span class="ml-4">Медиа</span> | 983 | <span class="ml-4">Медиа</span> |
984 | </a> | 984 | </a> |
985 | </li> | 985 | </li> |
986 | @endif | 986 | @endif |
987 | @endif | 987 | @endif |
988 | 988 | ||
989 | @if ($cont->url_page == "admin/roles") | 989 | @if ($cont->url_page == "admin/roles") |
990 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 990 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
991 | (($cont->is_manager == 1) && ($is_manager == 1))) | 991 | (($cont->is_manager == 1) && ($is_manager == 1))) |
992 | |||
992 | <li class="relative px-6 py-3"> | 993 | <li class="relative px-6 py-3"> |
993 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.roles') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.roles') }}"> | 994 | <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.roles') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.roles') }}"> |
994 | <svg | 995 | <svg |
995 | class="w-5 h-5" | 996 | class="w-5 h-5" |
996 | aria-hidden="true" | 997 | aria-hidden="true" |
997 | fill="none" | 998 | fill="none" |
998 | stroke-linecap="round" | 999 | stroke-linecap="round" |
999 | stroke-linejoin="round" | 1000 | stroke-linejoin="round" |
1000 | stroke-width="2" | 1001 | stroke-width="2" |
1001 | viewBox="0 0 24 24" | 1002 | viewBox="0 0 24 24" |
1002 | stroke="currentColor" | 1003 | stroke="currentColor" |
1003 | > | 1004 | > |
1004 | <path | 1005 | <path |
1005 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" | 1006 | d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01" |
1006 | ></path> | 1007 | ></path> |
1007 | </svg> | 1008 | </svg> |
1008 | <span class="ml-4">Роли пользователей</span> | 1009 | <span class="ml-4">Роли пользователей</span> |
1009 | </a> | 1010 | </a> |
1010 | </li> | 1011 | </li> |
1011 | @endif | 1012 | @endif |
1012 | @endif | 1013 | @endif |
1013 | 1014 | ||
1014 | @if ($cont->url_page == "admin/basedata") | 1015 | @if ($cont->url_page == "admin/basedata") |
1015 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1016 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1016 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1017 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1017 | <li class="relative px-6 py-3"> | 1018 | <li class="relative px-6 py-3"> |
1018 | <a | 1019 | <a |
1019 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.basedata') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.basedata') }}" | 1020 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.basedata') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.basedata') }}" |
1020 | > | 1021 | > |
1021 | <svg | 1022 | <svg |
1022 | class="w-5 h-5" | 1023 | class="w-5 h-5" |
1023 | aria-hidden="true" | 1024 | aria-hidden="true" |
1024 | fill="none" | 1025 | fill="none" |
1025 | stroke-linecap="round" | 1026 | stroke-linecap="round" |
1026 | stroke-linejoin="round" | 1027 | stroke-linejoin="round" |
1027 | stroke-width="2" | 1028 | stroke-width="2" |
1028 | viewBox="0 0 24 24" | 1029 | viewBox="0 0 24 24" |
1029 | stroke="currentColor" | 1030 | stroke="currentColor" |
1030 | > | 1031 | > |
1031 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 1032 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
1032 | </svg> | 1033 | </svg> |
1033 | <span class="ml-4">Базы данных</span> | 1034 | <span class="ml-4">Базы данных</span> |
1034 | </a> | 1035 | </a> |
1035 | </li> | 1036 | </li> |
1036 | @endif | 1037 | @endif |
1037 | @endif | 1038 | @endif |
1038 | 1039 | ||
1039 | @if ($cont->url_page == "admin/education") | 1040 | @if ($cont->url_page == "admin/education") |
1040 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1041 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1041 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1042 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1042 | <li class="relative px-6 py-3"> | 1043 | <li class="relative px-6 py-3"> |
1043 | <a | 1044 | <a |
1044 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.education.index') }}" | 1045 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.education.index') }}" |
1045 | > | 1046 | > |
1046 | <svg | 1047 | <svg |
1047 | class="w-5 h-5" | 1048 | class="w-5 h-5" |
1048 | aria-hidden="true" | 1049 | aria-hidden="true" |
1049 | fill="none" | 1050 | fill="none" |
1050 | stroke-linecap="round" | 1051 | stroke-linecap="round" |
1051 | stroke-linejoin="round" | 1052 | stroke-linejoin="round" |
1052 | stroke-width="2" | 1053 | stroke-width="2" |
1053 | viewBox="0 0 24 24" | 1054 | viewBox="0 0 24 24" |
1054 | stroke="currentColor" | 1055 | stroke="currentColor" |
1055 | > | 1056 | > |
1056 | <path | 1057 | <path |
1057 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" | 1058 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" |
1058 | ></path> | 1059 | ></path> |
1059 | </svg> | 1060 | </svg> |
1060 | <span class="ml-4">Учебн.заведения</span> | 1061 | <span class="ml-4">Учебн.заведения</span> |
1061 | </a> | 1062 | </a> |
1062 | </li> | 1063 | </li> |
1063 | @endif | 1064 | @endif |
1064 | @endif | 1065 | @endif |
1065 | 1066 | ||
1066 | @if ($cont->url_page == "admin/statics") | 1067 | @if ($cont->url_page == "admin/statics") |
1067 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1068 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1068 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1069 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1069 | <li class="relative px-6 py-3"> | 1070 | <li class="relative px-6 py-3"> |
1070 | <a | 1071 | <a |
1071 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.statics') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.statics') }}" | 1072 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.statics') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.statics') }}" |
1072 | > | 1073 | > |
1073 | <svg | 1074 | <svg |
1074 | class="w-5 h-5" | 1075 | class="w-5 h-5" |
1075 | aria-hidden="true" | 1076 | aria-hidden="true" |
1076 | fill="none" | 1077 | fill="none" |
1077 | stroke-linecap="round" | 1078 | stroke-linecap="round" |
1078 | stroke-linejoin="round" | 1079 | stroke-linejoin="round" |
1079 | stroke-width="2" | 1080 | stroke-width="2" |
1080 | viewBox="0 0 24 24" | 1081 | viewBox="0 0 24 24" |
1081 | stroke="currentColor" | 1082 | stroke="currentColor" |
1082 | > | 1083 | > |
1083 | <path | 1084 | <path |
1084 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 1085 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
1085 | ></path> | 1086 | ></path> |
1086 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 1087 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
1087 | </svg> | 1088 | </svg> |
1088 | <span class="ml-4">Статистика</span> | 1089 | <span class="ml-4">Статистика</span> |
1089 | </a> | 1090 | </a> |
1090 | </li> | 1091 | </li> |
1091 | @endif | 1092 | @endif |
1092 | @endif | 1093 | @endif |
1093 | 1094 | ||
1094 | @if ($cont->url_page == "admin/messages") | 1095 | @if ($cont->url_page == "admin/messages") |
1095 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1096 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1096 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1097 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1097 | <li class="relative px-6 py-3"> | 1098 | <li class="relative px-6 py-3"> |
1098 | <a | 1099 | <a |
1099 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" | 1100 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" |
1100 | > | 1101 | > |
1101 | <svg | 1102 | <svg |
1102 | class="w-5 h-5" | 1103 | class="w-5 h-5" |
1103 | aria-hidden="true" | 1104 | aria-hidden="true" |
1104 | fill="none" | 1105 | fill="none" |
1105 | stroke-linecap="round" | 1106 | stroke-linecap="round" |
1106 | stroke-linejoin="round" | 1107 | stroke-linejoin="round" |
1107 | stroke-width="2" | 1108 | stroke-width="2" |
1108 | viewBox="0 0 24 24" | 1109 | viewBox="0 0 24 24" |
1109 | stroke="currentColor" | 1110 | stroke="currentColor" |
1110 | > | 1111 | > |
1111 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 1112 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
1112 | </svg> | 1113 | </svg> |
1113 | <span class="ml-4">Сообщения все</span> | 1114 | <span class="ml-4">Сообщения все</span> |
1114 | </a> | 1115 | </a> |
1115 | </li> | 1116 | </li> |
1116 | @endif | 1117 | @endif |
1117 | @endif | 1118 | @endif |
1118 | 1119 | ||
1119 | @if ($cont->url_page == "admin/reclames") | 1120 | @if ($cont->url_page == "admin/reclames") |
1120 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1121 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1121 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1122 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1122 | <li class="relative px-6 py-3"> | 1123 | <li class="relative px-6 py-3"> |
1123 | <a | 1124 | <a |
1124 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.reclames') }}" | 1125 | class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.reclames') }}" |
1125 | > | 1126 | > |
1126 | <svg | 1127 | <svg |
1127 | class="w-5 h-5" | 1128 | class="w-5 h-5" |
1128 | aria-hidden="true" | 1129 | aria-hidden="true" |
1129 | fill="none" | 1130 | fill="none" |
1130 | stroke-linecap="round" | 1131 | stroke-linecap="round" |
1131 | stroke-linejoin="round" | 1132 | stroke-linejoin="round" |
1132 | stroke-width="2" | 1133 | stroke-width="2" |
1133 | viewBox="0 0 24 24" | 1134 | viewBox="0 0 24 24" |
1134 | stroke="currentColor" | 1135 | stroke="currentColor" |
1135 | > | 1136 | > |
1136 | <path | 1137 | <path |
1137 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" | 1138 | d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122" |
1138 | ></path> | 1139 | ></path> |
1139 | </svg> | 1140 | </svg> |
1140 | <span class="ml-4">Реклама</span> | 1141 | <span class="ml-4">Реклама</span> |
1141 | </a> | 1142 | </a> |
1142 | </li> | 1143 | </li> |
1143 | @endif | 1144 | @endif |
1144 | @endif | 1145 | @endif |
1145 | @endforeach | 1146 | @endforeach |
1146 | 1147 | ||
1147 | <!-- Справочники --> | 1148 | <!-- Справочники --> |
1148 | <li class="relative px-6 py-3" x-data="{ open2: false }"> | 1149 | <li class="relative px-6 py-3" x-data="{ open2: false }"> |
1149 | <button | 1150 | <button |
1150 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 1151 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
1151 | @click="open2=!open2" | 1152 | @click="open2=!open2" |
1152 | aria-haspopup="true"> | 1153 | aria-haspopup="true"> |
1153 | <span class="inline-flex items-center"> | 1154 | <span class="inline-flex items-center"> |
1154 | <svg | 1155 | <svg |
1155 | class="w-5 h-5" | 1156 | class="w-5 h-5" |
1156 | aria-hidden="true" | 1157 | aria-hidden="true" |
1157 | fill="none" | 1158 | fill="none" |
1158 | stroke-linecap="round" | 1159 | stroke-linecap="round" |
1159 | stroke-linejoin="round" | 1160 | stroke-linejoin="round" |
1160 | stroke-width="2" | 1161 | stroke-width="2" |
1161 | viewBox="0 0 24 24" | 1162 | viewBox="0 0 24 24" |
1162 | stroke="currentColor"> | 1163 | stroke="currentColor"> |
1163 | <path | 1164 | <path |
1164 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" | 1165 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" |
1165 | ></path> | 1166 | ></path> |
1166 | </svg> | 1167 | </svg> |
1167 | <span class="ml-4">Справочники</span> | 1168 | <span class="ml-4">Справочники</span> |
1168 | </span> | 1169 | </span> |
1169 | <svg | 1170 | <svg |
1170 | class="w-4 h-4" | 1171 | class="w-4 h-4" |
1171 | aria-hidden="true" | 1172 | aria-hidden="true" |
1172 | fill="currentColor" | 1173 | fill="currentColor" |
1173 | viewBox="0 0 20 20" | 1174 | viewBox="0 0 20 20" |
1174 | > | 1175 | > |
1175 | <path | 1176 | <path |
1176 | fill-rule="evenodd" | 1177 | fill-rule="evenodd" |
1177 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" | 1178 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" |
1178 | clip-rule="evenodd" | 1179 | clip-rule="evenodd" |
1179 | ></path> | 1180 | ></path> |
1180 | </svg> | 1181 | </svg> |
1181 | </button> | 1182 | </button> |
1182 | <template x-if="open2"> | 1183 | <template x-if="open2"> |
1183 | <ul | 1184 | <ul |
1184 | x-transition:enter="transition-all ease-in-out duration-300" | 1185 | x-transition:enter="transition-all ease-in-out duration-300" |
1185 | x-transition:enter-start="opacity-25 max-h-0" | 1186 | x-transition:enter-start="opacity-25 max-h-0" |
1186 | x-transition:enter-end="opacity-100 max-h-xl" | 1187 | x-transition:enter-end="opacity-100 max-h-xl" |
1187 | x-transition:leave="transition-all ease-in-out duration-300" | 1188 | x-transition:leave="transition-all ease-in-out duration-300" |
1188 | x-transition:leave-start="opacity-100 max-h-xl" | 1189 | x-transition:leave-start="opacity-100 max-h-xl" |
1189 | x-transition:leave-end="opacity-0 max-h-0" | 1190 | x-transition:leave-end="opacity-0 max-h-0" |
1190 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" | 1191 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
1191 | aria-label="submenu" | 1192 | aria-label="submenu" |
1192 | > | 1193 | > |
1193 | @foreach ($contents as $cont) | 1194 | @foreach ($contents as $cont) |
1194 | @if ($cont->url_page == "admin/job-titles") | 1195 | @if ($cont->url_page == "admin/job-titles") |
1195 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1196 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1196 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1197 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1197 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles.index') ? 'dark:text-gray-100' : null }}"> | 1198 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles.index') ? 'dark:text-gray-100' : null }}"> |
1198 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> | 1199 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> |
1199 | </li> | 1200 | </li> |
1200 | @endif | 1201 | @endif |
1201 | @endif | 1202 | @endif |
1202 | 1203 | ||
1203 | @if ($cont->url_page == "admin/categories") | 1204 | @if ($cont->url_page == "admin/categories") |
1204 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1205 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1205 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1206 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1206 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.categories.index') ? 'dark:text-gray-100' : null }}"> | 1207 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.categories.index') ? 'dark:text-gray-100' : null }}"> |
1207 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> | 1208 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> |
1208 | </li> | 1209 | </li> |
1209 | @endif | 1210 | @endif |
1210 | @endif | 1211 | @endif |
1211 | 1212 | ||
1212 | @if ($cont->url_page == "admin/category-emp") | 1213 | @if ($cont->url_page == "admin/category-emp") |
1213 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1214 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1214 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1215 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1215 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.category-emp.index') ? 'dark:text-gray-100' : null }}"> | 1216 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.category-emp.index') ? 'dark:text-gray-100' : null }}"> |
1216 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> | 1217 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> |
1217 | </li> | 1218 | </li> |
1218 | @endif | 1219 | @endif |
1219 | @endif | 1220 | @endif |
1220 | 1221 | ||
1221 | @if ($cont->url_page == "admin/infobloks") | 1222 | @if ($cont->url_page == "admin/infobloks") |
1222 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1223 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1223 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1224 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1224 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.infobloks.index') ? 'dark:text-gray-100' : null }}"> | 1225 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.infobloks.index') ? 'dark:text-gray-100' : null }}"> |
1225 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> | 1226 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> |
1226 | </li> | 1227 | </li> |
1227 | @endif | 1228 | @endif |
1228 | @endif | 1229 | @endif |
1229 | @endforeach | 1230 | @endforeach |
1230 | </ul> | 1231 | </ul> |
1231 | </template> | 1232 | </template> |
1232 | </li> | 1233 | </li> |
1233 | 1234 | ||
1234 | <!-- Редактор --> | 1235 | <!-- Редактор --> |
1235 | <li class="relative px-6 py-3"> | 1236 | <li class="relative px-6 py-3"> |
1236 | <button | 1237 | <button |
1237 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | 1238 | class="inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" |
1238 | @click="togglePagesMenu" | 1239 | @click="togglePagesMenu" |
1239 | aria-haspopup="true" | 1240 | aria-haspopup="true" |
1240 | > | 1241 | > |
1241 | <span class="inline-flex items-center"> | 1242 | <span class="inline-flex items-center"> |
1242 | <svg | 1243 | <svg |
1243 | class="w-5 h-5" | 1244 | class="w-5 h-5" |
1244 | aria-hidden="true" | 1245 | aria-hidden="true" |
1245 | fill="none" | 1246 | fill="none" |
1246 | stroke-linecap="round" | 1247 | stroke-linecap="round" |
1247 | stroke-linejoin="round" | 1248 | stroke-linejoin="round" |
1248 | stroke-width="2" | 1249 | stroke-width="2" |
1249 | viewBox="0 0 24 24" | 1250 | viewBox="0 0 24 24" |
1250 | stroke="currentColor" | 1251 | stroke="currentColor" |
1251 | > | 1252 | > |
1252 | <path | 1253 | <path |
1253 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" | 1254 | d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z" |
1254 | ></path> | 1255 | ></path> |
1255 | </svg> | 1256 | </svg> |
1256 | <span class="ml-4">Редактор</span> | 1257 | <span class="ml-4">Редактор</span> |
1257 | </span> | 1258 | </span> |
1258 | <svg | 1259 | <svg |
1259 | class="w-4 h-4" | 1260 | class="w-4 h-4" |
1260 | aria-hidden="true" | 1261 | aria-hidden="true" |
1261 | fill="currentColor" | 1262 | fill="currentColor" |
1262 | viewBox="0 0 20 20" | 1263 | viewBox="0 0 20 20" |
1263 | > | 1264 | > |
1264 | <path | 1265 | <path |
1265 | fill-rule="evenodd" | 1266 | fill-rule="evenodd" |
1266 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" | 1267 | d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" |
1267 | clip-rule="evenodd" | 1268 | clip-rule="evenodd" |
1268 | ></path> | 1269 | ></path> |
1269 | </svg> | 1270 | </svg> |
1270 | </button> | 1271 | </button> |
1271 | <template x-if="isPagesMenuOpen"> | 1272 | <template x-if="isPagesMenuOpen"> |
1272 | <ul | 1273 | <ul |
1273 | x-transition:enter="transition-all ease-in-out duration-300" | 1274 | x-transition:enter="transition-all ease-in-out duration-300" |
1274 | x-transition:enter-start="opacity-25 max-h-0" | 1275 | x-transition:enter-start="opacity-25 max-h-0" |
1275 | x-transition:enter-end="opacity-100 max-h-xl" | 1276 | x-transition:enter-end="opacity-100 max-h-xl" |
1276 | x-transition:leave="transition-all ease-in-out duration-300" | 1277 | x-transition:leave="transition-all ease-in-out duration-300" |
1277 | x-transition:leave-start="opacity-100 max-h-xl" | 1278 | x-transition:leave-start="opacity-100 max-h-xl" |
1278 | x-transition:leave-end="opacity-0 max-h-0" | 1279 | x-transition:leave-end="opacity-0 max-h-0" |
1279 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" | 1280 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
1280 | aria-label="submenu" | 1281 | aria-label="submenu" |
1281 | > | 1282 | > |
1282 | @foreach ($contents as $cont) | 1283 | @foreach ($contents as $cont) |
1283 | @if ($cont->url_page == "admin/editor-site") | 1284 | @if ($cont->url_page == "admin/editor-site") |
1284 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1285 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1285 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1286 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1286 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-site') ? 'dark:text-gray-100' : null }}"> | 1287 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-site') ? 'dark:text-gray-100' : null }}"> |
1287 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> | 1288 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> |
1288 | </li> | 1289 | </li> |
1289 | @endif | 1290 | @endif |
1290 | @endif | 1291 | @endif |
1291 | 1292 | ||
1292 | @if ($cont->url_page == "admin/edit-blocks") | 1293 | @if ($cont->url_page == "admin/edit-blocks") |
1293 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1294 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1294 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1295 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1295 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.edit-blocks') ? 'dark:text-gray-100' : null }}"> | 1296 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.edit-blocks') ? 'dark:text-gray-100' : null }}"> |
1296 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> | 1297 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> |
1297 | </li> | 1298 | </li> |
1298 | @endif | 1299 | @endif |
1299 | @endif | 1300 | @endif |
1300 | 1301 | ||
1301 | @if ($cont->url_page == "admin/editor-seo") | 1302 | @if ($cont->url_page == "admin/editor-seo") |
1302 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1303 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1303 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1304 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1304 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-seo') ? 'dark:text-gray-100' : null }}"> | 1305 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-seo') ? 'dark:text-gray-100' : null }}"> |
1305 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> | 1306 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> |
1306 | </li> | 1307 | </li> |
1307 | @endif | 1308 | @endif |
1308 | @endif | 1309 | @endif |
1309 | 1310 | ||
1310 | @if ($cont->url_page == "admin/editor-pages") | 1311 | @if ($cont->url_page == "admin/editor-pages") |
1311 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1312 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1312 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1313 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1313 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-pages') ? 'dark:text-gray-100' : null }}"> | 1314 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-pages') ? 'dark:text-gray-100' : null }}"> |
1314 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> | 1315 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> |
1315 | </li> | 1316 | </li> |
1316 | @endif | 1317 | @endif |
1317 | @endif | 1318 | @endif |
1318 | 1319 | ||
1319 | @if ($cont->url_page == "admin/job-titles-main") | 1320 | @if ($cont->url_page == "admin/job-titles-main") |
1320 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1321 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1321 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1322 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1322 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles-main') ? 'dark:text-gray-100' : null }}"> | 1323 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles-main') ? 'dark:text-gray-100' : null }}"> |
1323 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> | 1324 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> |
1324 | </li> | 1325 | </li> |
1325 | @endif | 1326 | @endif |
1326 | @endif | 1327 | @endif |
1327 | 1328 | ||
1328 | @if ($cont->url_page == "admin/employers-main") | 1329 | @if ($cont->url_page == "admin/employers-main") |
1329 | @if ((($cont->is_admin == 1) && ($admin == 1)) || | 1330 | @if ((($cont->is_admin == 1) && ($admin == 1)) || |
1330 | (($cont->is_manager == 1) && ($is_manager == 1))) | 1331 | (($cont->is_manager == 1) && ($is_manager == 1))) |
1331 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers-main') ? 'dark:text-gray-100' : null }}"> | 1332 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers-main') ? 'dark:text-gray-100' : null }}"> |
1332 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> | 1333 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> |
1333 | </li> | 1334 | </li> |
1334 | @endif | 1335 | @endif |
1335 | @endif | 1336 | @endif |
1336 | 1337 | ||
1337 | @endforeach | 1338 | @endforeach |
1338 | </ul> | 1339 | </ul> |
1339 | </template> | 1340 | </template> |
1340 | </li> | 1341 | </li> |
1341 | </ul> | 1342 | </ul> |
1342 | <!--<div class="px-6 my-6"> | 1343 | <!--<div class="px-6 my-6"> |
1343 | <button class="flex items-center justify-between px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple"> | 1344 | <button class="flex items-center justify-between px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple"> |
1344 | Create account | 1345 | Create account |
1345 | <span class="ml-2" aria-hidden="true">+</span> | 1346 | <span class="ml-2" aria-hidden="true">+</span> |
1346 | </button> | 1347 | </button> |
1347 | </div>--> | 1348 | </div>--> |
1348 | </div> | 1349 | </div> |
1349 | </aside> | 1350 | </aside> |
1350 | <div class="flex flex-col flex-1 w-full"> | 1351 | <div class="flex flex-col flex-1 w-full"> |
1351 | <header class="z-10 py-4 bg-white shadow-md dark:bg-gray-800"> | 1352 | <header class="z-10 py-4 bg-white shadow-md dark:bg-gray-800"> |
1352 | <div | 1353 | <div |
1353 | class="container flex items-center justify-between h-full px-6 mx-auto text-purple-600 dark:text-purple-300" | 1354 | class="container flex items-center justify-between h-full px-6 mx-auto text-purple-600 dark:text-purple-300" |
1354 | > | 1355 | > |
1355 | <!-- Mobile hamburger --> | 1356 | <!-- Mobile hamburger --> |
1356 | <button | 1357 | <button |
1357 | class="p-1 mr-5 -ml-1 rounded-md md:hidden focus:outline-none focus:shadow-outline-purple" | 1358 | class="p-1 mr-5 -ml-1 rounded-md md:hidden focus:outline-none focus:shadow-outline-purple" |
1358 | @click="toggleSideMenu" | 1359 | @click="toggleSideMenu" |
1359 | aria-label="Menu" | 1360 | aria-label="Menu" |
1360 | > | 1361 | > |
1361 | <svg | 1362 | <svg |
1362 | class="w-6 h-6" | 1363 | class="w-6 h-6" |
1363 | aria-hidden="true" | 1364 | aria-hidden="true" |
1364 | fill="currentColor" | 1365 | fill="currentColor" |
1365 | viewBox="0 0 20 20" | 1366 | viewBox="0 0 20 20" |
1366 | > | 1367 | > |
1367 | <path | 1368 | <path |
1368 | fill-rule="evenodd" | 1369 | fill-rule="evenodd" |
1369 | d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" | 1370 | d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" |
1370 | clip-rule="evenodd" | 1371 | clip-rule="evenodd" |
1371 | ></path> | 1372 | ></path> |
1372 | </svg> | 1373 | </svg> |
1373 | </button> | 1374 | </button> |
1374 | <!-- Search input --> | 1375 | <!-- Search input --> |
1375 | <div class="flex justify-center flex-1 lg:mr-32"> | 1376 | <div class="flex justify-center flex-1 lg:mr-32"> |
1376 | <div | 1377 | <div |
1377 | class="relative w-full max-w-xl mr-6 focus-within:text-purple-500" | 1378 | class="relative w-full max-w-xl mr-6 focus-within:text-purple-500" |
1378 | > | 1379 | > |
1379 | 1380 | ||
1380 | @yield('search') | 1381 | @yield('search') |
1381 | </div> | 1382 | </div> |
1382 | </div> | 1383 | </div> |
1383 | <ul class="flex items-center flex-shrink-0 space-x-6"> | 1384 | <ul class="flex items-center flex-shrink-0 space-x-6"> |
1384 | <!-- Theme toggler --> | 1385 | <!-- Theme toggler --> |
1385 | <li class="flex"> | 1386 | <li class="flex"> |
1386 | <button | 1387 | <button |
1387 | class="rounded-md focus:outline-none focus:shadow-outline-purple" | 1388 | class="rounded-md focus:outline-none focus:shadow-outline-purple" |
1388 | @click="toggleTheme" | 1389 | @click="toggleTheme" |
1389 | aria-label="Toggle color mode" | 1390 | aria-label="Toggle color mode" |
1390 | > | 1391 | > |
1391 | <template x-if="!dark"> | 1392 | <template x-if="!dark"> |
1392 | <svg | 1393 | <svg |
1393 | class="w-5 h-5" | 1394 | class="w-5 h-5" |
1394 | aria-hidden="true" | 1395 | aria-hidden="true" |
1395 | fill="currentColor" | 1396 | fill="currentColor" |
1396 | viewBox="0 0 20 20" | 1397 | viewBox="0 0 20 20" |
1397 | > | 1398 | > |
1398 | <path | 1399 | <path |
1399 | d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" | 1400 | d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" |
1400 | ></path> | 1401 | ></path> |
1401 | </svg> | 1402 | </svg> |
1402 | </template> | 1403 | </template> |
1403 | <template x-if="dark"> | 1404 | <template x-if="dark"> |
1404 | <svg | 1405 | <svg |
1405 | class="w-5 h-5" | 1406 | class="w-5 h-5" |
1406 | aria-hidden="true" | 1407 | aria-hidden="true" |
1407 | fill="currentColor" | 1408 | fill="currentColor" |
1408 | viewBox="0 0 20 20" | 1409 | viewBox="0 0 20 20" |
1409 | > | 1410 | > |
1410 | <path | 1411 | <path |
1411 | fill-rule="evenodd" | 1412 | fill-rule="evenodd" |
1412 | d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" | 1413 | d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" |
1413 | clip-rule="evenodd" | 1414 | clip-rule="evenodd" |
1414 | ></path> | 1415 | ></path> |
1415 | </svg> | 1416 | </svg> |
1416 | </template> | 1417 | </template> |
1417 | </button> | 1418 | </button> |
1418 | </li> | 1419 | </li> |
1419 | <!-- Notifications menu --> | 1420 | <!-- Notifications menu --> |
1420 | <li class="relative"> | 1421 | <li class="relative"> |
1421 | <button | 1422 | <button |
1422 | class="relative align-middle rounded-md focus:outline-none focus:shadow-outline-purple" | 1423 | class="relative align-middle rounded-md focus:outline-none focus:shadow-outline-purple" |
1423 | @click="toggleNotificationsMenu" | 1424 | @click="toggleNotificationsMenu" |
1424 | @keydown.escape="closeNotificationsMenu" | 1425 | @keydown.escape="closeNotificationsMenu" |
1425 | aria-label="Notifications" | 1426 | aria-label="Notifications" |
1426 | aria-haspopup="true" | 1427 | aria-haspopup="true" |
1427 | > | 1428 | > |
1428 | <svg | 1429 | <svg |
1429 | class="w-5 h-5" | 1430 | class="w-5 h-5" |
1430 | aria-hidden="true" | 1431 | aria-hidden="true" |
1431 | fill="currentColor" | 1432 | fill="currentColor" |
1432 | viewBox="0 0 20 20" | 1433 | viewBox="0 0 20 20" |
1433 | > | 1434 | > |
1434 | <path | 1435 | <path |
1435 | d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z" | 1436 | d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z" |
1436 | ></path> | 1437 | ></path> |
1437 | </svg> | 1438 | </svg> |
1438 | <!-- Notification badge --> | 1439 | <!-- Notification badge --> |
1439 | <span | 1440 | <span |
1440 | aria-hidden="true" | 1441 | aria-hidden="true" |
1441 | class="absolute top-0 right-0 inline-block w-3 h-3 transform translate-x-1 -translate-y-1 bg-red-600 border-2 border-white rounded-full dark:border-gray-800" | 1442 | class="absolute top-0 right-0 inline-block w-3 h-3 transform translate-x-1 -translate-y-1 bg-red-600 border-2 border-white rounded-full dark:border-gray-800" |
1442 | ></span> | 1443 | ></span> |
1443 | </button> | 1444 | </button> |
1444 | <template x-if="isNotificationsMenuOpen"> | 1445 | <template x-if="isNotificationsMenuOpen"> |
1445 | <ul | 1446 | <ul |
1446 | x-transition:leave="transition ease-in duration-150" | 1447 | x-transition:leave="transition ease-in duration-150" |
1447 | x-transition:leave-start="opacity-100" | 1448 | x-transition:leave-start="opacity-100" |
1448 | x-transition:leave-end="opacity-0" | 1449 | x-transition:leave-end="opacity-0" |
1449 | @click.away="closeNotificationsMenu" | 1450 | @click.away="closeNotificationsMenu" |
1450 | @keydown.escape="closeNotificationsMenu" | 1451 | @keydown.escape="closeNotificationsMenu" |
1451 | class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:text-gray-300 dark:border-gray-700 dark:bg-gray-700" | 1452 | class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:text-gray-300 dark:border-gray-700 dark:bg-gray-700" |
1452 | > | 1453 | > |
1453 | <li class="flex"> | 1454 | <li class="flex"> |
1454 | <a | 1455 | <a |
1455 | class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" | 1456 | class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" |
1456 | href="{{ route('admin.admin-messages') }}" | 1457 | href="{{ route('admin.admin-messages') }}" |
1457 | > | 1458 | > |
1458 | <span>Сообщения</span> | 1459 | <span>Сообщения</span> |
1459 | @if($MsgCount > 0) | 1460 | @if($MsgCount > 0) |
1460 | <span | 1461 | <span |
1461 | class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-red-600 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-600" | 1462 | class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-red-600 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-600" |
1462 | > | 1463 | > |
1463 | 1464 | ||
1464 | {{ $MsgCount }} | 1465 | {{ $MsgCount }} |
1465 | </span> | 1466 | </span> |
1466 | @endif | 1467 | @endif |
1467 | </a> | 1468 | </a> |
1468 | </li> | 1469 | </li> |
1469 | <!--<li class="flex"> | 1470 | <!--<li class="flex"> |
1470 | <a | 1471 | <a |
1471 | class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" | 1472 | class="inline-flex items-center justify-between w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" |
1472 | href="#" | 1473 | href="#" |
1473 | > | 1474 | > |
1474 | <span>Логи</span> | 1475 | <span>Логи</span> |
1475 | </a> | 1476 | </a> |
1476 | </li>--> | 1477 | </li>--> |
1477 | </ul> | 1478 | </ul> |
1478 | </template> | 1479 | </template> |
1479 | </li> | 1480 | </li> |
1480 | <!-- Profile menu --> | 1481 | <!-- Profile menu --> |
1481 | <li class="relative"> | 1482 | <li class="relative"> |
1482 | <button | 1483 | <button |
1483 | class="align-middle rounded-full focus:shadow-outline-purple focus:outline-none" | 1484 | class="align-middle rounded-full focus:shadow-outline-purple focus:outline-none" |
1484 | @click="toggleProfileMenu" | 1485 | @click="toggleProfileMenu" |
1485 | @keydown.escape="closeProfileMenu" | 1486 | @keydown.escape="closeProfileMenu" |
1486 | aria-label="Account" | 1487 | aria-label="Account" |
1487 | aria-haspopup="true" | 1488 | aria-haspopup="true" |
1488 | > | 1489 | > |
1489 | <img | 1490 | <img |
1490 | class="object-cover w-8 h-8 rounded-full" | 1491 | class="object-cover w-8 h-8 rounded-full" |
1491 | src="{{ asset('assets/img/profile.jpg') }}" | 1492 | src="{{ asset('assets/img/profile.jpg') }}" |
1492 | alt="" | 1493 | alt="" |
1493 | aria-hidden="true" | 1494 | aria-hidden="true" |
1494 | /> | 1495 | /> |
1495 | </button> | 1496 | </button> |
1496 | <template x-if="isProfileMenuOpen"> | 1497 | <template x-if="isProfileMenuOpen"> |
1497 | <ul | 1498 | <ul |
1498 | x-transition:leave="transition ease-in duration-150" | 1499 | x-transition:leave="transition ease-in duration-150" |
1499 | x-transition:leave-start="opacity-100" | 1500 | x-transition:leave-start="opacity-100" |
1500 | x-transition:leave-end="opacity-0" | 1501 | x-transition:leave-end="opacity-0" |
1501 | @click.away="closeProfileMenu" | 1502 | @click.away="closeProfileMenu" |
1502 | @keydown.escape="closeProfileMenu" | 1503 | @keydown.escape="closeProfileMenu" |
1503 | class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:border-gray-700 dark:text-gray-300 dark:bg-gray-700" | 1504 | class="absolute right-0 w-56 p-2 mt-2 space-y-2 text-gray-600 bg-white border border-gray-100 rounded-md shadow-md dark:border-gray-700 dark:text-gray-300 dark:bg-gray-700" |
1504 | aria-label="submenu" | 1505 | aria-label="submenu" |
1505 | > | 1506 | > |
1506 | <li class="flex"> | 1507 | <li class="flex"> |
1507 | <a | 1508 | <a |
1508 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" | 1509 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" |
1509 | href="{{ route('admin.profile') }}" | 1510 | href="{{ route('admin.profile') }}" |
1510 | > | 1511 | > |
1511 | <svg | 1512 | <svg |
1512 | class="w-4 h-4 mr-3" | 1513 | class="w-4 h-4 mr-3" |
1513 | aria-hidden="true" | 1514 | aria-hidden="true" |
1514 | fill="none" | 1515 | fill="none" |
1515 | stroke-linecap="round" | 1516 | stroke-linecap="round" |
1516 | stroke-linejoin="round" | 1517 | stroke-linejoin="round" |
1517 | stroke-width="2" | 1518 | stroke-width="2" |
1518 | viewBox="0 0 24 24" | 1519 | viewBox="0 0 24 24" |
1519 | stroke="currentColor" | 1520 | stroke="currentColor" |
1520 | > | 1521 | > |
1521 | <path | 1522 | <path |
1522 | d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" | 1523 | d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" |
1523 | ></path> | 1524 | ></path> |
1524 | </svg> | 1525 | </svg> |
1525 | <span>Профиль</span> | 1526 | <span>Профиль</span> |
1526 | </a> | 1527 | </a> |
1527 | </li> | 1528 | </li> |
1528 | <li class="flex"> | 1529 | <li class="flex"> |
1529 | <a | 1530 | <a |
1530 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" | 1531 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" |
1531 | href="{{ route('admin.config') }}" | 1532 | href="{{ route('admin.config') }}" |
1532 | > | 1533 | > |
1533 | <svg | 1534 | <svg |
1534 | class="w-4 h-4 mr-3" | 1535 | class="w-4 h-4 mr-3" |
1535 | aria-hidden="true" | 1536 | aria-hidden="true" |
1536 | fill="none" | 1537 | fill="none" |
1537 | stroke-linecap="round" | 1538 | stroke-linecap="round" |
1538 | stroke-linejoin="round" | 1539 | stroke-linejoin="round" |
1539 | stroke-width="2" | 1540 | stroke-width="2" |
1540 | viewBox="0 0 24 24" | 1541 | viewBox="0 0 24 24" |
1541 | stroke="currentColor" | 1542 | stroke="currentColor" |
1542 | > | 1543 | > |
1543 | <path | 1544 | <path |
1544 | d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" | 1545 | d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" |
1545 | ></path> | 1546 | ></path> |
1546 | <path d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> | 1547 | <path d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> |
1547 | </svg> | 1548 | </svg> |
1548 | <span>Настройки</span> | 1549 | <span>Настройки</span> |
1549 | </a> | 1550 | </a> |
1550 | </li> | 1551 | </li> |
1551 | <li class="flex"> | 1552 | <li class="flex"> |
1552 | <a | 1553 | <a |
1553 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" | 1554 | class="inline-flex items-center w-full px-2 py-1 text-sm font-semibold transition-colors duration-150 rounded-md hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200" |
1554 | href="{{ route('admin.logout') }}" | 1555 | href="{{ route('admin.logout') }}" |
1555 | > | 1556 | > |
1556 | <svg | 1557 | <svg |
1557 | class="w-4 h-4 mr-3" | 1558 | class="w-4 h-4 mr-3" |
1558 | aria-hidden="true" | 1559 | aria-hidden="true" |
1559 | fill="none" | 1560 | fill="none" |
1560 | stroke-linecap="round" | 1561 | stroke-linecap="round" |
1561 | stroke-linejoin="round" | 1562 | stroke-linejoin="round" |
1562 | stroke-width="2" | 1563 | stroke-width="2" |
1563 | viewBox="0 0 24 24" | 1564 | viewBox="0 0 24 24" |
1564 | stroke="currentColor" | 1565 | stroke="currentColor" |
1565 | > | 1566 | > |
1566 | <path | 1567 | <path |
1567 | d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1" | 1568 | d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1" |
1568 | ></path> | 1569 | ></path> |
1569 | </svg> | 1570 | </svg> |
1570 | <span>Выход</span> | 1571 | <span>Выход</span> |
1571 | </a> | 1572 | </a> |
1572 | </li> | 1573 | </li> |
1573 | </ul> | 1574 | </ul> |
1574 | </template> | 1575 | </template> |
1575 | </li> | 1576 | </li> |
1576 | </ul> | 1577 | </ul> |
1577 | </div> | 1578 | </div> |
1578 | </header> | 1579 | </header> |
1579 | <main class="h-full overflow-y-auto"> | 1580 | <main class="h-full overflow-y-auto"> |
1580 | <div class="container px-6 mx-auto grid"> | 1581 | <div class="container px-6 mx-auto grid"> |
1581 | <h2 | 1582 | <h2 |
1582 | class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200" | 1583 | class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200" |
1583 | > | 1584 | > |
1584 | {{$title}} | 1585 | {{$title}} |
1585 | </h2> | 1586 | </h2> |
1586 | <!-- CTA --> | 1587 | <!-- CTA --> |
1587 | <a | 1588 | <a |
1588 | class="flex items-center justify-between p-4 mb-8 text-sm font-semibold text-purple-100 bg-purple-600 rounded-lg shadow-md focus:outline-none focus:shadow-outline-purple" | 1589 | class="flex items-center justify-between p-4 mb-8 text-sm font-semibold text-purple-100 bg-purple-600 rounded-lg shadow-md focus:outline-none focus:shadow-outline-purple" |
1589 | href="{{ route('admin.admin-users') }}" | 1590 | href="{{ route('admin.admin-users') }}" |
1590 | > | 1591 | > |
1591 | <div class="flex items-center"> | 1592 | <div class="flex items-center"> |
1592 | <svg | 1593 | <svg |
1593 | class="w-5 h-5 mr-2" | 1594 | class="w-5 h-5 mr-2" |
1594 | fill="currentColor" | 1595 | fill="currentColor" |
1595 | viewBox="0 0 20 20" | 1596 | viewBox="0 0 20 20" |
1596 | > | 1597 | > |
1597 | <path | 1598 | <path |
1598 | d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" | 1599 | d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" |
1599 | ></path> | 1600 | ></path> |
1600 | </svg> | 1601 | </svg> |
1601 | <span>Контент для админов</span> | 1602 | <span>Контент для админов</span> |
1602 | </div> | 1603 | </div> |
1603 | <span>Список админов →</span> | 1604 | <span>Список админов →</span> |
1604 | </a> | 1605 | </a> |
1605 | 1606 | ||
1606 | @if ($message = Session::get('success')) | 1607 | @if ($message = Session::get('success')) |
1607 | <section> | 1608 | <section> |
1608 | <div class="alert alert-success alert-dismissible mt-0" role="alert"> | 1609 | <div class="alert alert-success alert-dismissible mt-0" role="alert"> |
1609 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> | 1610 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> |
1610 | <span aria-hidden="true">×</span> | 1611 | <span aria-hidden="true">×</span> |
1611 | </button> | 1612 | </button> |
1612 | {{ $message }} | 1613 | {{ $message }} |
1613 | </div> | 1614 | </div> |
1614 | </section> | 1615 | </section> |
1615 | @endif | 1616 | @endif |
1616 | 1617 | ||
1617 | @if ($errors->any()) | 1618 | @if ($errors->any()) |
1618 | <section> | 1619 | <section> |
1619 | <div class="alert alert-danger alert-dismissible mt-4" role="alert"> | 1620 | <div class="alert alert-danger alert-dismissible mt-4" role="alert"> |
1620 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> | 1621 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> |
1621 | <span aria-hidden="true">×</span> | 1622 | <span aria-hidden="true">×</span> |
1622 | </button> | 1623 | </button> |
1623 | <ul class="mb-0"> | 1624 | <ul class="mb-0"> |
1624 | @foreach ($errors->all() as $error) | 1625 | @foreach ($errors->all() as $error) |
1625 | <li>{{ $error }}</li> | 1626 | <li>{{ $error }}</li> |
1626 | @endforeach | 1627 | @endforeach |
1627 | </ul> | 1628 | </ul> |
1628 | </div> | 1629 | </div> |
1629 | </section> | 1630 | </section> |
1630 | @endif | 1631 | @endif |
1631 | 1632 | ||
1632 | @yield('content') | 1633 | @yield('content') |
1633 | 1634 | ||
1634 | <!-- Cards | 1635 | <!-- Cards |
1635 | <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> | 1636 | <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> |
1636 | 1637 | ||
1637 | <div | 1638 | <div |
1638 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1639 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1639 | > | 1640 | > |
1640 | <div | 1641 | <div |
1641 | class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500" | 1642 | class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500" |
1642 | > | 1643 | > |
1643 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1644 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1644 | <path | 1645 | <path |
1645 | d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z" | 1646 | d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z" |
1646 | ></path> | 1647 | ></path> |
1647 | </svg> | 1648 | </svg> |
1648 | </div> | 1649 | </div> |
1649 | <div> | 1650 | <div> |
1650 | <p | 1651 | <p |
1651 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1652 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1652 | > | 1653 | > |
1653 | Total clients | 1654 | Total clients |
1654 | </p> | 1655 | </p> |
1655 | <p | 1656 | <p |
1656 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1657 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1657 | > | 1658 | > |
1658 | 6389 | 1659 | 6389 |
1659 | </p> | 1660 | </p> |
1660 | </div> | 1661 | </div> |
1661 | </div> | 1662 | </div> |
1662 | 1663 | ||
1663 | <div | 1664 | <div |
1664 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1665 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1665 | > | 1666 | > |
1666 | <div | 1667 | <div |
1667 | class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500" | 1668 | class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500" |
1668 | > | 1669 | > |
1669 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1670 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1670 | <path | 1671 | <path |
1671 | fill-rule="evenodd" | 1672 | fill-rule="evenodd" |
1672 | d="M4 4a2 2 0 00-2 2v4a2 2 0 002 2V6h10a2 2 0 00-2-2H4zm2 6a2 2 0 012-2h8a2 2 0 012 2v4a2 2 0 01-2 2H8a2 2 0 01-2-2v-4zm6 4a2 2 0 100-4 2 2 0 000 4z" | 1673 | d="M4 4a2 2 0 00-2 2v4a2 2 0 002 2V6h10a2 2 0 00-2-2H4zm2 6a2 2 0 012-2h8a2 2 0 012 2v4a2 2 0 01-2 2H8a2 2 0 01-2-2v-4zm6 4a2 2 0 100-4 2 2 0 000 4z" |
1673 | clip-rule="evenodd" | 1674 | clip-rule="evenodd" |
1674 | ></path> | 1675 | ></path> |
1675 | </svg> | 1676 | </svg> |
1676 | </div> | 1677 | </div> |
1677 | <div> | 1678 | <div> |
1678 | <p | 1679 | <p |
1679 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1680 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1680 | > | 1681 | > |
1681 | Account balance | 1682 | Account balance |
1682 | </p> | 1683 | </p> |
1683 | <p | 1684 | <p |
1684 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1685 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1685 | > | 1686 | > |
1686 | $ 46,760.89 | 1687 | $ 46,760.89 |
1687 | </p> | 1688 | </p> |
1688 | </div> | 1689 | </div> |
1689 | </div> | 1690 | </div> |
1690 | 1691 | ||
1691 | <div | 1692 | <div |
1692 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1693 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1693 | > | 1694 | > |
1694 | <div | 1695 | <div |
1695 | class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500" | 1696 | class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500" |
1696 | > | 1697 | > |
1697 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1698 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1698 | <path | 1699 | <path |
1699 | d="M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z" | 1700 | d="M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z" |
1700 | ></path> | 1701 | ></path> |
1701 | </svg> | 1702 | </svg> |
1702 | </div> | 1703 | </div> |
1703 | <div> | 1704 | <div> |
1704 | <p | 1705 | <p |
1705 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1706 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1706 | > | 1707 | > |
1707 | New sales | 1708 | New sales |
1708 | </p> | 1709 | </p> |
1709 | <p | 1710 | <p |
1710 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1711 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1711 | > | 1712 | > |
1712 | 376 | 1713 | 376 |
1713 | </p> | 1714 | </p> |
1714 | </div> | 1715 | </div> |
1715 | </div> | 1716 | </div> |
1716 | 1717 | ||
1717 | <div | 1718 | <div |
1718 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1719 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1719 | > | 1720 | > |
1720 | <div | 1721 | <div |
1721 | class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500" | 1722 | class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500" |
1722 | > | 1723 | > |
1723 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1724 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1724 | <path | 1725 | <path |
1725 | fill-rule="evenodd" | 1726 | fill-rule="evenodd" |
1726 | d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" | 1727 | d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" |
1727 | clip-rule="evenodd" | 1728 | clip-rule="evenodd" |
1728 | ></path> | 1729 | ></path> |
1729 | </svg> | 1730 | </svg> |
1730 | </div> | 1731 | </div> |
1731 | <div> | 1732 | <div> |
1732 | <p | 1733 | <p |
1733 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1734 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1734 | > | 1735 | > |
1735 | Pending contacts | 1736 | Pending contacts |
1736 | </p> | 1737 | </p> |
1737 | <p | 1738 | <p |
1738 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1739 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1739 | > | 1740 | > |
1740 | 35 | 1741 | 35 |
1741 | </p> | 1742 | </p> |
1742 | </div> | 1743 | </div> |
1743 | </div> | 1744 | </div> |
1744 | </div> | 1745 | </div> |
1745 | --> | 1746 | --> |
1746 | <!-- New Table | 1747 | <!-- New Table |
1747 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> | 1748 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> |
1748 | <div class="w-full overflow-x-auto"> | 1749 | <div class="w-full overflow-x-auto"> |
1749 | <table class="w-full whitespace-no-wrap"> | 1750 | <table class="w-full whitespace-no-wrap"> |
1750 | <thead> | 1751 | <thead> |
1751 | <tr | 1752 | <tr |
1752 | class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" | 1753 | class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" |
1753 | > | 1754 | > |
1754 | <th class="px-4 py-3">Client</th> | 1755 | <th class="px-4 py-3">Client</th> |
1755 | <th class="px-4 py-3">Amount</th> | 1756 | <th class="px-4 py-3">Amount</th> |
1756 | <th class="px-4 py-3">Status</th> | 1757 | <th class="px-4 py-3">Status</th> |
1757 | <th class="px-4 py-3">Date</th> | 1758 | <th class="px-4 py-3">Date</th> |
1758 | </tr> | 1759 | </tr> |
1759 | </thead> | 1760 | </thead> |
1760 | <tbody | 1761 | <tbody |
1761 | class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800" | 1762 | class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800" |
1762 | > | 1763 | > |
1763 | <tr class="text-gray-700 dark:text-gray-400"> | 1764 | <tr class="text-gray-700 dark:text-gray-400"> |
1764 | <td class="px-4 py-3"> | 1765 | <td class="px-4 py-3"> |
1765 | <div class="flex items-center text-sm"> | 1766 | <div class="flex items-center text-sm"> |
1766 | 1767 | ||
1767 | <div | 1768 | <div |
1768 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1769 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1769 | > | 1770 | > |
1770 | <img | 1771 | <img |
1771 | class="object-cover w-full h-full rounded-full" | 1772 | class="object-cover w-full h-full rounded-full" |
1772 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 1773 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
1773 | alt="" | 1774 | alt="" |
1774 | loading="lazy" | 1775 | loading="lazy" |
1775 | /> | 1776 | /> |
1776 | <div | 1777 | <div |
1777 | class="absolute inset-0 rounded-full shadow-inner" | 1778 | class="absolute inset-0 rounded-full shadow-inner" |
1778 | aria-hidden="true" | 1779 | aria-hidden="true" |
1779 | ></div> | 1780 | ></div> |
1780 | </div> | 1781 | </div> |
1781 | <div> | 1782 | <div> |
1782 | <p class="font-semibold">Hans Burger</p> | 1783 | <p class="font-semibold">Hans Burger</p> |
1783 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1784 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1784 | 10x Developer | 1785 | 10x Developer |
1785 | </p> | 1786 | </p> |
1786 | </div> | 1787 | </div> |
1787 | </div> | 1788 | </div> |
1788 | </td> | 1789 | </td> |
1789 | <td class="px-4 py-3 text-sm"> | 1790 | <td class="px-4 py-3 text-sm"> |
1790 | $ 863.45 | 1791 | $ 863.45 |
1791 | </td> | 1792 | </td> |
1792 | <td class="px-4 py-3 text-xs"> | 1793 | <td class="px-4 py-3 text-xs"> |
1793 | <span | 1794 | <span |
1794 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 1795 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
1795 | > | 1796 | > |
1796 | Approved | 1797 | Approved |
1797 | </span> | 1798 | </span> |
1798 | </td> | 1799 | </td> |
1799 | <td class="px-4 py-3 text-sm"> | 1800 | <td class="px-4 py-3 text-sm"> |
1800 | 6/10/2020 | 1801 | 6/10/2020 |
1801 | </td> | 1802 | </td> |
1802 | </tr> | 1803 | </tr> |
1803 | 1804 | ||
1804 | <tr class="text-gray-700 dark:text-gray-400"> | 1805 | <tr class="text-gray-700 dark:text-gray-400"> |
1805 | <td class="px-4 py-3"> | 1806 | <td class="px-4 py-3"> |
1806 | <div class="flex items-center text-sm"> | 1807 | <div class="flex items-center text-sm"> |
1807 | 1808 | ||
1808 | <div | 1809 | <div |
1809 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1810 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1810 | > | 1811 | > |
1811 | <img | 1812 | <img |
1812 | class="object-cover w-full h-full rounded-full" | 1813 | class="object-cover w-full h-full rounded-full" |
1813 | src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&facepad=3&fit=facearea&s=707b9c33066bf8808c934c8ab394dff6" | 1814 | src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&facepad=3&fit=facearea&s=707b9c33066bf8808c934c8ab394dff6" |
1814 | alt="" | 1815 | alt="" |
1815 | loading="lazy" | 1816 | loading="lazy" |
1816 | /> | 1817 | /> |
1817 | <div | 1818 | <div |
1818 | class="absolute inset-0 rounded-full shadow-inner" | 1819 | class="absolute inset-0 rounded-full shadow-inner" |
1819 | aria-hidden="true" | 1820 | aria-hidden="true" |
1820 | ></div> | 1821 | ></div> |
1821 | </div> | 1822 | </div> |
1822 | <div> | 1823 | <div> |
1823 | <p class="font-semibold">Jolina Angelie</p> | 1824 | <p class="font-semibold">Jolina Angelie</p> |
1824 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1825 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1825 | Unemployed | 1826 | Unemployed |
1826 | </p> | 1827 | </p> |
1827 | </div> | 1828 | </div> |
1828 | </div> | 1829 | </div> |
1829 | </td> | 1830 | </td> |
1830 | <td class="px-4 py-3 text-sm"> | 1831 | <td class="px-4 py-3 text-sm"> |
1831 | $ 369.95 | 1832 | $ 369.95 |
1832 | </td> | 1833 | </td> |
1833 | <td class="px-4 py-3 text-xs"> | 1834 | <td class="px-4 py-3 text-xs"> |
1834 | <span | 1835 | <span |
1835 | class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600" | 1836 | class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600" |
1836 | > | 1837 | > |
1837 | Pending | 1838 | Pending |
1838 | </span> | 1839 | </span> |
1839 | </td> | 1840 | </td> |
1840 | <td class="px-4 py-3 text-sm"> | 1841 | <td class="px-4 py-3 text-sm"> |
1841 | 6/10/2020 | 1842 | 6/10/2020 |
1842 | </td> | 1843 | </td> |
1843 | </tr> | 1844 | </tr> |
1844 | 1845 | ||
1845 | <tr class="text-gray-700 dark:text-gray-400"> | 1846 | <tr class="text-gray-700 dark:text-gray-400"> |
1846 | <td class="px-4 py-3"> | 1847 | <td class="px-4 py-3"> |
1847 | <div class="flex items-center text-sm"> | 1848 | <div class="flex items-center text-sm"> |
1848 | 1849 | ||
1849 | <div | 1850 | <div |
1850 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1851 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1851 | > | 1852 | > |
1852 | <img | 1853 | <img |
1853 | class="object-cover w-full h-full rounded-full" | 1854 | class="object-cover w-full h-full rounded-full" |
1854 | src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 1855 | src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
1855 | alt="" | 1856 | alt="" |
1856 | loading="lazy" | 1857 | loading="lazy" |
1857 | /> | 1858 | /> |
1858 | <div | 1859 | <div |
1859 | class="absolute inset-0 rounded-full shadow-inner" | 1860 | class="absolute inset-0 rounded-full shadow-inner" |
1860 | aria-hidden="true" | 1861 | aria-hidden="true" |
1861 | ></div> | 1862 | ></div> |
1862 | </div> | 1863 | </div> |
1863 | <div> | 1864 | <div> |
1864 | <p class="font-semibold">Sarah Curry</p> | 1865 | <p class="font-semibold">Sarah Curry</p> |
1865 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1866 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1866 | Designer | 1867 | Designer |
1867 | </p> | 1868 | </p> |
1868 | </div> | 1869 | </div> |
1869 | </div> | 1870 | </div> |
1870 | </td> | 1871 | </td> |
1871 | <td class="px-4 py-3 text-sm"> | 1872 | <td class="px-4 py-3 text-sm"> |
1872 | $ 86.00 | 1873 | $ 86.00 |
1873 | </td> | 1874 | </td> |
1874 | <td class="px-4 py-3 text-xs"> | 1875 | <td class="px-4 py-3 text-xs"> |
1875 | <span | 1876 | <span |
1876 | class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700" | 1877 | class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700" |
1877 | > | 1878 | > |
1878 | Denied | 1879 | Denied |
1879 | </span> | 1880 | </span> |
1880 | </td> | 1881 | </td> |
1881 | <td class="px-4 py-3 text-sm"> | 1882 | <td class="px-4 py-3 text-sm"> |
1882 | 6/10/2020 | 1883 | 6/10/2020 |
1883 | </td> | 1884 | </td> |
1884 | </tr> | 1885 | </tr> |
1885 | 1886 | ||
1886 | <tr class="text-gray-700 dark:text-gray-400"> | 1887 | <tr class="text-gray-700 dark:text-gray-400"> |
1887 | <td class="px-4 py-3"> | 1888 | <td class="px-4 py-3"> |
1888 | <div class="flex items-center text-sm"> | 1889 | <div class="flex items-center text-sm"> |
1889 | 1890 | ||
1890 | <div | 1891 | <div |
1891 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1892 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1892 | > | 1893 | > |
1893 | <img | 1894 | <img |
1894 | class="object-cover w-full h-full rounded-full" | 1895 | class="object-cover w-full h-full rounded-full" |
1895 | src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 1896 | src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
1896 | alt="" | 1897 | alt="" |
1897 | loading="lazy" | 1898 | loading="lazy" |
1898 | /> | 1899 | /> |
1899 | <div | 1900 | <div |
1900 | class="absolute inset-0 rounded-full shadow-inner" | 1901 | class="absolute inset-0 rounded-full shadow-inner" |
1901 | aria-hidden="true" | 1902 | aria-hidden="true" |
1902 | ></div> | 1903 | ></div> |
1903 | </div> | 1904 | </div> |
1904 | <div> | 1905 | <div> |
1905 | <p class="font-semibold">Rulia Joberts</p> | 1906 | <p class="font-semibold">Rulia Joberts</p> |
1906 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1907 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1907 | Actress | 1908 | Actress |
1908 | </p> | 1909 | </p> |
1909 | </div> | 1910 | </div> |
1910 | </div> | 1911 | </div> |
1911 | </td> | 1912 | </td> |
1912 | <td class="px-4 py-3 text-sm"> | 1913 | <td class="px-4 py-3 text-sm"> |
1913 | $ 1276.45 | 1914 | $ 1276.45 |
1914 | </td> | 1915 | </td> |
1915 | <td class="px-4 py-3 text-xs"> | 1916 | <td class="px-4 py-3 text-xs"> |
1916 | <span | 1917 | <span |
1917 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 1918 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
1918 | > | 1919 | > |
1919 | Approved | 1920 | Approved |
1920 | </span> | 1921 | </span> |
1921 | </td> | 1922 | </td> |
1922 | <td class="px-4 py-3 text-sm"> | 1923 | <td class="px-4 py-3 text-sm"> |
1923 | 6/10/2020 | 1924 | 6/10/2020 |
1924 | </td> | 1925 | </td> |
1925 | </tr> | 1926 | </tr> |
1926 | 1927 | ||
1927 | <tr class="text-gray-700 dark:text-gray-400"> | 1928 | <tr class="text-gray-700 dark:text-gray-400"> |
1928 | <td class="px-4 py-3"> | 1929 | <td class="px-4 py-3"> |
1929 | <div class="flex items-center text-sm"> | 1930 | <div class="flex items-center text-sm"> |
1930 | 1931 | ||
1931 | <div | 1932 | <div |
1932 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1933 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1933 | > | 1934 | > |
1934 | <img | 1935 | <img |
1935 | class="object-cover w-full h-full rounded-full" | 1936 | class="object-cover w-full h-full rounded-full" |
1936 | src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 1937 | src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
1937 | alt="" | 1938 | alt="" |
1938 | loading="lazy" | 1939 | loading="lazy" |
1939 | /> | 1940 | /> |
1940 | <div | 1941 | <div |
1941 | class="absolute inset-0 rounded-full shadow-inner" | 1942 | class="absolute inset-0 rounded-full shadow-inner" |
1942 | aria-hidden="true" | 1943 | aria-hidden="true" |
1943 | ></div> | 1944 | ></div> |
1944 | </div> | 1945 | </div> |
1945 | <div> | 1946 | <div> |
1946 | <p class="font-semibold">Wenzel Dashington</p> | 1947 | <p class="font-semibold">Wenzel Dashington</p> |
1947 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1948 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1948 | Actor | 1949 | Actor |
1949 | </p> | 1950 | </p> |
1950 | </div> | 1951 | </div> |
1951 | </div> | 1952 | </div> |
1952 | </td> | 1953 | </td> |
1953 | <td class="px-4 py-3 text-sm"> | 1954 | <td class="px-4 py-3 text-sm"> |
1954 | $ 863.45 | 1955 | $ 863.45 |
1955 | </td> | 1956 | </td> |
1956 | <td class="px-4 py-3 text-xs"> | 1957 | <td class="px-4 py-3 text-xs"> |
1957 | <span | 1958 | <span |
1958 | class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700" | 1959 | class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700" |
1959 | > | 1960 | > |
1960 | Expired | 1961 | Expired |
1961 | </span> | 1962 | </span> |
1962 | </td> | 1963 | </td> |
1963 | <td class="px-4 py-3 text-sm"> | 1964 | <td class="px-4 py-3 text-sm"> |
1964 | 6/10/2020 | 1965 | 6/10/2020 |
1965 | </td> | 1966 | </td> |
1966 | </tr> | 1967 | </tr> |
1967 | 1968 | ||
1968 | <tr class="text-gray-700 dark:text-gray-400"> | 1969 | <tr class="text-gray-700 dark:text-gray-400"> |
1969 | <td class="px-4 py-3"> | 1970 | <td class="px-4 py-3"> |
1970 | <div class="flex items-center text-sm"> | 1971 | <div class="flex items-center text-sm"> |
1971 | 1972 | ||
1972 | <div | 1973 | <div |
1973 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1974 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1974 | > | 1975 | > |
1975 | <img | 1976 | <img |
1976 | class="object-cover w-full h-full rounded-full" | 1977 | class="object-cover w-full h-full rounded-full" |
1977 | src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5" | 1978 | src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5" |
1978 | alt="" | 1979 | alt="" |
1979 | loading="lazy" | 1980 | loading="lazy" |
1980 | /> | 1981 | /> |
1981 | <div | 1982 | <div |
1982 | class="absolute inset-0 rounded-full shadow-inner" | 1983 | class="absolute inset-0 rounded-full shadow-inner" |
1983 | aria-hidden="true" | 1984 | aria-hidden="true" |
1984 | ></div> | 1985 | ></div> |
1985 | </div> | 1986 | </div> |
1986 | <div> | 1987 | <div> |
1987 | <p class="font-semibold">Dave Li</p> | 1988 | <p class="font-semibold">Dave Li</p> |
1988 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1989 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1989 | Influencer | 1990 | Influencer |
1990 | </p> | 1991 | </p> |
1991 | </div> | 1992 | </div> |
1992 | </div> | 1993 | </div> |
1993 | </td> | 1994 | </td> |
1994 | <td class="px-4 py-3 text-sm"> | 1995 | <td class="px-4 py-3 text-sm"> |
1995 | $ 863.45 | 1996 | $ 863.45 |
1996 | </td> | 1997 | </td> |
1997 | <td class="px-4 py-3 text-xs"> | 1998 | <td class="px-4 py-3 text-xs"> |
1998 | <span | 1999 | <span |
1999 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 2000 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
2000 | > | 2001 | > |
2001 | Approved | 2002 | Approved |
2002 | </span> | 2003 | </span> |
2003 | </td> | 2004 | </td> |
2004 | <td class="px-4 py-3 text-sm"> | 2005 | <td class="px-4 py-3 text-sm"> |
2005 | 6/10/2020 | 2006 | 6/10/2020 |
2006 | </td> | 2007 | </td> |
2007 | </tr> | 2008 | </tr> |
2008 | 2009 | ||
2009 | <tr class="text-gray-700 dark:text-gray-400"> | 2010 | <tr class="text-gray-700 dark:text-gray-400"> |
2010 | <td class="px-4 py-3"> | 2011 | <td class="px-4 py-3"> |
2011 | <div class="flex items-center text-sm"> | 2012 | <div class="flex items-center text-sm"> |
2012 | 2013 | ||
2013 | <div | 2014 | <div |
2014 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 2015 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
2015 | > | 2016 | > |
2016 | <img | 2017 | <img |
2017 | class="object-cover w-full h-full rounded-full" | 2018 | class="object-cover w-full h-full rounded-full" |
2018 | src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 2019 | src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
2019 | alt="" | 2020 | alt="" |
2020 | loading="lazy" | 2021 | loading="lazy" |
2021 | /> | 2022 | /> |
2022 | <div | 2023 | <div |
2023 | class="absolute inset-0 rounded-full shadow-inner" | 2024 | class="absolute inset-0 rounded-full shadow-inner" |
2024 | aria-hidden="true" | 2025 | aria-hidden="true" |
2025 | ></div> | 2026 | ></div> |
2026 | </div> | 2027 | </div> |
2027 | <div> | 2028 | <div> |
2028 | <p class="font-semibold">Maria Ramovic</p> | 2029 | <p class="font-semibold">Maria Ramovic</p> |
2029 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 2030 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
2030 | Runner | 2031 | Runner |
2031 | </p> | 2032 | </p> |
2032 | </div> | 2033 | </div> |
2033 | </div> | 2034 | </div> |
2034 | </td> | 2035 | </td> |
2035 | <td class="px-4 py-3 text-sm"> | 2036 | <td class="px-4 py-3 text-sm"> |
2036 | $ 863.45 | 2037 | $ 863.45 |
2037 | </td> | 2038 | </td> |
2038 | <td class="px-4 py-3 text-xs"> | 2039 | <td class="px-4 py-3 text-xs"> |
2039 | <span | 2040 | <span |
2040 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 2041 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
2041 | > | 2042 | > |
2042 | Approved | 2043 | Approved |
2043 | </span> | 2044 | </span> |
2044 | </td> | 2045 | </td> |
2045 | <td class="px-4 py-3 text-sm"> | 2046 | <td class="px-4 py-3 text-sm"> |
2046 | 6/10/2020 | 2047 | 6/10/2020 |
2047 | </td> | 2048 | </td> |
2048 | </tr> | 2049 | </tr> |
2049 | 2050 | ||
2050 | <tr class="text-gray-700 dark:text-gray-400"> | 2051 | <tr class="text-gray-700 dark:text-gray-400"> |
2051 | <td class="px-4 py-3"> | 2052 | <td class="px-4 py-3"> |
2052 | <div class="flex items-center text-sm"> | 2053 | <div class="flex items-center text-sm"> |
2053 | 2054 | ||
2054 | <div | 2055 | <div |
2055 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 2056 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
2056 | > | 2057 | > |
2057 | <img | 2058 | <img |
2058 | class="object-cover w-full h-full rounded-full" | 2059 | class="object-cover w-full h-full rounded-full" |
2059 | src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 2060 | src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
2060 | alt="" | 2061 | alt="" |
2061 | loading="lazy" | 2062 | loading="lazy" |
2062 | /> | 2063 | /> |
2063 | <div | 2064 | <div |
2064 | class="absolute inset-0 rounded-full shadow-inner" | 2065 | class="absolute inset-0 rounded-full shadow-inner" |
2065 | aria-hidden="true" | 2066 | aria-hidden="true" |
2066 | ></div> | 2067 | ></div> |
2067 | </div> | 2068 | </div> |
2068 | <div> | 2069 | <div> |
2069 | <p class="font-semibold">Hitney Wouston</p> | 2070 | <p class="font-semibold">Hitney Wouston</p> |
2070 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 2071 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
2071 | Singer | 2072 | Singer |
2072 | </p> | 2073 | </p> |
2073 | </div> | 2074 | </div> |
2074 | </div> | 2075 | </div> |
2075 | </td> | 2076 | </td> |
2076 | <td class="px-4 py-3 text-sm"> | 2077 | <td class="px-4 py-3 text-sm"> |
2077 | $ 863.45 | 2078 | $ 863.45 |
2078 | </td> | 2079 | </td> |
2079 | <td class="px-4 py-3 text-xs"> | 2080 | <td class="px-4 py-3 text-xs"> |
2080 | <span | 2081 | <span |
2081 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 2082 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
2082 | > | 2083 | > |
2083 | Approved | 2084 | Approved |
2084 | </span> | 2085 | </span> |
2085 | </td> | 2086 | </td> |
2086 | <td class="px-4 py-3 text-sm"> | 2087 | <td class="px-4 py-3 text-sm"> |
2087 | 6/10/2020 | 2088 | 6/10/2020 |
2088 | </td> | 2089 | </td> |
2089 | </tr> | 2090 | </tr> |
2090 | 2091 | ||
2091 | <tr class="text-gray-700 dark:text-gray-400"> | 2092 | <tr class="text-gray-700 dark:text-gray-400"> |
2092 | <td class="px-4 py-3"> | 2093 | <td class="px-4 py-3"> |
2093 | <div class="flex items-center text-sm"> | 2094 | <div class="flex items-center text-sm"> |
2094 | 2095 | ||
2095 | <div | 2096 | <div |
2096 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 2097 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
2097 | > | 2098 | > |
2098 | <img | 2099 | <img |
2099 | class="object-cover w-full h-full rounded-full" | 2100 | class="object-cover w-full h-full rounded-full" |
2100 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 2101 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
2101 | alt="" | 2102 | alt="" |
2102 | loading="lazy" | 2103 | loading="lazy" |
2103 | /> | 2104 | /> |
2104 | <div | 2105 | <div |
2105 | class="absolute inset-0 rounded-full shadow-inner" | 2106 | class="absolute inset-0 rounded-full shadow-inner" |
2106 | aria-hidden="true" | 2107 | aria-hidden="true" |
2107 | ></div> | 2108 | ></div> |
2108 | </div> | 2109 | </div> |
2109 | <div> | 2110 | <div> |
2110 | <p class="font-semibold">Hans Burger</p> | 2111 | <p class="font-semibold">Hans Burger</p> |
2111 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 2112 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
2112 | 10x Developer | 2113 | 10x Developer |
2113 | </p> | 2114 | </p> |
2114 | </div> | 2115 | </div> |
2115 | </div> | 2116 | </div> |
2116 | </td> | 2117 | </td> |
2117 | <td class="px-4 py-3 text-sm"> | 2118 | <td class="px-4 py-3 text-sm"> |
2118 | $ 863.45 | 2119 | $ 863.45 |
2119 | </td> | 2120 | </td> |
2120 | <td class="px-4 py-3 text-xs"> | 2121 | <td class="px-4 py-3 text-xs"> |
2121 | <span | 2122 | <span |
2122 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 2123 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
2123 | > | 2124 | > |
2124 | Approved | 2125 | Approved |
2125 | </span> | 2126 | </span> |
2126 | </td> | 2127 | </td> |
2127 | <td class="px-4 py-3 text-sm"> | 2128 | <td class="px-4 py-3 text-sm"> |
2128 | 6/10/2020 | 2129 | 6/10/2020 |
2129 | </td> | 2130 | </td> |
2130 | </tr> | 2131 | </tr> |
2131 | </tbody> | 2132 | </tbody> |
2132 | </table> | 2133 | </table> |
2133 | </div> | 2134 | </div> |
2134 | <div | 2135 | <div |
2135 | class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800" | 2136 | class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800" |
2136 | > | 2137 | > |
2137 | <span class="flex items-center col-span-3"> | 2138 | <span class="flex items-center col-span-3"> |
2138 | Showing 21-30 of 100 | 2139 | Showing 21-30 of 100 |
2139 | </span> | 2140 | </span> |
2140 | <span class="col-span-2"></span> | 2141 | <span class="col-span-2"></span> |
2141 | 2142 | ||
2142 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> | 2143 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> |
2143 | <nav aria-label="Table navigation"> | 2144 | <nav aria-label="Table navigation"> |
2144 | <ul class="inline-flex items-center"> | 2145 | <ul class="inline-flex items-center"> |
2145 | <li> | 2146 | <li> |
2146 | <button | 2147 | <button |
2147 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" | 2148 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" |
2148 | aria-label="Previous" | 2149 | aria-label="Previous" |
2149 | > | 2150 | > |
2150 | <svg | 2151 | <svg |
2151 | aria-hidden="true" | 2152 | aria-hidden="true" |
2152 | class="w-4 h-4 fill-current" | 2153 | class="w-4 h-4 fill-current" |
2153 | viewBox="0 0 20 20" | 2154 | viewBox="0 0 20 20" |
2154 | > | 2155 | > |
2155 | <path | 2156 | <path |
2156 | d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" | 2157 | d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" |
2157 | clip-rule="evenodd" | 2158 | clip-rule="evenodd" |
2158 | fill-rule="evenodd" | 2159 | fill-rule="evenodd" |
2159 | ></path> | 2160 | ></path> |
2160 | </svg> | 2161 | </svg> |
2161 | </button> | 2162 | </button> |
2162 | </li> | 2163 | </li> |
2163 | <li> | 2164 | <li> |
2164 | <button | 2165 | <button |
2165 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 2166 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
2166 | > | 2167 | > |
2167 | 1 | 2168 | 1 |
2168 | </button> | 2169 | </button> |
2169 | </li> | 2170 | </li> |
2170 | <li> | 2171 | <li> |
2171 | <button | 2172 | <button |
2172 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 2173 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
2173 | > | 2174 | > |
2174 | 2 | 2175 | 2 |
2175 | </button> | 2176 | </button> |
2176 | </li> | 2177 | </li> |
2177 | <li> | 2178 | <li> |
2178 | <button | 2179 | <button |
2179 | class="px-3 py-1 text-white transition-colors duration-150 bg-purple-600 border border-r-0 border-purple-600 rounded-md focus:outline-none focus:shadow-outline-purple" | 2180 | class="px-3 py-1 text-white transition-colors duration-150 bg-purple-600 border border-r-0 border-purple-600 rounded-md focus:outline-none focus:shadow-outline-purple" |
2180 | > | 2181 | > |
2181 | 3 | 2182 | 3 |
2182 | </button> | 2183 | </button> |
2183 | </li> | 2184 | </li> |
2184 | <li> | 2185 | <li> |
2185 | <button | 2186 | <button |
2186 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 2187 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
2187 | > | 2188 | > |
2188 | 4 | 2189 | 4 |
2189 | </button> | 2190 | </button> |
2190 | </li> | 2191 | </li> |
2191 | <li> | 2192 | <li> |
2192 | <span class="px-3 py-1">...</span> | 2193 | <span class="px-3 py-1">...</span> |
2193 | </li> | 2194 | </li> |
2194 | <li> | 2195 | <li> |
2195 | <button | 2196 | <button |
2196 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 2197 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
2197 | > | 2198 | > |
2198 | 8 | 2199 | 8 |
2199 | </button> | 2200 | </button> |
2200 | </li> | 2201 | </li> |
2201 | <li> | 2202 | <li> |
2202 | <button | 2203 | <button |
2203 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 2204 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
2204 | > | 2205 | > |
2205 | 9 | 2206 | 9 |
2206 | </button> | 2207 | </button> |
2207 | </li> | 2208 | </li> |
2208 | <li> | 2209 | <li> |
2209 | <button | 2210 | <button |
2210 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" | 2211 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" |
2211 | aria-label="Next" | 2212 | aria-label="Next" |
2212 | > | 2213 | > |
2213 | <svg | 2214 | <svg |
2214 | class="w-4 h-4 fill-current" | 2215 | class="w-4 h-4 fill-current" |
2215 | aria-hidden="true" | 2216 | aria-hidden="true" |
2216 | viewBox="0 0 20 20" | 2217 | viewBox="0 0 20 20" |
2217 | > | 2218 | > |
2218 | <path | 2219 | <path |
2219 | d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" | 2220 | d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" |
2220 | clip-rule="evenodd" | 2221 | clip-rule="evenodd" |
2221 | fill-rule="evenodd" | 2222 | fill-rule="evenodd" |
2222 | ></path> | 2223 | ></path> |
2223 | </svg> | 2224 | </svg> |
2224 | </button> | 2225 | </button> |
2225 | </li> | 2226 | </li> |
2226 | </ul> | 2227 | </ul> |
2227 | </nav> | 2228 | </nav> |
2228 | </span> | 2229 | </span> |
2229 | </div> | 2230 | </div> |
2230 | </div> | 2231 | </div> |
2231 | --> | 2232 | --> |
2232 | <!-- Charts --> | 2233 | <!-- Charts --> |
2233 | <!-- | 2234 | <!-- |
2234 | <h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> | 2235 | <h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> |
2235 | Графики | 2236 | Графики |
2236 | </h2> | 2237 | </h2> |
2237 | <div class="grid gap-6 mb-8 md:grid-cols-2"> | 2238 | <div class="grid gap-6 mb-8 md:grid-cols-2"> |
2238 | <div | 2239 | <div |
2239 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 2240 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
2240 | > | 2241 | > |
2241 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 2242 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
2242 | Revenue | 2243 | Revenue |
2243 | </h4> | 2244 | </h4> |
2244 | <canvas id="pie"></canvas> | 2245 | <canvas id="pie"></canvas> |
2245 | <div | 2246 | <div |
2246 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 2247 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
2247 | > | 2248 | > |
2248 | 2249 | ||
2249 | <div class="flex items-center"> | 2250 | <div class="flex items-center"> |
2250 | <span | 2251 | <span |
2251 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" | 2252 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" |
2252 | ></span> | 2253 | ></span> |
2253 | <span>Shirts</span> | 2254 | <span>Shirts</span> |
2254 | </div> | 2255 | </div> |
2255 | <div class="flex items-center"> | 2256 | <div class="flex items-center"> |
2256 | <span | 2257 | <span |
2257 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 2258 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
2258 | ></span> | 2259 | ></span> |
2259 | <span>Shoes</span> | 2260 | <span>Shoes</span> |
2260 | </div> | 2261 | </div> |
2261 | <div class="flex items-center"> | 2262 | <div class="flex items-center"> |
2262 | <span | 2263 | <span |
2263 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 2264 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
2264 | ></span> | 2265 | ></span> |
2265 | <span>Bags</span> | 2266 | <span>Bags</span> |
2266 | </div> | 2267 | </div> |
2267 | </div> | 2268 | </div> |
2268 | </div> | 2269 | </div> |
2269 | <div | 2270 | <div |
2270 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 2271 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
2271 | > | 2272 | > |
2272 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 2273 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
2273 | Traffic | 2274 | Traffic |
2274 | </h4> | 2275 | </h4> |
2275 | <canvas id="line"></canvas> | 2276 | <canvas id="line"></canvas> |
2276 | <div | 2277 | <div |
2277 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 2278 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
2278 | > | 2279 | > |
2279 | 2280 | ||
2280 | <div class="flex items-center"> | 2281 | <div class="flex items-center"> |
2281 | <span | 2282 | <span |
2282 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 2283 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
2283 | ></span> | 2284 | ></span> |
2284 | <span>Organic</span> | 2285 | <span>Organic</span> |
2285 | </div> | 2286 | </div> |
2286 | <div class="flex items-center"> | 2287 | <div class="flex items-center"> |
2287 | <span | 2288 | <span |
2288 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 2289 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
2289 | ></span> | 2290 | ></span> |
2290 | <span>Paid</span> | 2291 | <span>Paid</span> |
2291 | </div> | 2292 | </div> |
2292 | </div> | 2293 | </div> |
2293 | </div> | 2294 | </div> |
2294 | </div> | 2295 | </div> |
2295 | --> | 2296 | --> |
2296 | </div> | 2297 | </div> |
2297 | </main> | 2298 | </main> |
2298 | </div> | 2299 | </div> |
2299 | </div> | 2300 | </div> |
2300 | @yield('modal') | 2301 | @yield('modal') |
2301 | </body> | 2302 | </body> |
2302 | @yield('script') | 2303 | @yield('script') |
2303 | </html> | 2304 | </html> |
2304 | 2305 |