Commit 251aff93aefff64e71b221ab636b9576683e135b
1 parent
6b5dca57f0
Exists in
master
and in
1 other branch
Изменения в меню админки. Баг со кавычками получатель-отправитель
Showing 2 changed files with 88 additions and 15 deletions Inline Diff
resources/views/admin/message-read.blade.php
1 | @extends('layout.admin', ['title' => 'Админка - Чтение чужого сообщения']) | 1 | @extends('layout.admin', ['title' => 'Админка - Чтение чужого сообщения']) |
2 | 2 | ||
3 | @section('script') | 3 | @section('script') |
4 | @endsection | 4 | @endsection |
5 | 5 | ||
6 | @section('search') | 6 | @section('search') |
7 | @endsection | 7 | @endsection |
8 | 8 | ||
9 | @section('content') | 9 | @section('content') |
10 | <div class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800"> | 10 | <div class="px-4 py-3 mb-8 bg-white rounded-lg shadow-md dark:bg-gray-800"> |
11 | <label class="block text-sm"> | 11 | <label class="block text-sm"> |
12 | <span class="text-gray-700 dark:text-gray-400">Отправитель</span> | 12 | <span class="text-gray-700 dark:text-gray-400">Отправитель</span> |
13 | <input name="name1" id="name1" disabled | 13 | <input name="name1" id="name1" disabled |
14 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" | 14 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" |
15 | placeholder="Название пункта" value="@php echo (isset($message->user_from->name)) ? $message->user_from->name.' ('.$message->user_from->id.')' : 'Не определен'; @endphp" | 15 | placeholder="Название пункта" value='@php echo (isset($message->user_from->name)) ? $message->user_from->name." (".$message->user_from->id.")" : "Не определен"; @endphp' |
16 | /> | 16 | /> |
17 | </label><br> | 17 | </label><br> |
18 | 18 | ||
19 | <label class="block text-sm"> | 19 | <label class="block text-sm"> |
20 | <span class="text-gray-700 dark:text-gray-400">Получатель</span> | 20 | <span class="text-gray-700 dark:text-gray-400">Получатель</span> |
21 | <input name="name2" id="name2" disabled | 21 | <input name="name2" id="name2" disabled |
22 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" | 22 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" |
23 | placeholder="Название пункта" value="@php echo (isset($message->user_to->name)) ? $message->user_to->name.' ('.$message->user_to->id.')' : 'Не определен'; @endphp" | 23 | placeholder="Название пункта" value='@php echo (isset($message->user_to->name)) ? $message->user_to->name." (".$message->user_to->id.")" : "Не определен"; @endphp' |
24 | /> | 24 | /> |
25 | </label><br> | 25 | </label><br> |
26 | 26 | ||
27 | <label class="block text-sm"> | 27 | <label class="block text-sm"> |
28 | <span class="text-gray-700 dark:text-gray-400">Текст</span> | 28 | <span class="text-gray-700 dark:text-gray-400">Текст</span> |
29 | <textarea name="text" id="text" disabled | 29 | <textarea name="text" id="text" disabled |
30 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" | 30 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" |
31 | placeholder="Текст">{{ $message->text }}</textarea> | 31 | placeholder="Текст">{{ $message->text }}</textarea> |
32 | </label><br> | 32 | </label><br> |
33 | 33 | ||
34 | <label class="block text-sm"> | 34 | <label class="block text-sm"> |
35 | <span class="text-gray-700 dark:text-gray-400">Дата отправки</span> | 35 | <span class="text-gray-700 dark:text-gray-400">Дата отправки</span> |
36 | <input name="created_at" id="created_at" disabled | 36 | <input name="created_at" id="created_at" disabled |
37 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" | 37 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" |
38 | placeholder="Дата отправки" value="{{ $message->created_at }}" | 38 | placeholder="Дата отправки" value="{{ $message->created_at }}" |
39 | /> | 39 | /> |
40 | </label><br> | 40 | </label><br> |
41 | 41 | ||
42 | <label class="block text-sm"> | 42 | <label class="block text-sm"> |
43 | <span class="text-gray-700 dark:text-gray-400">Дата изменения</span> | 43 | <span class="text-gray-700 dark:text-gray-400">Дата изменения</span> |
44 | <input name="updated_at" id="updated_at" disabled | 44 | <input name="updated_at" id="updated_at" disabled |
45 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" | 45 | class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input" |
46 | placeholder="Дата редактирования" value="{{ $message->updated_at }}" | 46 | placeholder="Дата редактирования" value="{{ $message->updated_at }}" |
47 | /> | 47 | /> |
48 | </label><br> | 48 | </label><br> |
49 | 49 | ||
50 | <a href="{{ route('admin.messages') }}" | 50 | <a href="{{ route('admin.messages') }}" |
51 | class="px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" | 51 | class="px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple" |
52 | style="display: -webkit-inline-box; height: 30px!important;" | 52 | style="display: -webkit-inline-box; height: 30px!important;" |
53 | >Назад</a> | 53 | >Назад</a> |
54 | </div> | 54 | </div> |
55 | @endsection | 55 | @endsection |
56 | 56 |
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.css')}}" /> | 11 | <link rel="stylesheet" href="{{ asset('./assets/css/tailwind.output.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 | <!--class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100" | 41 | <!--class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100" |
42 | --> | 42 | --> |
43 | <a | 43 | <a |
44 | 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 }}" | 44 | 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 }}" |
45 | href="{{ route('admin.index') }}" | 45 | href="{{ route('admin.index') }}" |
46 | > | 46 | > |
47 | <svg | 47 | <svg |
48 | class="w-5 h-5" | 48 | class="w-5 h-5" |
49 | aria-hidden="true" | 49 | aria-hidden="true" |
50 | fill="none" | 50 | fill="none" |
51 | stroke-linecap="round" | 51 | stroke-linecap="round" |
52 | stroke-linejoin="round" | 52 | stroke-linejoin="round" |
53 | stroke-width="2" | 53 | stroke-width="2" |
54 | viewBox="0 0 24 24" | 54 | viewBox="0 0 24 24" |
55 | stroke="currentColor" | 55 | stroke="currentColor" |
56 | > | 56 | > |
57 | <path | 57 | <path |
58 | 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" | 58 | 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" |
59 | ></path> | 59 | ></path> |
60 | </svg> | 60 | </svg> |
61 | <span class="ml-4">Главная страница</span> | 61 | <span class="ml-4">Главная страница</span> |
62 | </a> | 62 | </a> |
63 | </li> | 63 | </li> |
64 | </ul> | 64 | </ul> |
65 | <ul> | 65 | <ul> |
66 | @if ($UserId == 1) | 66 | @if ($UserId == 1) |
67 | <li class="relative px-6 py-3"> | 67 | <li class="relative px-6 py-3"> |
68 | <a | 68 | <a |
69 | 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 }}" | 69 | 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 }}" |
70 | href="{{ route('admin.users') }}" | 70 | href="{{ route('admin.users') }}" |
71 | > | 71 | > |
72 | <svg | 72 | <svg |
73 | class="w-5 h-5" | 73 | class="w-5 h-5" |
74 | aria-hidden="true" | 74 | aria-hidden="true" |
75 | fill="none" | 75 | fill="none" |
76 | stroke-linecap="round" | 76 | stroke-linecap="round" |
77 | stroke-linejoin="round" | 77 | stroke-linejoin="round" |
78 | stroke-width="2" | 78 | stroke-width="2" |
79 | viewBox="0 0 24 24" | 79 | viewBox="0 0 24 24" |
80 | stroke="currentColor" | 80 | stroke="currentColor" |
81 | > | 81 | > |
82 | <path | 82 | <path |
83 | 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" | 83 | 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" |
84 | ></path> | 84 | ></path> |
85 | </svg> | 85 | </svg> |
86 | <span class="ml-4">Пользователи</span> | 86 | <span class="ml-4">Пользователи</span> |
87 | </a> | 87 | </a> |
88 | </li> | 88 | </li> |
89 | @endif | 89 | @endif |
90 | <li class="relative px-6 py-3"> | 90 | <li class="relative px-6 py-3"> |
91 | <a | 91 | <a |
92 | 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') }}" | 92 | 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') }}" |
93 | > | 93 | > |
94 | <svg | 94 | <svg |
95 | class="w-5 h-5" | 95 | class="w-5 h-5" |
96 | aria-hidden="true" | 96 | aria-hidden="true" |
97 | fill="none" | 97 | fill="none" |
98 | stroke-linecap="round" | 98 | stroke-linecap="round" |
99 | stroke-linejoin="round" | 99 | stroke-linejoin="round" |
100 | stroke-width="2" | 100 | stroke-width="2" |
101 | viewBox="0 0 24 24" | 101 | viewBox="0 0 24 24" |
102 | stroke="currentColor" | 102 | stroke="currentColor" |
103 | > | 103 | > |
104 | <path | 104 | <path |
105 | 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" | 105 | 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" |
106 | ></path> | 106 | ></path> |
107 | </svg> | 107 | </svg> |
108 | <span class="ml-4">Администраторы</span> | 108 | <span class="ml-4">Администраторы</span> |
109 | </a> | 109 | </a> |
110 | </li> | 110 | </li> |
111 | <li class="relative px-6 py-3"> | 111 | <li class="relative px-6 py-3"> |
112 | <a | 112 | <a |
113 | 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') }}" | 113 | 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') }}" |
114 | > | 114 | > |
115 | <svg | 115 | <svg |
116 | class="w-5 h-5" | 116 | class="w-5 h-5" |
117 | aria-hidden="true" | 117 | aria-hidden="true" |
118 | fill="none" | 118 | fill="none" |
119 | stroke-linecap="round" | 119 | stroke-linecap="round" |
120 | stroke-linejoin="round" | 120 | stroke-linejoin="round" |
121 | stroke-width="2" | 121 | stroke-width="2" |
122 | viewBox="0 0 24 24" | 122 | viewBox="0 0 24 24" |
123 | stroke="currentColor" | 123 | stroke="currentColor" |
124 | > | 124 | > |
125 | <path | 125 | <path |
126 | 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" | 126 | 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" |
127 | ></path> | 127 | ></path> |
128 | </svg> | 128 | </svg> |
129 | <span class="ml-4">Работодатели</span> | 129 | <span class="ml-4">Работодатели</span> |
130 | </a> | 130 | </a> |
131 | </li> | 131 | </li> |
132 | <li class="relative px-6 py-3"> | 132 | <li class="relative px-6 py-3"> |
133 | <a | 133 | <a |
134 | 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') }}" | 134 | 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') }}" |
135 | > | 135 | > |
136 | <svg | 136 | <svg |
137 | class="w-5 h-5" | 137 | class="w-5 h-5" |
138 | aria-hidden="true" | 138 | aria-hidden="true" |
139 | fill="none" | 139 | fill="none" |
140 | stroke-linecap="round" | 140 | stroke-linecap="round" |
141 | stroke-linejoin="round" | 141 | stroke-linejoin="round" |
142 | stroke-width="2" | 142 | stroke-width="2" |
143 | viewBox="0 0 24 24" | 143 | viewBox="0 0 24 24" |
144 | stroke="currentColor" | 144 | stroke="currentColor" |
145 | > | 145 | > |
146 | <path | 146 | <path |
147 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 147 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
148 | ></path> | 148 | ></path> |
149 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 149 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
150 | </svg> | 150 | </svg> |
151 | <span class="ml-4">Соискатели</span> | 151 | <span class="ml-4">Соискатели</span> |
152 | </a> | 152 | </a> |
153 | </li> | 153 | </li> |
154 | <li class="relative px-6 py-3"> | 154 | <li class="relative px-6 py-3"> |
155 | <a | 155 | <a |
156 | 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') }}" | 156 | 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') }}" |
157 | > | 157 | > |
158 | <svg | 158 | <svg |
159 | class="w-5 h-5" | 159 | class="w-5 h-5" |
160 | aria-hidden="true" | 160 | aria-hidden="true" |
161 | fill="none" | 161 | fill="none" |
162 | stroke-linecap="round" | 162 | stroke-linecap="round" |
163 | stroke-linejoin="round" | 163 | stroke-linejoin="round" |
164 | stroke-width="2" | 164 | stroke-width="2" |
165 | viewBox="0 0 24 24" | 165 | viewBox="0 0 24 24" |
166 | stroke="currentColor" | 166 | stroke="currentColor" |
167 | > | 167 | > |
168 | <path | 168 | <path |
169 | 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" | 169 | 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" |
170 | ></path> | 170 | ></path> |
171 | </svg> | 171 | </svg> |
172 | <span class="ml-4">Вакансии</span> | 172 | <span class="ml-4">Вакансии</span> |
173 | </a> | 173 | </a> |
174 | </li> | 174 | </li> |
175 | 175 | ||
176 | <li class="relative px-6 py-3"> | 176 | <li class="relative px-6 py-3"> |
177 | <a | 177 | <a |
178 | 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') }}" | 178 | 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') }}" |
179 | > | 179 | > |
180 | <svg | 180 | <svg |
181 | class="w-5 h-5" | 181 | class="w-5 h-5" |
182 | aria-hidden="true" | 182 | aria-hidden="true" |
183 | fill="none" | 183 | fill="none" |
184 | stroke-linecap="round" | 184 | stroke-linecap="round" |
185 | stroke-linejoin="round" | 185 | stroke-linejoin="round" |
186 | stroke-width="2" | 186 | stroke-width="2" |
187 | viewBox="0 0 24 24" | 187 | viewBox="0 0 24 24" |
188 | stroke="currentColor" | 188 | stroke="currentColor" |
189 | > | 189 | > |
190 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 190 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
191 | </svg> | 191 | </svg> |
192 | <span class="ml-4">Сообщения все</span> | 192 | <span class="ml-4">Сообщения все</span> |
193 | </a> | 193 | </a> |
194 | </li> | 194 | </li> |
195 | <li class="relative px-6 py-3"> | 195 | <li class="relative px-6 py-3"> |
196 | <a | 196 | <a |
197 | 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') }}" | 197 | 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') }}" |
198 | > | 198 | > |
199 | <svg | 199 | <svg |
200 | class="w-5 h-5" | 200 | class="w-5 h-5" |
201 | aria-hidden="true" | 201 | aria-hidden="true" |
202 | fill="none" | 202 | fill="none" |
203 | stroke-linecap="round" | 203 | stroke-linecap="round" |
204 | stroke-linejoin="round" | 204 | stroke-linejoin="round" |
205 | stroke-width="2" | 205 | stroke-width="2" |
206 | viewBox="0 0 24 24" | 206 | viewBox="0 0 24 24" |
207 | stroke="currentColor" | 207 | stroke="currentColor" |
208 | > | 208 | > |
209 | <path | 209 | <path |
210 | 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" | 210 | 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" |
211 | ></path> | 211 | ></path> |
212 | </svg> | 212 | </svg> |
213 | <span class="ml-4">Группы пользователей</span> | 213 | <span class="ml-4">Группы пользователей</span> |
214 | </a> | 214 | </a> |
215 | </li> | 215 | </li> |
216 | @if ($UserId == 1) | 216 | @if ($UserId == 1) |
217 | <li class="relative px-6 py-3"> | 217 | <li class="relative px-6 py-3"> |
218 | <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') }}"> | 218 | <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') }}"> |
219 | <svg | 219 | <svg |
220 | class="w-5 h-5" | 220 | class="w-5 h-5" |
221 | aria-hidden="true" | 221 | aria-hidden="true" |
222 | fill="none" | 222 | fill="none" |
223 | stroke-linecap="round" | 223 | stroke-linecap="round" |
224 | stroke-linejoin="round" | 224 | stroke-linejoin="round" |
225 | stroke-width="2" | 225 | stroke-width="2" |
226 | viewBox="0 0 24 24" | 226 | viewBox="0 0 24 24" |
227 | stroke="currentColor" | 227 | stroke="currentColor" |
228 | > | 228 | > |
229 | <path | 229 | <path |
230 | 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" | 230 | 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" |
231 | ></path> | 231 | ></path> |
232 | </svg> | 232 | </svg> |
233 | <span class="ml-4">Роли пользователей</span> | 233 | <span class="ml-4">Роли пользователей</span> |
234 | </a> | 234 | </a> |
235 | </li> | 235 | </li> |
236 | @endif | 236 | @endif |
237 | <li class="relative px-6 py-3"> | 237 | <li class="relative px-6 py-3"> |
238 | <a | ||
239 | 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') }}" | ||
240 | > | ||
241 | <svg | ||
242 | class="w-5 h-5" | ||
243 | aria-hidden="true" | ||
244 | fill="none" | ||
245 | stroke-linecap="round" | ||
246 | stroke-linejoin="round" | ||
247 | stroke-width="2" | ||
248 | viewBox="0 0 24 24" | ||
249 | stroke="currentColor" | ||
250 | > | ||
251 | <path | ||
252 | 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" | ||
253 | ></path> | ||
254 | </svg> | ||
255 | <span class="ml-4">Учебн.заведения</span> | ||
256 | </a> | ||
257 | </li> | ||
258 | <li class="relative px-6 py-3"> | ||
238 | <a | 259 | <a |
239 | 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') }}" | 260 | 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') }}" |
240 | > | 261 | > |
241 | <svg | 262 | <svg |
242 | class="w-5 h-5" | 263 | class="w-5 h-5" |
243 | aria-hidden="true" | 264 | aria-hidden="true" |
244 | fill="none" | 265 | fill="none" |
245 | stroke-linecap="round" | 266 | stroke-linecap="round" |
246 | stroke-linejoin="round" | 267 | stroke-linejoin="round" |
247 | stroke-width="2" | 268 | stroke-width="2" |
248 | viewBox="0 0 24 24" | 269 | viewBox="0 0 24 24" |
249 | stroke="currentColor" | 270 | stroke="currentColor" |
250 | > | 271 | > |
251 | <path | 272 | <path |
252 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 273 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
253 | ></path> | 274 | ></path> |
254 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 275 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
255 | </svg> | 276 | </svg> |
256 | <span class="ml-4">Статистика</span> | 277 | <span class="ml-4">Статистика</span> |
257 | </a> | 278 | </a> |
258 | </li> | 279 | </li> |
259 | <li class="relative px-6 py-3"> | 280 | <li class="relative px-6 py-3"> |
260 | <a | 281 | <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.answers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.answers') }}" | 282 | 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') }}" |
262 | > | 283 | > |
263 | <svg | 284 | <svg |
264 | class="w-5 h-5" | 285 | class="w-5 h-5" |
265 | aria-hidden="true" | 286 | aria-hidden="true" |
266 | fill="none" | 287 | fill="none" |
267 | stroke-linecap="round" | 288 | stroke-linecap="round" |
268 | stroke-linejoin="round" | 289 | stroke-linejoin="round" |
269 | stroke-width="2" | 290 | stroke-width="2" |
270 | viewBox="0 0 24 24" | 291 | viewBox="0 0 24 24" |
271 | stroke="currentColor" | 292 | stroke="currentColor" |
272 | > | 293 | > |
273 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 294 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
274 | </svg> | 295 | </svg> |
275 | <span class="ml-4">Модерация</span> | 296 | <span class="ml-4">Модерация</span> |
276 | </a> | 297 | </a> |
277 | </li> | 298 | </li> |
299 | <li class="relative px-6 py-3"> | ||
300 | <a | ||
301 | 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') }}" | ||
302 | > | ||
303 | <svg | ||
304 | class="w-5 h-5" | ||
305 | aria-hidden="true" | ||
306 | fill="none" | ||
307 | stroke-linecap="round" | ||
308 | stroke-linejoin="round" | ||
309 | stroke-width="2" | ||
310 | viewBox="0 0 24 24" | ||
311 | stroke="currentColor" | ||
312 | > | ||
313 | <path | ||
314 | 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" | ||
315 | ></path> | ||
316 | </svg> | ||
317 | <span class="ml-4">Реклама</span> | ||
318 | </a> | ||
319 | </li> | ||
278 | <!-- Справочники --> | 320 | <!-- Справочники --> |
279 | <li class="relative px-6 py-3" x-data="{ open1: false }"> | 321 | <li class="relative px-6 py-3" x-data="{ open1: false }"> |
280 | <button | 322 | <button |
281 | 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" | 323 | 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" |
282 | @click="open1=!open1" | 324 | @click="open1=!open1" |
283 | aria-haspopup="true"> | 325 | aria-haspopup="true"> |
284 | <span class="inline-flex items-center"> | 326 | <span class="inline-flex items-center"> |
285 | <svg | 327 | <svg |
286 | class="w-5 h-5" | 328 | class="w-5 h-5" |
287 | aria-hidden="true" | 329 | aria-hidden="true" |
288 | fill="none" | 330 | fill="none" |
289 | stroke-linecap="round" | 331 | stroke-linecap="round" |
290 | stroke-linejoin="round" | 332 | stroke-linejoin="round" |
291 | stroke-width="2" | 333 | stroke-width="2" |
292 | viewBox="0 0 24 24" | 334 | viewBox="0 0 24 24" |
293 | stroke="currentColor"> | 335 | stroke="currentColor"> |
294 | <path | 336 | <path |
295 | 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" | 337 | 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" |
296 | ></path> | 338 | ></path> |
297 | </svg> | 339 | </svg> |
298 | <span class="ml-4">Справочники</span> | 340 | <span class="ml-4">Справочники</span> |
299 | </span> | 341 | </span> |
300 | <svg | 342 | <svg |
301 | class="w-4 h-4" | 343 | class="w-4 h-4" |
302 | aria-hidden="true" | 344 | aria-hidden="true" |
303 | fill="currentColor" | 345 | fill="currentColor" |
304 | viewBox="0 0 20 20" | 346 | viewBox="0 0 20 20" |
305 | > | 347 | > |
306 | <path | 348 | <path |
307 | fill-rule="evenodd" | 349 | fill-rule="evenodd" |
308 | 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" | 350 | 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" |
309 | clip-rule="evenodd" | 351 | clip-rule="evenodd" |
310 | ></path> | 352 | ></path> |
311 | </svg> | 353 | </svg> |
312 | </button> | 354 | </button> |
313 | <template x-if="open1"> | 355 | <template x-if="open1"> |
314 | <ul | 356 | <ul |
315 | x-transition:enter="transition-all ease-in-out duration-300" | 357 | x-transition:enter="transition-all ease-in-out duration-300" |
316 | x-transition:enter-start="opacity-25 max-h-0" | 358 | x-transition:enter-start="opacity-25 max-h-0" |
317 | x-transition:enter-end="opacity-100 max-h-xl" | 359 | x-transition:enter-end="opacity-100 max-h-xl" |
318 | x-transition:leave="transition-all ease-in-out duration-300" | 360 | x-transition:leave="transition-all ease-in-out duration-300" |
319 | x-transition:leave-start="opacity-100 max-h-xl" | 361 | x-transition:leave-start="opacity-100 max-h-xl" |
320 | x-transition:leave-end="opacity-0 max-h-0" | 362 | x-transition:leave-end="opacity-0 max-h-0" |
321 | 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" | 363 | 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" |
322 | aria-label="submenu" | 364 | aria-label="submenu" |
323 | > | 365 | > |
324 | <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 }}"> | 366 | <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 }}"> |
325 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> | 367 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> |
326 | </li> | 368 | </li> |
327 | <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 }}"> | 369 | <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 }}"> |
328 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> | 370 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> |
329 | </li> | 371 | </li> |
330 | <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 }}"> | 372 | <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 }}"> |
331 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> | 373 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> |
332 | </li> | 374 | </li> |
333 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}"> | ||
334 | <a class="w-full" href="{{ route('admin.education.index') }}">Образование</a> | ||
335 | </li> | ||
336 | <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 }}"> | 375 | <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 }}"> |
337 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> | 376 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> |
338 | </li> | 377 | </li> |
339 | 378 | ||
340 | </ul> | 379 | </ul> |
341 | </template> | 380 | </template> |
342 | </li> | 381 | </li> |
343 | 382 | ||
344 | 383 | ||
345 | <!-- Редактор --> | 384 | <!-- Редактор --> |
346 | <li class="relative px-6 py-3"> | 385 | <li class="relative px-6 py-3"> |
347 | <button | 386 | <button |
348 | 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" | 387 | 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" |
349 | @click="togglePagesMenu" | 388 | @click="togglePagesMenu" |
350 | aria-haspopup="true"> | 389 | aria-haspopup="true"> |
351 | <span class="inline-flex items-center"> | 390 | <span class="inline-flex items-center"> |
352 | <svg | 391 | <svg |
353 | class="w-5 h-5" | 392 | class="w-5 h-5" |
354 | aria-hidden="true" | 393 | aria-hidden="true" |
355 | fill="none" | 394 | fill="none" |
356 | stroke-linecap="round" | 395 | stroke-linecap="round" |
357 | stroke-linejoin="round" | 396 | stroke-linejoin="round" |
358 | stroke-width="2" | 397 | stroke-width="2" |
359 | viewBox="0 0 24 24" | 398 | viewBox="0 0 24 24" |
360 | stroke="currentColor"> | 399 | stroke="currentColor"> |
361 | <path | 400 | <path |
362 | 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" | 401 | 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" |
363 | ></path> | 402 | ></path> |
364 | </svg> | 403 | </svg> |
365 | <span class="ml-4">Редактор</span> | 404 | <span class="ml-4">Редактор</span> |
366 | </span> | 405 | </span> |
367 | <svg | 406 | <svg |
368 | class="w-4 h-4" | 407 | class="w-4 h-4" |
369 | aria-hidden="true" | 408 | aria-hidden="true" |
370 | fill="currentColor" | 409 | fill="currentColor" |
371 | viewBox="0 0 20 20" | 410 | viewBox="0 0 20 20" |
372 | > | 411 | > |
373 | <path | 412 | <path |
374 | fill-rule="evenodd" | 413 | fill-rule="evenodd" |
375 | 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" | 414 | 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" |
376 | clip-rule="evenodd" | 415 | clip-rule="evenodd" |
377 | ></path> | 416 | ></path> |
378 | </svg> | 417 | </svg> |
379 | </button> | 418 | </button> |
380 | <template x-if="isPagesMenuOpen"> | 419 | <template x-if="isPagesMenuOpen"> |
381 | <ul | 420 | <ul |
382 | x-transition:enter="transition-all ease-in-out duration-300" | 421 | x-transition:enter="transition-all ease-in-out duration-300" |
383 | x-transition:enter-start="opacity-25 max-h-0" | 422 | x-transition:enter-start="opacity-25 max-h-0" |
384 | x-transition:enter-end="opacity-100 max-h-xl" | 423 | x-transition:enter-end="opacity-100 max-h-xl" |
385 | x-transition:leave="transition-all ease-in-out duration-300" | 424 | x-transition:leave="transition-all ease-in-out duration-300" |
386 | x-transition:leave-start="opacity-100 max-h-xl" | 425 | x-transition:leave-start="opacity-100 max-h-xl" |
387 | x-transition:leave-end="opacity-0 max-h-0" | 426 | x-transition:leave-end="opacity-0 max-h-0" |
388 | 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" | 427 | 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" |
389 | aria-label="submenu" | 428 | aria-label="submenu" |
390 | > | 429 | > |
391 | <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 }}"> | 430 | <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 }}"> |
392 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> | 431 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> |
393 | </li> | 432 | </li> |
394 | <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 }}"> | 433 | <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 }}"> |
395 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> | 434 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> |
396 | </li> | 435 | </li> |
397 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}"> | 436 | |
398 | <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a> | ||
399 | </li> | ||
400 | <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 }}"> | 437 | <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 }}"> |
401 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> | 438 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> |
402 | </li> | 439 | </li> |
403 | <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 }}"> | 440 | <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 }}"> |
404 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> | 441 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> |
405 | </li> | 442 | </li> |
406 | <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 }}"> | 443 | <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 }}"> |
407 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> | 444 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> |
408 | </li> | 445 | </li> |
409 | <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 }}"> | 446 | <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 }}"> |
410 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> | 447 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> |
411 | </li> | 448 | </li> |
412 | </ul> | 449 | </ul> |
413 | </template> | 450 | </template> |
414 | </li> | 451 | </li> |
415 | 452 | ||
416 | </ul> | 453 | </ul> |
417 | <!--<div class="px-6 my-6"> | 454 | <!--<div class="px-6 my-6"> |
418 | <button | 455 | <button |
419 | 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" | 456 | 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" |
420 | > | 457 | > |
421 | Create account | 458 | Create account |
422 | <span class="ml-2" aria-hidden="true">+</span> | 459 | <span class="ml-2" aria-hidden="true">+</span> |
423 | </button> | 460 | </button> |
424 | </div>--> | 461 | </div>--> |
425 | </div> | 462 | </div> |
426 | </aside> | 463 | </aside> |
427 | <!-- Mobile sidebar --> | 464 | <!-- Mobile sidebar --> |
428 | <!-- Backdrop --> | 465 | <!-- Backdrop --> |
429 | <div | 466 | <div |
430 | x-show="isSideMenuOpen" | 467 | x-show="isSideMenuOpen" |
431 | x-transition:enter="transition ease-in-out duration-150" | 468 | x-transition:enter="transition ease-in-out duration-150" |
432 | x-transition:enter-start="opacity-0" | 469 | x-transition:enter-start="opacity-0" |
433 | x-transition:enter-end="opacity-100" | 470 | x-transition:enter-end="opacity-100" |
434 | x-transition:leave="transition ease-in-out duration-150" | 471 | x-transition:leave="transition ease-in-out duration-150" |
435 | x-transition:leave-start="opacity-100" | 472 | x-transition:leave-start="opacity-100" |
436 | x-transition:leave-end="opacity-0" | 473 | x-transition:leave-end="opacity-0" |
437 | class="fixed inset-0 z-10 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center" | 474 | class="fixed inset-0 z-10 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center" |
438 | ></div> | 475 | ></div> |
439 | <aside | 476 | <aside |
440 | 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" | 477 | 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" |
441 | x-show="isSideMenuOpen" | 478 | x-show="isSideMenuOpen" |
442 | x-transition:enter="transition ease-in-out duration-150" | 479 | x-transition:enter="transition ease-in-out duration-150" |
443 | x-transition:enter-start="opacity-0 transform -translate-x-20" | 480 | x-transition:enter-start="opacity-0 transform -translate-x-20" |
444 | x-transition:enter-end="opacity-100" | 481 | x-transition:enter-end="opacity-100" |
445 | x-transition:leave="transition ease-in-out duration-150" | 482 | x-transition:leave="transition ease-in-out duration-150" |
446 | x-transition:leave-start="opacity-100" | 483 | x-transition:leave-start="opacity-100" |
447 | x-transition:leave-end="opacity-0 transform -translate-x-20" | 484 | x-transition:leave-end="opacity-0 transform -translate-x-20" |
448 | @click.away="closeSideMenu" | 485 | @click.away="closeSideMenu" |
449 | @keydown.escape="closeSideMenu" | 486 | @keydown.escape="closeSideMenu" |
450 | > | 487 | > |
451 | <div class="py-4 text-gray-500 dark:text-gray-400"> | 488 | <div class="py-4 text-gray-500 dark:text-gray-400"> |
452 | <a | 489 | <a |
453 | class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" | 490 | class="ml-6 text-lg font-bold text-gray-800 dark:text-gray-200" |
454 | href="{{ route('admin.index') }}" | 491 | href="{{ route('admin.index') }}" |
455 | > | 492 | > |
456 | Админка | 493 | Админка |
457 | </a> | 494 | </a> |
458 | <ul class="mt-6"> | 495 | <ul class="mt-6"> |
459 | <li class="relative px-6 py-3"> | 496 | <li class="relative px-6 py-3"> |
460 | <span | 497 | <span |
461 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" | 498 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" |
462 | aria-hidden="true" | 499 | aria-hidden="true" |
463 | ></span> | 500 | ></span> |
464 | <a | 501 | <a |
465 | 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') }}" | 502 | 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') }}" |
466 | > | 503 | > |
467 | <svg | 504 | <svg |
468 | class="w-5 h-5" | 505 | class="w-5 h-5" |
469 | aria-hidden="true" | 506 | aria-hidden="true" |
470 | fill="none" | 507 | fill="none" |
471 | stroke-linecap="round" | 508 | stroke-linecap="round" |
472 | stroke-linejoin="round" | 509 | stroke-linejoin="round" |
473 | stroke-width="2" | 510 | stroke-width="2" |
474 | viewBox="0 0 24 24" | 511 | viewBox="0 0 24 24" |
475 | stroke="currentColor" | 512 | stroke="currentColor" |
476 | > | 513 | > |
477 | <path | 514 | <path |
478 | 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" | 515 | 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" |
479 | ></path> | 516 | ></path> |
480 | </svg> | 517 | </svg> |
481 | <span class="ml-4">Главная страница</span> | 518 | <span class="ml-4">Главная страница</span> |
482 | </a> | 519 | </a> |
483 | </li> | 520 | </li> |
484 | </ul> | 521 | </ul> |
485 | <ul> | 522 | <ul> |
486 | @if ($UserId == 1) | 523 | @if ($UserId == 1) |
487 | <li class="relative px-6 py-3"> | 524 | <li class="relative px-6 py-3"> |
488 | <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') }}"> | 525 | <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') }}"> |
489 | <svg | 526 | <svg |
490 | class="w-5 h-5" | 527 | class="w-5 h-5" |
491 | aria-hidden="true" | 528 | aria-hidden="true" |
492 | fill="none" | 529 | fill="none" |
493 | stroke-linecap="round" | 530 | stroke-linecap="round" |
494 | stroke-linejoin="round" | 531 | stroke-linejoin="round" |
495 | stroke-width="2" | 532 | stroke-width="2" |
496 | viewBox="0 0 24 24" | 533 | viewBox="0 0 24 24" |
497 | stroke="currentColor" | 534 | stroke="currentColor" |
498 | > | 535 | > |
499 | <path | 536 | <path |
500 | 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" | 537 | 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" |
501 | ></path> | 538 | ></path> |
502 | </svg> | 539 | </svg> |
503 | <span class="ml-4">Пользователи</span> | 540 | <span class="ml-4">Пользователи</span> |
504 | </a> | 541 | </a> |
505 | </li> | 542 | </li> |
506 | @endif | 543 | @endif |
507 | <li class="relative px-6 py-3"> | 544 | <li class="relative px-6 py-3"> |
508 | <a | 545 | <a |
509 | 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') }}" | 546 | 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') }}" |
510 | > | 547 | > |
511 | <svg | 548 | <svg |
512 | class="w-5 h-5" | 549 | class="w-5 h-5" |
513 | aria-hidden="true" | 550 | aria-hidden="true" |
514 | fill="none" | 551 | fill="none" |
515 | stroke-linecap="round" | 552 | stroke-linecap="round" |
516 | stroke-linejoin="round" | 553 | stroke-linejoin="round" |
517 | stroke-width="2" | 554 | stroke-width="2" |
518 | viewBox="0 0 24 24" | 555 | viewBox="0 0 24 24" |
519 | stroke="currentColor" | 556 | stroke="currentColor" |
520 | > | 557 | > |
521 | <path | 558 | <path |
522 | 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" | 559 | 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" |
523 | ></path> | 560 | ></path> |
524 | </svg> | 561 | </svg> |
525 | <span class="ml-4">Администраторы</span> | 562 | <span class="ml-4">Администраторы</span> |
526 | </a> | 563 | </a> |
527 | </li> | 564 | </li> |
528 | 565 | ||
529 | <li class="relative px-6 py-3"> | 566 | <li class="relative px-6 py-3"> |
530 | <a | 567 | <a |
531 | 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') }}" | 568 | 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') }}" |
532 | > | 569 | > |
533 | <svg | 570 | <svg |
534 | class="w-5 h-5" | 571 | class="w-5 h-5" |
535 | aria-hidden="true" | 572 | aria-hidden="true" |
536 | fill="none" | 573 | fill="none" |
537 | stroke-linecap="round" | 574 | stroke-linecap="round" |
538 | stroke-linejoin="round" | 575 | stroke-linejoin="round" |
539 | stroke-width="2" | 576 | stroke-width="2" |
540 | viewBox="0 0 24 24" | 577 | viewBox="0 0 24 24" |
541 | stroke="currentColor" | 578 | stroke="currentColor" |
542 | > | 579 | > |
543 | <path | 580 | <path |
544 | 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" | 581 | 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" |
545 | ></path> | 582 | ></path> |
546 | </svg> | 583 | </svg> |
547 | <span class="ml-4">Работодатели</span> | 584 | <span class="ml-4">Работодатели</span> |
548 | </a> | 585 | </a> |
549 | </li> | 586 | </li> |
550 | <li class="relative px-6 py-3"> | 587 | <li class="relative px-6 py-3"> |
551 | <a | 588 | <a |
552 | 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') }}" | 589 | 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') }}" |
553 | > | 590 | > |
554 | <svg | 591 | <svg |
555 | class="w-5 h-5" | 592 | class="w-5 h-5" |
556 | aria-hidden="true" | 593 | aria-hidden="true" |
557 | fill="none" | 594 | fill="none" |
558 | stroke-linecap="round" | 595 | stroke-linecap="round" |
559 | stroke-linejoin="round" | 596 | stroke-linejoin="round" |
560 | stroke-width="2" | 597 | stroke-width="2" |
561 | viewBox="0 0 24 24" | 598 | viewBox="0 0 24 24" |
562 | stroke="currentColor" | 599 | stroke="currentColor" |
563 | > | 600 | > |
564 | <path | 601 | <path |
565 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 602 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
566 | ></path> | 603 | ></path> |
567 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 604 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
568 | </svg> | 605 | </svg> |
569 | <span class="ml-4">Соискатели</span> | 606 | <span class="ml-4">Соискатели</span> |
570 | </a> | 607 | </a> |
571 | </li> | 608 | </li> |
572 | <li class="relative px-6 py-3"> | 609 | <li class="relative px-6 py-3"> |
573 | <a | 610 | <a |
574 | 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') }}" | 611 | 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') }}" |
575 | > | 612 | > |
576 | <svg | 613 | <svg |
577 | class="w-5 h-5" | 614 | class="w-5 h-5" |
578 | aria-hidden="true" | 615 | aria-hidden="true" |
579 | fill="none" | 616 | fill="none" |
580 | stroke-linecap="round" | 617 | stroke-linecap="round" |
581 | stroke-linejoin="round" | 618 | stroke-linejoin="round" |
582 | stroke-width="2" | 619 | stroke-width="2" |
583 | viewBox="0 0 24 24" | 620 | viewBox="0 0 24 24" |
584 | stroke="currentColor" | 621 | stroke="currentColor" |
585 | > | 622 | > |
586 | <path | 623 | <path |
587 | 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" | 624 | 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" |
588 | ></path> | 625 | ></path> |
589 | </svg> | 626 | </svg> |
590 | <span class="ml-4">Вакансии</span> | 627 | <span class="ml-4">Вакансии</span> |
591 | </a> | 628 | </a> |
592 | </li> | 629 | </li> |
593 | <li class="relative px-6 py-3"> | 630 | <li class="relative px-6 py-3"> |
594 | <a | 631 | <a |
595 | 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') }}" | 632 | 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') }}" |
596 | > | 633 | > |
597 | <svg | 634 | <svg |
598 | class="w-5 h-5" | 635 | class="w-5 h-5" |
599 | aria-hidden="true" | 636 | aria-hidden="true" |
600 | fill="none" | 637 | fill="none" |
601 | stroke-linecap="round" | 638 | stroke-linecap="round" |
602 | stroke-linejoin="round" | 639 | stroke-linejoin="round" |
603 | stroke-width="2" | 640 | stroke-width="2" |
604 | viewBox="0 0 24 24" | 641 | viewBox="0 0 24 24" |
605 | stroke="currentColor" | 642 | stroke="currentColor" |
606 | > | 643 | > |
607 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 644 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
608 | </svg> | 645 | </svg> |
609 | <span class="ml-4">Сообщения все</span> | 646 | <span class="ml-4">Сообщения все</span> |
610 | </a> | 647 | </a> |
611 | </li> | 648 | </li> |
612 | <li class="relative px-6 py-3"> | 649 | <li class="relative px-6 py-3"> |
613 | <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') }}"> | 650 | <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') }}"> |
614 | <svg | 651 | <svg |
615 | class="w-5 h-5" | 652 | class="w-5 h-5" |
616 | aria-hidden="true" | 653 | aria-hidden="true" |
617 | fill="none" | 654 | fill="none" |
618 | stroke-linecap="round" | 655 | stroke-linecap="round" |
619 | stroke-linejoin="round" | 656 | stroke-linejoin="round" |
620 | stroke-width="2" | 657 | stroke-width="2" |
621 | viewBox="0 0 24 24" | 658 | viewBox="0 0 24 24" |
622 | stroke="currentColor" | 659 | stroke="currentColor" |
623 | > | 660 | > |
624 | <path | 661 | <path |
625 | 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" | 662 | 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" |
626 | ></path> | 663 | ></path> |
627 | </svg> | 664 | </svg> |
628 | <span class="ml-4">Группы пользователей</span> | 665 | <span class="ml-4">Группы пользователей</span> |
629 | </a> | 666 | </a> |
630 | </li> | 667 | </li> |
631 | @if ($UserId == 1) | 668 | @if ($UserId == 1) |
632 | <li class="relative px-6 py-3"> | 669 | <li class="relative px-6 py-3"> |
633 | <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') }}"> | 670 | <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') }}"> |
634 | <svg | 671 | <svg |
635 | class="w-5 h-5" | 672 | class="w-5 h-5" |
636 | aria-hidden="true" | 673 | aria-hidden="true" |
637 | fill="none" | 674 | fill="none" |
638 | stroke-linecap="round" | 675 | stroke-linecap="round" |
639 | stroke-linejoin="round" | 676 | stroke-linejoin="round" |
640 | stroke-width="2" | 677 | stroke-width="2" |
641 | viewBox="0 0 24 24" | 678 | viewBox="0 0 24 24" |
642 | stroke="currentColor" | 679 | stroke="currentColor" |
643 | > | 680 | > |
644 | <path | 681 | <path |
645 | 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" | 682 | 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" |
646 | ></path> | 683 | ></path> |
647 | </svg> | 684 | </svg> |
648 | <span class="ml-4">Роли пользователей</span> | 685 | <span class="ml-4">Роли пользователей</span> |
649 | </a> | 686 | </a> |
650 | </li> | 687 | </li> |
651 | @endif | 688 | @endif |
652 | <li class="relative px-6 py-3"> | 689 | <li class="relative px-6 py-3"> |
690 | <a | ||
691 | 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') }}" | ||
692 | > | ||
693 | <svg | ||
694 | class="w-5 h-5" | ||
695 | aria-hidden="true" | ||
696 | fill="none" | ||
697 | stroke-linecap="round" | ||
698 | stroke-linejoin="round" | ||
699 | stroke-width="2" | ||
700 | viewBox="0 0 24 24" | ||
701 | stroke="currentColor" | ||
702 | > | ||
703 | <path | ||
704 | 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" | ||
705 | ></path> | ||
706 | </svg> | ||
707 | <span class="ml-4">Учебн.заведения</span> | ||
708 | </a> | ||
709 | </li> | ||
710 | <li class="relative px-6 py-3"> | ||
653 | <a | 711 | <a |
654 | 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') }}" | 712 | 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') }}" |
655 | > | 713 | > |
656 | <svg | 714 | <svg |
657 | class="w-5 h-5" | 715 | class="w-5 h-5" |
658 | aria-hidden="true" | 716 | aria-hidden="true" |
659 | fill="none" | 717 | fill="none" |
660 | stroke-linecap="round" | 718 | stroke-linecap="round" |
661 | stroke-linejoin="round" | 719 | stroke-linejoin="round" |
662 | stroke-width="2" | 720 | stroke-width="2" |
663 | viewBox="0 0 24 24" | 721 | viewBox="0 0 24 24" |
664 | stroke="currentColor" | 722 | stroke="currentColor" |
665 | > | 723 | > |
666 | <path | 724 | <path |
667 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" | 725 | d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z" |
668 | ></path> | 726 | ></path> |
669 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> | 727 | <path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path> |
670 | </svg> | 728 | </svg> |
671 | <span class="ml-4">Статистика</span> | 729 | <span class="ml-4">Статистика</span> |
672 | </a> | 730 | </a> |
673 | </li> | 731 | </li> |
674 | <li class="relative px-6 py-3"> | 732 | <li class="relative px-6 py-3"> |
675 | <a | 733 | <a |
676 | 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') }}" | 734 | 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') }}" |
677 | > | 735 | > |
678 | <svg | 736 | <svg |
679 | class="w-5 h-5" | 737 | class="w-5 h-5" |
680 | aria-hidden="true" | 738 | aria-hidden="true" |
681 | fill="none" | 739 | fill="none" |
682 | stroke-linecap="round" | 740 | stroke-linecap="round" |
683 | stroke-linejoin="round" | 741 | stroke-linejoin="round" |
684 | stroke-width="2" | 742 | stroke-width="2" |
685 | viewBox="0 0 24 24" | 743 | viewBox="0 0 24 24" |
686 | stroke="currentColor" | 744 | stroke="currentColor" |
687 | > | 745 | > |
688 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> | 746 | <path d="M4 6h16M4 10h16M4 14h16M4 18h16"></path> |
689 | </svg> | 747 | </svg> |
690 | <span class="ml-4">Сообщения</span> | 748 | <span class="ml-4">Сообщения все</span> |
749 | </a> | ||
750 | </li> | ||
751 | <li class="relative px-6 py-3"> | ||
752 | <a | ||
753 | 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') }}" | ||
754 | > | ||
755 | <svg | ||
756 | class="w-5 h-5" | ||
757 | aria-hidden="true" | ||
758 | fill="none" | ||
759 | stroke-linecap="round" | ||
760 | stroke-linejoin="round" | ||
761 | stroke-width="2" | ||
762 | viewBox="0 0 24 24" | ||
763 | stroke="currentColor" | ||
764 | > | ||
765 | <path | ||
766 | 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" | ||
767 | ></path> | ||
768 | </svg> | ||
769 | <span class="ml-4">Реклама</span> | ||
691 | </a> | 770 | </a> |
692 | </li> | 771 | </li> |
693 | <!-- Справочники --> | 772 | <!-- Справочники --> |
694 | <li class="relative px-6 py-3" x-data="{ open2: false }"> | 773 | <li class="relative px-6 py-3" x-data="{ open2: false }"> |
695 | <button | 774 | <button |
696 | 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" | 775 | 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" |
697 | @click="open2=!open2" | 776 | @click="open2=!open2" |
698 | aria-haspopup="true"> | 777 | aria-haspopup="true"> |
699 | <span class="inline-flex items-center"> | 778 | <span class="inline-flex items-center"> |
700 | <svg | 779 | <svg |
701 | class="w-5 h-5" | 780 | class="w-5 h-5" |
702 | aria-hidden="true" | 781 | aria-hidden="true" |
703 | fill="none" | 782 | fill="none" |
704 | stroke-linecap="round" | 783 | stroke-linecap="round" |
705 | stroke-linejoin="round" | 784 | stroke-linejoin="round" |
706 | stroke-width="2" | 785 | stroke-width="2" |
707 | viewBox="0 0 24 24" | 786 | viewBox="0 0 24 24" |
708 | stroke="currentColor"> | 787 | stroke="currentColor"> |
709 | <path | 788 | <path |
710 | 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" | 789 | 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" |
711 | ></path> | 790 | ></path> |
712 | </svg> | 791 | </svg> |
713 | <span class="ml-4">Справочники</span> | 792 | <span class="ml-4">Справочники</span> |
714 | </span> | 793 | </span> |
715 | <svg | 794 | <svg |
716 | class="w-4 h-4" | 795 | class="w-4 h-4" |
717 | aria-hidden="true" | 796 | aria-hidden="true" |
718 | fill="currentColor" | 797 | fill="currentColor" |
719 | viewBox="0 0 20 20" | 798 | viewBox="0 0 20 20" |
720 | > | 799 | > |
721 | <path | 800 | <path |
722 | fill-rule="evenodd" | 801 | fill-rule="evenodd" |
723 | 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" | 802 | 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" |
724 | clip-rule="evenodd" | 803 | clip-rule="evenodd" |
725 | ></path> | 804 | ></path> |
726 | </svg> | 805 | </svg> |
727 | </button> | 806 | </button> |
728 | <template x-if="open2"> | 807 | <template x-if="open2"> |
729 | <ul | 808 | <ul |
730 | x-transition:enter="transition-all ease-in-out duration-300" | 809 | x-transition:enter="transition-all ease-in-out duration-300" |
731 | x-transition:enter-start="opacity-25 max-h-0" | 810 | x-transition:enter-start="opacity-25 max-h-0" |
732 | x-transition:enter-end="opacity-100 max-h-xl" | 811 | x-transition:enter-end="opacity-100 max-h-xl" |
733 | x-transition:leave="transition-all ease-in-out duration-300" | 812 | x-transition:leave="transition-all ease-in-out duration-300" |
734 | x-transition:leave-start="opacity-100 max-h-xl" | 813 | x-transition:leave-start="opacity-100 max-h-xl" |
735 | x-transition:leave-end="opacity-0 max-h-0" | 814 | x-transition:leave-end="opacity-0 max-h-0" |
736 | 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" | 815 | 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" |
737 | aria-label="submenu" | 816 | aria-label="submenu" |
738 | > | 817 | > |
739 | <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 }}"> | 818 | <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 }}"> |
740 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> | 819 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> |
741 | </li> | 820 | </li> |
742 | <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 }}"> | 821 | <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 }}"> |
743 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> | 822 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> |
744 | </li> | 823 | </li> |
745 | <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 }}"> | 824 | <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 }}"> |
746 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> | 825 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> |
747 | </li> | 826 | </li> |
748 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}"> | ||
749 | <a class="w-full" href="{{ route('admin.education.index') }}">Образование</a> | ||
750 | </li> | ||
751 | <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 }}"> | 827 | <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 }}"> |
752 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> | 828 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> |
753 | </li> | 829 | </li> |
754 | 830 | ||
755 | </ul> | 831 | </ul> |
756 | </template> | 832 | </template> |
757 | </li> | 833 | </li> |
758 | 834 | ||
759 | 835 | ||
760 | <!-- Редактор --> | 836 | <!-- Редактор --> |
761 | <li class="relative px-6 py-3"> | 837 | <li class="relative px-6 py-3"> |
762 | <button | 838 | <button |
763 | 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" | 839 | 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" |
764 | @click="togglePagesMenu" | 840 | @click="togglePagesMenu" |
765 | aria-haspopup="true" | 841 | aria-haspopup="true" |
766 | > | 842 | > |
767 | <span class="inline-flex items-center"> | 843 | <span class="inline-flex items-center"> |
768 | <svg | 844 | <svg |
769 | class="w-5 h-5" | 845 | class="w-5 h-5" |
770 | aria-hidden="true" | 846 | aria-hidden="true" |
771 | fill="none" | 847 | fill="none" |
772 | stroke-linecap="round" | 848 | stroke-linecap="round" |
773 | stroke-linejoin="round" | 849 | stroke-linejoin="round" |
774 | stroke-width="2" | 850 | stroke-width="2" |
775 | viewBox="0 0 24 24" | 851 | viewBox="0 0 24 24" |
776 | stroke="currentColor" | 852 | stroke="currentColor" |
777 | > | 853 | > |
778 | <path | 854 | <path |
779 | 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" | 855 | 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" |
780 | ></path> | 856 | ></path> |
781 | </svg> | 857 | </svg> |
782 | <span class="ml-4">Редактор</span> | 858 | <span class="ml-4">Редактор</span> |
783 | </span> | 859 | </span> |
784 | <svg | 860 | <svg |
785 | class="w-4 h-4" | 861 | class="w-4 h-4" |
786 | aria-hidden="true" | 862 | aria-hidden="true" |
787 | fill="currentColor" | 863 | fill="currentColor" |
788 | viewBox="0 0 20 20" | 864 | viewBox="0 0 20 20" |
789 | > | 865 | > |
790 | <path | 866 | <path |
791 | fill-rule="evenodd" | 867 | fill-rule="evenodd" |
792 | 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" | 868 | 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" |
793 | clip-rule="evenodd" | 869 | clip-rule="evenodd" |
794 | ></path> | 870 | ></path> |
795 | </svg> | 871 | </svg> |
796 | </button> | 872 | </button> |
797 | <template x-if="isPagesMenuOpen"> | 873 | <template x-if="isPagesMenuOpen"> |
798 | <ul | 874 | <ul |
799 | x-transition:enter="transition-all ease-in-out duration-300" | 875 | x-transition:enter="transition-all ease-in-out duration-300" |
800 | x-transition:enter-start="opacity-25 max-h-0" | 876 | x-transition:enter-start="opacity-25 max-h-0" |
801 | x-transition:enter-end="opacity-100 max-h-xl" | 877 | x-transition:enter-end="opacity-100 max-h-xl" |
802 | x-transition:leave="transition-all ease-in-out duration-300" | 878 | x-transition:leave="transition-all ease-in-out duration-300" |
803 | x-transition:leave-start="opacity-100 max-h-xl" | 879 | x-transition:leave-start="opacity-100 max-h-xl" |
804 | x-transition:leave-end="opacity-0 max-h-0" | 880 | x-transition:leave-end="opacity-0 max-h-0" |
805 | 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" | 881 | 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" |
806 | aria-label="submenu" | 882 | aria-label="submenu" |
807 | > | 883 | > |
808 | <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 }}"> | 884 | <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 }}"> |
809 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> | 885 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> |
810 | </li> | 886 | </li> |
811 | <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 }}"> | 887 | <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 }}"> |
812 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> | 888 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> |
813 | </li> | 889 | </li> |
814 | <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}"> | ||
815 | <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a> | ||
816 | </li> | ||
817 | <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 }}"> | 890 | <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 }}"> |
818 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> | 891 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> |
819 | </li> | 892 | </li> |
820 | <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 }}"> | 893 | <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 }}"> |
821 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> | 894 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> |
822 | </li> | 895 | </li> |
823 | <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 }}"> | 896 | <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 }}"> |
824 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> | 897 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> |
825 | </li> | 898 | </li> |
826 | <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 }}"> | 899 | <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 }}"> |
827 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> | 900 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> |
828 | </li> | 901 | </li> |
829 | 902 | ||
830 | </ul> | 903 | </ul> |
831 | </template> | 904 | </template> |
832 | </li> | 905 | </li> |
833 | </ul> | 906 | </ul> |
834 | <!--<div class="px-6 my-6"> | 907 | <!--<div class="px-6 my-6"> |
835 | <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"> | 908 | <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"> |
836 | Create account | 909 | Create account |
837 | <span class="ml-2" aria-hidden="true">+</span> | 910 | <span class="ml-2" aria-hidden="true">+</span> |
838 | </button> | 911 | </button> |
839 | </div>--> | 912 | </div>--> |
840 | </div> | 913 | </div> |
841 | </aside> | 914 | </aside> |
842 | <div class="flex flex-col flex-1 w-full"> | 915 | <div class="flex flex-col flex-1 w-full"> |
843 | <header class="z-10 py-4 bg-white shadow-md dark:bg-gray-800"> | 916 | <header class="z-10 py-4 bg-white shadow-md dark:bg-gray-800"> |
844 | <div | 917 | <div |
845 | class="container flex items-center justify-between h-full px-6 mx-auto text-purple-600 dark:text-purple-300" | 918 | class="container flex items-center justify-between h-full px-6 mx-auto text-purple-600 dark:text-purple-300" |
846 | > | 919 | > |
847 | <!-- Mobile hamburger --> | 920 | <!-- Mobile hamburger --> |
848 | <button | 921 | <button |
849 | class="p-1 mr-5 -ml-1 rounded-md md:hidden focus:outline-none focus:shadow-outline-purple" | 922 | class="p-1 mr-5 -ml-1 rounded-md md:hidden focus:outline-none focus:shadow-outline-purple" |
850 | @click="toggleSideMenu" | 923 | @click="toggleSideMenu" |
851 | aria-label="Menu" | 924 | aria-label="Menu" |
852 | > | 925 | > |
853 | <svg | 926 | <svg |
854 | class="w-6 h-6" | 927 | class="w-6 h-6" |
855 | aria-hidden="true" | 928 | aria-hidden="true" |
856 | fill="currentColor" | 929 | fill="currentColor" |
857 | viewBox="0 0 20 20" | 930 | viewBox="0 0 20 20" |
858 | > | 931 | > |
859 | <path | 932 | <path |
860 | fill-rule="evenodd" | 933 | fill-rule="evenodd" |
861 | 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" | 934 | 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" |
862 | clip-rule="evenodd" | 935 | clip-rule="evenodd" |
863 | ></path> | 936 | ></path> |
864 | </svg> | 937 | </svg> |
865 | </button> | 938 | </button> |
866 | <!-- Search input --> | 939 | <!-- Search input --> |
867 | <div class="flex justify-center flex-1 lg:mr-32"> | 940 | <div class="flex justify-center flex-1 lg:mr-32"> |
868 | <div | 941 | <div |
869 | class="relative w-full max-w-xl mr-6 focus-within:text-purple-500" | 942 | class="relative w-full max-w-xl mr-6 focus-within:text-purple-500" |
870 | > | 943 | > |
871 | 944 | ||
872 | @yield('search') | 945 | @yield('search') |
873 | </div> | 946 | </div> |
874 | </div> | 947 | </div> |
875 | <ul class="flex items-center flex-shrink-0 space-x-6"> | 948 | <ul class="flex items-center flex-shrink-0 space-x-6"> |
876 | <!-- Theme toggler --> | 949 | <!-- Theme toggler --> |
877 | <li class="flex"> | 950 | <li class="flex"> |
878 | <button | 951 | <button |
879 | class="rounded-md focus:outline-none focus:shadow-outline-purple" | 952 | class="rounded-md focus:outline-none focus:shadow-outline-purple" |
880 | @click="toggleTheme" | 953 | @click="toggleTheme" |
881 | aria-label="Toggle color mode" | 954 | aria-label="Toggle color mode" |
882 | > | 955 | > |
883 | <template x-if="!dark"> | 956 | <template x-if="!dark"> |
884 | <svg | 957 | <svg |
885 | class="w-5 h-5" | 958 | class="w-5 h-5" |
886 | aria-hidden="true" | 959 | aria-hidden="true" |
887 | fill="currentColor" | 960 | fill="currentColor" |
888 | viewBox="0 0 20 20" | 961 | viewBox="0 0 20 20" |
889 | > | 962 | > |
890 | <path | 963 | <path |
891 | d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" | 964 | d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" |
892 | ></path> | 965 | ></path> |
893 | </svg> | 966 | </svg> |
894 | </template> | 967 | </template> |
895 | <template x-if="dark"> | 968 | <template x-if="dark"> |
896 | <svg | 969 | <svg |
897 | class="w-5 h-5" | 970 | class="w-5 h-5" |
898 | aria-hidden="true" | 971 | aria-hidden="true" |
899 | fill="currentColor" | 972 | fill="currentColor" |
900 | viewBox="0 0 20 20" | 973 | viewBox="0 0 20 20" |
901 | > | 974 | > |
902 | <path | 975 | <path |
903 | fill-rule="evenodd" | 976 | fill-rule="evenodd" |
904 | 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" | 977 | 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" |
905 | clip-rule="evenodd" | 978 | clip-rule="evenodd" |
906 | ></path> | 979 | ></path> |
907 | </svg> | 980 | </svg> |
908 | </template> | 981 | </template> |
909 | </button> | 982 | </button> |
910 | </li> | 983 | </li> |
911 | <!-- Notifications menu --> | 984 | <!-- Notifications menu --> |
912 | <li class="relative"> | 985 | <li class="relative"> |
913 | <button | 986 | <button |
914 | class="relative align-middle rounded-md focus:outline-none focus:shadow-outline-purple" | 987 | class="relative align-middle rounded-md focus:outline-none focus:shadow-outline-purple" |
915 | @click="toggleNotificationsMenu" | 988 | @click="toggleNotificationsMenu" |
916 | @keydown.escape="closeNotificationsMenu" | 989 | @keydown.escape="closeNotificationsMenu" |
917 | aria-label="Notifications" | 990 | aria-label="Notifications" |
918 | aria-haspopup="true" | 991 | aria-haspopup="true" |
919 | > | 992 | > |
920 | <svg | 993 | <svg |
921 | class="w-5 h-5" | 994 | class="w-5 h-5" |
922 | aria-hidden="true" | 995 | aria-hidden="true" |
923 | fill="currentColor" | 996 | fill="currentColor" |
924 | viewBox="0 0 20 20" | 997 | viewBox="0 0 20 20" |
925 | > | 998 | > |
926 | <path | 999 | <path |
927 | 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" | 1000 | 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" |
928 | ></path> | 1001 | ></path> |
929 | </svg> | 1002 | </svg> |
930 | <!-- Notification badge --> | 1003 | <!-- Notification badge --> |
931 | <span | 1004 | <span |
932 | aria-hidden="true" | 1005 | aria-hidden="true" |
933 | 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" | 1006 | 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" |
934 | ></span> | 1007 | ></span> |
935 | </button> | 1008 | </button> |
936 | <template x-if="isNotificationsMenuOpen"> | 1009 | <template x-if="isNotificationsMenuOpen"> |
937 | <ul | 1010 | <ul |
938 | x-transition:leave="transition ease-in duration-150" | 1011 | x-transition:leave="transition ease-in duration-150" |
939 | x-transition:leave-start="opacity-100" | 1012 | x-transition:leave-start="opacity-100" |
940 | x-transition:leave-end="opacity-0" | 1013 | x-transition:leave-end="opacity-0" |
941 | @click.away="closeNotificationsMenu" | 1014 | @click.away="closeNotificationsMenu" |
942 | @keydown.escape="closeNotificationsMenu" | 1015 | @keydown.escape="closeNotificationsMenu" |
943 | 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" | 1016 | 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" |
944 | > | 1017 | > |
945 | <li class="flex"> | 1018 | <li class="flex"> |
946 | <a | 1019 | <a |
947 | 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" | 1020 | 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" |
948 | href="{{ route('admin.admin-messages') }}" | 1021 | href="{{ route('admin.admin-messages') }}" |
949 | > | 1022 | > |
950 | <span>Сообщения</span> | 1023 | <span>Сообщения</span> |
951 | @if($MsgCount > 0) | 1024 | @if($MsgCount > 0) |
952 | <span | 1025 | <span |
953 | 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" | 1026 | 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" |
954 | > | 1027 | > |
955 | 1028 | ||
956 | {{ $MsgCount }} | 1029 | {{ $MsgCount }} |
957 | </span> | 1030 | </span> |
958 | @endif | 1031 | @endif |
959 | </a> | 1032 | </a> |
960 | </li> | 1033 | </li> |
961 | <!--<li class="flex"> | 1034 | <!--<li class="flex"> |
962 | <a | 1035 | <a |
963 | 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" | 1036 | 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" |
964 | href="#" | 1037 | href="#" |
965 | > | 1038 | > |
966 | <span>Логи</span> | 1039 | <span>Логи</span> |
967 | </a> | 1040 | </a> |
968 | </li>--> | 1041 | </li>--> |
969 | </ul> | 1042 | </ul> |
970 | </template> | 1043 | </template> |
971 | </li> | 1044 | </li> |
972 | <!-- Profile menu --> | 1045 | <!-- Profile menu --> |
973 | <li class="relative"> | 1046 | <li class="relative"> |
974 | <button | 1047 | <button |
975 | class="align-middle rounded-full focus:shadow-outline-purple focus:outline-none" | 1048 | class="align-middle rounded-full focus:shadow-outline-purple focus:outline-none" |
976 | @click="toggleProfileMenu" | 1049 | @click="toggleProfileMenu" |
977 | @keydown.escape="closeProfileMenu" | 1050 | @keydown.escape="closeProfileMenu" |
978 | aria-label="Account" | 1051 | aria-label="Account" |
979 | aria-haspopup="true" | 1052 | aria-haspopup="true" |
980 | > | 1053 | > |
981 | <img | 1054 | <img |
982 | class="object-cover w-8 h-8 rounded-full" | 1055 | class="object-cover w-8 h-8 rounded-full" |
983 | src="{{ asset('assets/img/profile.jpg') }}" | 1056 | src="{{ asset('assets/img/profile.jpg') }}" |
984 | alt="" | 1057 | alt="" |
985 | aria-hidden="true" | 1058 | aria-hidden="true" |
986 | /> | 1059 | /> |
987 | </button> | 1060 | </button> |
988 | <template x-if="isProfileMenuOpen"> | 1061 | <template x-if="isProfileMenuOpen"> |
989 | <ul | 1062 | <ul |
990 | x-transition:leave="transition ease-in duration-150" | 1063 | x-transition:leave="transition ease-in duration-150" |
991 | x-transition:leave-start="opacity-100" | 1064 | x-transition:leave-start="opacity-100" |
992 | x-transition:leave-end="opacity-0" | 1065 | x-transition:leave-end="opacity-0" |
993 | @click.away="closeProfileMenu" | 1066 | @click.away="closeProfileMenu" |
994 | @keydown.escape="closeProfileMenu" | 1067 | @keydown.escape="closeProfileMenu" |
995 | 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" | 1068 | 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" |
996 | aria-label="submenu" | 1069 | aria-label="submenu" |
997 | > | 1070 | > |
998 | <li class="flex"> | 1071 | <li class="flex"> |
999 | <a | 1072 | <a |
1000 | 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" | 1073 | 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" |
1001 | href="{{ route('admin.profile') }}" | 1074 | href="{{ route('admin.profile') }}" |
1002 | > | 1075 | > |
1003 | <svg | 1076 | <svg |
1004 | class="w-4 h-4 mr-3" | 1077 | class="w-4 h-4 mr-3" |
1005 | aria-hidden="true" | 1078 | aria-hidden="true" |
1006 | fill="none" | 1079 | fill="none" |
1007 | stroke-linecap="round" | 1080 | stroke-linecap="round" |
1008 | stroke-linejoin="round" | 1081 | stroke-linejoin="round" |
1009 | stroke-width="2" | 1082 | stroke-width="2" |
1010 | viewBox="0 0 24 24" | 1083 | viewBox="0 0 24 24" |
1011 | stroke="currentColor" | 1084 | stroke="currentColor" |
1012 | > | 1085 | > |
1013 | <path | 1086 | <path |
1014 | d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" | 1087 | d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" |
1015 | ></path> | 1088 | ></path> |
1016 | </svg> | 1089 | </svg> |
1017 | <span>Профиль</span> | 1090 | <span>Профиль</span> |
1018 | </a> | 1091 | </a> |
1019 | </li> | 1092 | </li> |
1020 | <li class="flex"> | 1093 | <li class="flex"> |
1021 | <a | 1094 | <a |
1022 | 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" | 1095 | 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" |
1023 | href="{{ route('admin.config') }}" | 1096 | href="{{ route('admin.config') }}" |
1024 | > | 1097 | > |
1025 | <svg | 1098 | <svg |
1026 | class="w-4 h-4 mr-3" | 1099 | class="w-4 h-4 mr-3" |
1027 | aria-hidden="true" | 1100 | aria-hidden="true" |
1028 | fill="none" | 1101 | fill="none" |
1029 | stroke-linecap="round" | 1102 | stroke-linecap="round" |
1030 | stroke-linejoin="round" | 1103 | stroke-linejoin="round" |
1031 | stroke-width="2" | 1104 | stroke-width="2" |
1032 | viewBox="0 0 24 24" | 1105 | viewBox="0 0 24 24" |
1033 | stroke="currentColor" | 1106 | stroke="currentColor" |
1034 | > | 1107 | > |
1035 | <path | 1108 | <path |
1036 | 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" | 1109 | 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" |
1037 | ></path> | 1110 | ></path> |
1038 | <path d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> | 1111 | <path d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path> |
1039 | </svg> | 1112 | </svg> |
1040 | <span>Настройки</span> | 1113 | <span>Настройки</span> |
1041 | </a> | 1114 | </a> |
1042 | </li> | 1115 | </li> |
1043 | <li class="flex"> | 1116 | <li class="flex"> |
1044 | <a | 1117 | <a |
1045 | 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" | 1118 | 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" |
1046 | href="{{ route('admin.logout') }}" | 1119 | href="{{ route('admin.logout') }}" |
1047 | > | 1120 | > |
1048 | <svg | 1121 | <svg |
1049 | class="w-4 h-4 mr-3" | 1122 | class="w-4 h-4 mr-3" |
1050 | aria-hidden="true" | 1123 | aria-hidden="true" |
1051 | fill="none" | 1124 | fill="none" |
1052 | stroke-linecap="round" | 1125 | stroke-linecap="round" |
1053 | stroke-linejoin="round" | 1126 | stroke-linejoin="round" |
1054 | stroke-width="2" | 1127 | stroke-width="2" |
1055 | viewBox="0 0 24 24" | 1128 | viewBox="0 0 24 24" |
1056 | stroke="currentColor" | 1129 | stroke="currentColor" |
1057 | > | 1130 | > |
1058 | <path | 1131 | <path |
1059 | 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" | 1132 | 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" |
1060 | ></path> | 1133 | ></path> |
1061 | </svg> | 1134 | </svg> |
1062 | <span>Выход</span> | 1135 | <span>Выход</span> |
1063 | </a> | 1136 | </a> |
1064 | </li> | 1137 | </li> |
1065 | </ul> | 1138 | </ul> |
1066 | </template> | 1139 | </template> |
1067 | </li> | 1140 | </li> |
1068 | </ul> | 1141 | </ul> |
1069 | </div> | 1142 | </div> |
1070 | </header> | 1143 | </header> |
1071 | <main class="h-full overflow-y-auto"> | 1144 | <main class="h-full overflow-y-auto"> |
1072 | <div class="container px-6 mx-auto grid"> | 1145 | <div class="container px-6 mx-auto grid"> |
1073 | <h2 | 1146 | <h2 |
1074 | class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200" | 1147 | class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200" |
1075 | > | 1148 | > |
1076 | {{$title}} | 1149 | {{$title}} |
1077 | </h2> | 1150 | </h2> |
1078 | <!-- CTA --> | 1151 | <!-- CTA --> |
1079 | <a | 1152 | <a |
1080 | 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" | 1153 | 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" |
1081 | href="{{ route('admin.admin-users') }}" | 1154 | href="{{ route('admin.admin-users') }}" |
1082 | > | 1155 | > |
1083 | <div class="flex items-center"> | 1156 | <div class="flex items-center"> |
1084 | <svg | 1157 | <svg |
1085 | class="w-5 h-5 mr-2" | 1158 | class="w-5 h-5 mr-2" |
1086 | fill="currentColor" | 1159 | fill="currentColor" |
1087 | viewBox="0 0 20 20" | 1160 | viewBox="0 0 20 20" |
1088 | > | 1161 | > |
1089 | <path | 1162 | <path |
1090 | 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" | 1163 | 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" |
1091 | ></path> | 1164 | ></path> |
1092 | </svg> | 1165 | </svg> |
1093 | <span>Контент для админов</span> | 1166 | <span>Контент для админов</span> |
1094 | </div> | 1167 | </div> |
1095 | <span>Список админов →</span> | 1168 | <span>Список админов →</span> |
1096 | </a> | 1169 | </a> |
1097 | 1170 | ||
1098 | @if ($message = Session::get('success')) | 1171 | @if ($message = Session::get('success')) |
1099 | <section> | 1172 | <section> |
1100 | <div class="alert alert-success alert-dismissible mt-0" role="alert"> | 1173 | <div class="alert alert-success alert-dismissible mt-0" role="alert"> |
1101 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> | 1174 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> |
1102 | <span aria-hidden="true">×</span> | 1175 | <span aria-hidden="true">×</span> |
1103 | </button> | 1176 | </button> |
1104 | {{ $message }} | 1177 | {{ $message }} |
1105 | </div> | 1178 | </div> |
1106 | </section> | 1179 | </section> |
1107 | @endif | 1180 | @endif |
1108 | 1181 | ||
1109 | @if ($errors->any()) | 1182 | @if ($errors->any()) |
1110 | <section> | 1183 | <section> |
1111 | <div class="alert alert-danger alert-dismissible mt-4" role="alert"> | 1184 | <div class="alert alert-danger alert-dismissible mt-4" role="alert"> |
1112 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> | 1185 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> |
1113 | <span aria-hidden="true">×</span> | 1186 | <span aria-hidden="true">×</span> |
1114 | </button> | 1187 | </button> |
1115 | <ul class="mb-0"> | 1188 | <ul class="mb-0"> |
1116 | @foreach ($errors->all() as $error) | 1189 | @foreach ($errors->all() as $error) |
1117 | <li>{{ $error }}</li> | 1190 | <li>{{ $error }}</li> |
1118 | @endforeach | 1191 | @endforeach |
1119 | </ul> | 1192 | </ul> |
1120 | </div> | 1193 | </div> |
1121 | </section> | 1194 | </section> |
1122 | @endif | 1195 | @endif |
1123 | 1196 | ||
1124 | @yield('content') | 1197 | @yield('content') |
1125 | 1198 | ||
1126 | <!-- Cards | 1199 | <!-- Cards |
1127 | <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> | 1200 | <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> |
1128 | 1201 | ||
1129 | <div | 1202 | <div |
1130 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1203 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1131 | > | 1204 | > |
1132 | <div | 1205 | <div |
1133 | class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500" | 1206 | class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500" |
1134 | > | 1207 | > |
1135 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1208 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1136 | <path | 1209 | <path |
1137 | 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" | 1210 | 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" |
1138 | ></path> | 1211 | ></path> |
1139 | </svg> | 1212 | </svg> |
1140 | </div> | 1213 | </div> |
1141 | <div> | 1214 | <div> |
1142 | <p | 1215 | <p |
1143 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1216 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1144 | > | 1217 | > |
1145 | Total clients | 1218 | Total clients |
1146 | </p> | 1219 | </p> |
1147 | <p | 1220 | <p |
1148 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1221 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1149 | > | 1222 | > |
1150 | 6389 | 1223 | 6389 |
1151 | </p> | 1224 | </p> |
1152 | </div> | 1225 | </div> |
1153 | </div> | 1226 | </div> |
1154 | 1227 | ||
1155 | <div | 1228 | <div |
1156 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1229 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1157 | > | 1230 | > |
1158 | <div | 1231 | <div |
1159 | class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500" | 1232 | class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500" |
1160 | > | 1233 | > |
1161 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1234 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1162 | <path | 1235 | <path |
1163 | fill-rule="evenodd" | 1236 | fill-rule="evenodd" |
1164 | 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" | 1237 | 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" |
1165 | clip-rule="evenodd" | 1238 | clip-rule="evenodd" |
1166 | ></path> | 1239 | ></path> |
1167 | </svg> | 1240 | </svg> |
1168 | </div> | 1241 | </div> |
1169 | <div> | 1242 | <div> |
1170 | <p | 1243 | <p |
1171 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1244 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1172 | > | 1245 | > |
1173 | Account balance | 1246 | Account balance |
1174 | </p> | 1247 | </p> |
1175 | <p | 1248 | <p |
1176 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1249 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1177 | > | 1250 | > |
1178 | $ 46,760.89 | 1251 | $ 46,760.89 |
1179 | </p> | 1252 | </p> |
1180 | </div> | 1253 | </div> |
1181 | </div> | 1254 | </div> |
1182 | 1255 | ||
1183 | <div | 1256 | <div |
1184 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1257 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1185 | > | 1258 | > |
1186 | <div | 1259 | <div |
1187 | class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500" | 1260 | class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500" |
1188 | > | 1261 | > |
1189 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1262 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1190 | <path | 1263 | <path |
1191 | 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" | 1264 | 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" |
1192 | ></path> | 1265 | ></path> |
1193 | </svg> | 1266 | </svg> |
1194 | </div> | 1267 | </div> |
1195 | <div> | 1268 | <div> |
1196 | <p | 1269 | <p |
1197 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1270 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1198 | > | 1271 | > |
1199 | New sales | 1272 | New sales |
1200 | </p> | 1273 | </p> |
1201 | <p | 1274 | <p |
1202 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1275 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1203 | > | 1276 | > |
1204 | 376 | 1277 | 376 |
1205 | </p> | 1278 | </p> |
1206 | </div> | 1279 | </div> |
1207 | </div> | 1280 | </div> |
1208 | 1281 | ||
1209 | <div | 1282 | <div |
1210 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1283 | class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1211 | > | 1284 | > |
1212 | <div | 1285 | <div |
1213 | class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500" | 1286 | class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500" |
1214 | > | 1287 | > |
1215 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 1288 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
1216 | <path | 1289 | <path |
1217 | fill-rule="evenodd" | 1290 | fill-rule="evenodd" |
1218 | 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" | 1291 | 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" |
1219 | clip-rule="evenodd" | 1292 | clip-rule="evenodd" |
1220 | ></path> | 1293 | ></path> |
1221 | </svg> | 1294 | </svg> |
1222 | </div> | 1295 | </div> |
1223 | <div> | 1296 | <div> |
1224 | <p | 1297 | <p |
1225 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" | 1298 | class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400" |
1226 | > | 1299 | > |
1227 | Pending contacts | 1300 | Pending contacts |
1228 | </p> | 1301 | </p> |
1229 | <p | 1302 | <p |
1230 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" | 1303 | class="text-lg font-semibold text-gray-700 dark:text-gray-200" |
1231 | > | 1304 | > |
1232 | 35 | 1305 | 35 |
1233 | </p> | 1306 | </p> |
1234 | </div> | 1307 | </div> |
1235 | </div> | 1308 | </div> |
1236 | </div> | 1309 | </div> |
1237 | --> | 1310 | --> |
1238 | <!-- New Table | 1311 | <!-- New Table |
1239 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> | 1312 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> |
1240 | <div class="w-full overflow-x-auto"> | 1313 | <div class="w-full overflow-x-auto"> |
1241 | <table class="w-full whitespace-no-wrap"> | 1314 | <table class="w-full whitespace-no-wrap"> |
1242 | <thead> | 1315 | <thead> |
1243 | <tr | 1316 | <tr |
1244 | 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" | 1317 | 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" |
1245 | > | 1318 | > |
1246 | <th class="px-4 py-3">Client</th> | 1319 | <th class="px-4 py-3">Client</th> |
1247 | <th class="px-4 py-3">Amount</th> | 1320 | <th class="px-4 py-3">Amount</th> |
1248 | <th class="px-4 py-3">Status</th> | 1321 | <th class="px-4 py-3">Status</th> |
1249 | <th class="px-4 py-3">Date</th> | 1322 | <th class="px-4 py-3">Date</th> |
1250 | </tr> | 1323 | </tr> |
1251 | </thead> | 1324 | </thead> |
1252 | <tbody | 1325 | <tbody |
1253 | class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800" | 1326 | class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800" |
1254 | > | 1327 | > |
1255 | <tr class="text-gray-700 dark:text-gray-400"> | 1328 | <tr class="text-gray-700 dark:text-gray-400"> |
1256 | <td class="px-4 py-3"> | 1329 | <td class="px-4 py-3"> |
1257 | <div class="flex items-center text-sm"> | 1330 | <div class="flex items-center text-sm"> |
1258 | 1331 | ||
1259 | <div | 1332 | <div |
1260 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1333 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1261 | > | 1334 | > |
1262 | <img | 1335 | <img |
1263 | class="object-cover w-full h-full rounded-full" | 1336 | class="object-cover w-full h-full rounded-full" |
1264 | 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" | 1337 | 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" |
1265 | alt="" | 1338 | alt="" |
1266 | loading="lazy" | 1339 | loading="lazy" |
1267 | /> | 1340 | /> |
1268 | <div | 1341 | <div |
1269 | class="absolute inset-0 rounded-full shadow-inner" | 1342 | class="absolute inset-0 rounded-full shadow-inner" |
1270 | aria-hidden="true" | 1343 | aria-hidden="true" |
1271 | ></div> | 1344 | ></div> |
1272 | </div> | 1345 | </div> |
1273 | <div> | 1346 | <div> |
1274 | <p class="font-semibold">Hans Burger</p> | 1347 | <p class="font-semibold">Hans Burger</p> |
1275 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1348 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1276 | 10x Developer | 1349 | 10x Developer |
1277 | </p> | 1350 | </p> |
1278 | </div> | 1351 | </div> |
1279 | </div> | 1352 | </div> |
1280 | </td> | 1353 | </td> |
1281 | <td class="px-4 py-3 text-sm"> | 1354 | <td class="px-4 py-3 text-sm"> |
1282 | $ 863.45 | 1355 | $ 863.45 |
1283 | </td> | 1356 | </td> |
1284 | <td class="px-4 py-3 text-xs"> | 1357 | <td class="px-4 py-3 text-xs"> |
1285 | <span | 1358 | <span |
1286 | 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" | 1359 | 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" |
1287 | > | 1360 | > |
1288 | Approved | 1361 | Approved |
1289 | </span> | 1362 | </span> |
1290 | </td> | 1363 | </td> |
1291 | <td class="px-4 py-3 text-sm"> | 1364 | <td class="px-4 py-3 text-sm"> |
1292 | 6/10/2020 | 1365 | 6/10/2020 |
1293 | </td> | 1366 | </td> |
1294 | </tr> | 1367 | </tr> |
1295 | 1368 | ||
1296 | <tr class="text-gray-700 dark:text-gray-400"> | 1369 | <tr class="text-gray-700 dark:text-gray-400"> |
1297 | <td class="px-4 py-3"> | 1370 | <td class="px-4 py-3"> |
1298 | <div class="flex items-center text-sm"> | 1371 | <div class="flex items-center text-sm"> |
1299 | 1372 | ||
1300 | <div | 1373 | <div |
1301 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1374 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1302 | > | 1375 | > |
1303 | <img | 1376 | <img |
1304 | class="object-cover w-full h-full rounded-full" | 1377 | class="object-cover w-full h-full rounded-full" |
1305 | 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" | 1378 | 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" |
1306 | alt="" | 1379 | alt="" |
1307 | loading="lazy" | 1380 | loading="lazy" |
1308 | /> | 1381 | /> |
1309 | <div | 1382 | <div |
1310 | class="absolute inset-0 rounded-full shadow-inner" | 1383 | class="absolute inset-0 rounded-full shadow-inner" |
1311 | aria-hidden="true" | 1384 | aria-hidden="true" |
1312 | ></div> | 1385 | ></div> |
1313 | </div> | 1386 | </div> |
1314 | <div> | 1387 | <div> |
1315 | <p class="font-semibold">Jolina Angelie</p> | 1388 | <p class="font-semibold">Jolina Angelie</p> |
1316 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1389 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1317 | Unemployed | 1390 | Unemployed |
1318 | </p> | 1391 | </p> |
1319 | </div> | 1392 | </div> |
1320 | </div> | 1393 | </div> |
1321 | </td> | 1394 | </td> |
1322 | <td class="px-4 py-3 text-sm"> | 1395 | <td class="px-4 py-3 text-sm"> |
1323 | $ 369.95 | 1396 | $ 369.95 |
1324 | </td> | 1397 | </td> |
1325 | <td class="px-4 py-3 text-xs"> | 1398 | <td class="px-4 py-3 text-xs"> |
1326 | <span | 1399 | <span |
1327 | class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600" | 1400 | class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600" |
1328 | > | 1401 | > |
1329 | Pending | 1402 | Pending |
1330 | </span> | 1403 | </span> |
1331 | </td> | 1404 | </td> |
1332 | <td class="px-4 py-3 text-sm"> | 1405 | <td class="px-4 py-3 text-sm"> |
1333 | 6/10/2020 | 1406 | 6/10/2020 |
1334 | </td> | 1407 | </td> |
1335 | </tr> | 1408 | </tr> |
1336 | 1409 | ||
1337 | <tr class="text-gray-700 dark:text-gray-400"> | 1410 | <tr class="text-gray-700 dark:text-gray-400"> |
1338 | <td class="px-4 py-3"> | 1411 | <td class="px-4 py-3"> |
1339 | <div class="flex items-center text-sm"> | 1412 | <div class="flex items-center text-sm"> |
1340 | 1413 | ||
1341 | <div | 1414 | <div |
1342 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1415 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1343 | > | 1416 | > |
1344 | <img | 1417 | <img |
1345 | class="object-cover w-full h-full rounded-full" | 1418 | class="object-cover w-full h-full rounded-full" |
1346 | 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" | 1419 | 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" |
1347 | alt="" | 1420 | alt="" |
1348 | loading="lazy" | 1421 | loading="lazy" |
1349 | /> | 1422 | /> |
1350 | <div | 1423 | <div |
1351 | class="absolute inset-0 rounded-full shadow-inner" | 1424 | class="absolute inset-0 rounded-full shadow-inner" |
1352 | aria-hidden="true" | 1425 | aria-hidden="true" |
1353 | ></div> | 1426 | ></div> |
1354 | </div> | 1427 | </div> |
1355 | <div> | 1428 | <div> |
1356 | <p class="font-semibold">Sarah Curry</p> | 1429 | <p class="font-semibold">Sarah Curry</p> |
1357 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1430 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1358 | Designer | 1431 | Designer |
1359 | </p> | 1432 | </p> |
1360 | </div> | 1433 | </div> |
1361 | </div> | 1434 | </div> |
1362 | </td> | 1435 | </td> |
1363 | <td class="px-4 py-3 text-sm"> | 1436 | <td class="px-4 py-3 text-sm"> |
1364 | $ 86.00 | 1437 | $ 86.00 |
1365 | </td> | 1438 | </td> |
1366 | <td class="px-4 py-3 text-xs"> | 1439 | <td class="px-4 py-3 text-xs"> |
1367 | <span | 1440 | <span |
1368 | 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" | 1441 | 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" |
1369 | > | 1442 | > |
1370 | Denied | 1443 | Denied |
1371 | </span> | 1444 | </span> |
1372 | </td> | 1445 | </td> |
1373 | <td class="px-4 py-3 text-sm"> | 1446 | <td class="px-4 py-3 text-sm"> |
1374 | 6/10/2020 | 1447 | 6/10/2020 |
1375 | </td> | 1448 | </td> |
1376 | </tr> | 1449 | </tr> |
1377 | 1450 | ||
1378 | <tr class="text-gray-700 dark:text-gray-400"> | 1451 | <tr class="text-gray-700 dark:text-gray-400"> |
1379 | <td class="px-4 py-3"> | 1452 | <td class="px-4 py-3"> |
1380 | <div class="flex items-center text-sm"> | 1453 | <div class="flex items-center text-sm"> |
1381 | 1454 | ||
1382 | <div | 1455 | <div |
1383 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1456 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1384 | > | 1457 | > |
1385 | <img | 1458 | <img |
1386 | class="object-cover w-full h-full rounded-full" | 1459 | class="object-cover w-full h-full rounded-full" |
1387 | 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" | 1460 | 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" |
1388 | alt="" | 1461 | alt="" |
1389 | loading="lazy" | 1462 | loading="lazy" |
1390 | /> | 1463 | /> |
1391 | <div | 1464 | <div |
1392 | class="absolute inset-0 rounded-full shadow-inner" | 1465 | class="absolute inset-0 rounded-full shadow-inner" |
1393 | aria-hidden="true" | 1466 | aria-hidden="true" |
1394 | ></div> | 1467 | ></div> |
1395 | </div> | 1468 | </div> |
1396 | <div> | 1469 | <div> |
1397 | <p class="font-semibold">Rulia Joberts</p> | 1470 | <p class="font-semibold">Rulia Joberts</p> |
1398 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1471 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1399 | Actress | 1472 | Actress |
1400 | </p> | 1473 | </p> |
1401 | </div> | 1474 | </div> |
1402 | </div> | 1475 | </div> |
1403 | </td> | 1476 | </td> |
1404 | <td class="px-4 py-3 text-sm"> | 1477 | <td class="px-4 py-3 text-sm"> |
1405 | $ 1276.45 | 1478 | $ 1276.45 |
1406 | </td> | 1479 | </td> |
1407 | <td class="px-4 py-3 text-xs"> | 1480 | <td class="px-4 py-3 text-xs"> |
1408 | <span | 1481 | <span |
1409 | 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" | 1482 | 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" |
1410 | > | 1483 | > |
1411 | Approved | 1484 | Approved |
1412 | </span> | 1485 | </span> |
1413 | </td> | 1486 | </td> |
1414 | <td class="px-4 py-3 text-sm"> | 1487 | <td class="px-4 py-3 text-sm"> |
1415 | 6/10/2020 | 1488 | 6/10/2020 |
1416 | </td> | 1489 | </td> |
1417 | </tr> | 1490 | </tr> |
1418 | 1491 | ||
1419 | <tr class="text-gray-700 dark:text-gray-400"> | 1492 | <tr class="text-gray-700 dark:text-gray-400"> |
1420 | <td class="px-4 py-3"> | 1493 | <td class="px-4 py-3"> |
1421 | <div class="flex items-center text-sm"> | 1494 | <div class="flex items-center text-sm"> |
1422 | 1495 | ||
1423 | <div | 1496 | <div |
1424 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1497 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1425 | > | 1498 | > |
1426 | <img | 1499 | <img |
1427 | class="object-cover w-full h-full rounded-full" | 1500 | class="object-cover w-full h-full rounded-full" |
1428 | 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" | 1501 | 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" |
1429 | alt="" | 1502 | alt="" |
1430 | loading="lazy" | 1503 | loading="lazy" |
1431 | /> | 1504 | /> |
1432 | <div | 1505 | <div |
1433 | class="absolute inset-0 rounded-full shadow-inner" | 1506 | class="absolute inset-0 rounded-full shadow-inner" |
1434 | aria-hidden="true" | 1507 | aria-hidden="true" |
1435 | ></div> | 1508 | ></div> |
1436 | </div> | 1509 | </div> |
1437 | <div> | 1510 | <div> |
1438 | <p class="font-semibold">Wenzel Dashington</p> | 1511 | <p class="font-semibold">Wenzel Dashington</p> |
1439 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1512 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1440 | Actor | 1513 | Actor |
1441 | </p> | 1514 | </p> |
1442 | </div> | 1515 | </div> |
1443 | </div> | 1516 | </div> |
1444 | </td> | 1517 | </td> |
1445 | <td class="px-4 py-3 text-sm"> | 1518 | <td class="px-4 py-3 text-sm"> |
1446 | $ 863.45 | 1519 | $ 863.45 |
1447 | </td> | 1520 | </td> |
1448 | <td class="px-4 py-3 text-xs"> | 1521 | <td class="px-4 py-3 text-xs"> |
1449 | <span | 1522 | <span |
1450 | 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" | 1523 | 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" |
1451 | > | 1524 | > |
1452 | Expired | 1525 | Expired |
1453 | </span> | 1526 | </span> |
1454 | </td> | 1527 | </td> |
1455 | <td class="px-4 py-3 text-sm"> | 1528 | <td class="px-4 py-3 text-sm"> |
1456 | 6/10/2020 | 1529 | 6/10/2020 |
1457 | </td> | 1530 | </td> |
1458 | </tr> | 1531 | </tr> |
1459 | 1532 | ||
1460 | <tr class="text-gray-700 dark:text-gray-400"> | 1533 | <tr class="text-gray-700 dark:text-gray-400"> |
1461 | <td class="px-4 py-3"> | 1534 | <td class="px-4 py-3"> |
1462 | <div class="flex items-center text-sm"> | 1535 | <div class="flex items-center text-sm"> |
1463 | 1536 | ||
1464 | <div | 1537 | <div |
1465 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1538 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1466 | > | 1539 | > |
1467 | <img | 1540 | <img |
1468 | class="object-cover w-full h-full rounded-full" | 1541 | class="object-cover w-full h-full rounded-full" |
1469 | 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" | 1542 | 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" |
1470 | alt="" | 1543 | alt="" |
1471 | loading="lazy" | 1544 | loading="lazy" |
1472 | /> | 1545 | /> |
1473 | <div | 1546 | <div |
1474 | class="absolute inset-0 rounded-full shadow-inner" | 1547 | class="absolute inset-0 rounded-full shadow-inner" |
1475 | aria-hidden="true" | 1548 | aria-hidden="true" |
1476 | ></div> | 1549 | ></div> |
1477 | </div> | 1550 | </div> |
1478 | <div> | 1551 | <div> |
1479 | <p class="font-semibold">Dave Li</p> | 1552 | <p class="font-semibold">Dave Li</p> |
1480 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1553 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1481 | Influencer | 1554 | Influencer |
1482 | </p> | 1555 | </p> |
1483 | </div> | 1556 | </div> |
1484 | </div> | 1557 | </div> |
1485 | </td> | 1558 | </td> |
1486 | <td class="px-4 py-3 text-sm"> | 1559 | <td class="px-4 py-3 text-sm"> |
1487 | $ 863.45 | 1560 | $ 863.45 |
1488 | </td> | 1561 | </td> |
1489 | <td class="px-4 py-3 text-xs"> | 1562 | <td class="px-4 py-3 text-xs"> |
1490 | <span | 1563 | <span |
1491 | 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" | 1564 | 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" |
1492 | > | 1565 | > |
1493 | Approved | 1566 | Approved |
1494 | </span> | 1567 | </span> |
1495 | </td> | 1568 | </td> |
1496 | <td class="px-4 py-3 text-sm"> | 1569 | <td class="px-4 py-3 text-sm"> |
1497 | 6/10/2020 | 1570 | 6/10/2020 |
1498 | </td> | 1571 | </td> |
1499 | </tr> | 1572 | </tr> |
1500 | 1573 | ||
1501 | <tr class="text-gray-700 dark:text-gray-400"> | 1574 | <tr class="text-gray-700 dark:text-gray-400"> |
1502 | <td class="px-4 py-3"> | 1575 | <td class="px-4 py-3"> |
1503 | <div class="flex items-center text-sm"> | 1576 | <div class="flex items-center text-sm"> |
1504 | 1577 | ||
1505 | <div | 1578 | <div |
1506 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1579 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1507 | > | 1580 | > |
1508 | <img | 1581 | <img |
1509 | class="object-cover w-full h-full rounded-full" | 1582 | class="object-cover w-full h-full rounded-full" |
1510 | 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" | 1583 | 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" |
1511 | alt="" | 1584 | alt="" |
1512 | loading="lazy" | 1585 | loading="lazy" |
1513 | /> | 1586 | /> |
1514 | <div | 1587 | <div |
1515 | class="absolute inset-0 rounded-full shadow-inner" | 1588 | class="absolute inset-0 rounded-full shadow-inner" |
1516 | aria-hidden="true" | 1589 | aria-hidden="true" |
1517 | ></div> | 1590 | ></div> |
1518 | </div> | 1591 | </div> |
1519 | <div> | 1592 | <div> |
1520 | <p class="font-semibold">Maria Ramovic</p> | 1593 | <p class="font-semibold">Maria Ramovic</p> |
1521 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1594 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1522 | Runner | 1595 | Runner |
1523 | </p> | 1596 | </p> |
1524 | </div> | 1597 | </div> |
1525 | </div> | 1598 | </div> |
1526 | </td> | 1599 | </td> |
1527 | <td class="px-4 py-3 text-sm"> | 1600 | <td class="px-4 py-3 text-sm"> |
1528 | $ 863.45 | 1601 | $ 863.45 |
1529 | </td> | 1602 | </td> |
1530 | <td class="px-4 py-3 text-xs"> | 1603 | <td class="px-4 py-3 text-xs"> |
1531 | <span | 1604 | <span |
1532 | 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" | 1605 | 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" |
1533 | > | 1606 | > |
1534 | Approved | 1607 | Approved |
1535 | </span> | 1608 | </span> |
1536 | </td> | 1609 | </td> |
1537 | <td class="px-4 py-3 text-sm"> | 1610 | <td class="px-4 py-3 text-sm"> |
1538 | 6/10/2020 | 1611 | 6/10/2020 |
1539 | </td> | 1612 | </td> |
1540 | </tr> | 1613 | </tr> |
1541 | 1614 | ||
1542 | <tr class="text-gray-700 dark:text-gray-400"> | 1615 | <tr class="text-gray-700 dark:text-gray-400"> |
1543 | <td class="px-4 py-3"> | 1616 | <td class="px-4 py-3"> |
1544 | <div class="flex items-center text-sm"> | 1617 | <div class="flex items-center text-sm"> |
1545 | 1618 | ||
1546 | <div | 1619 | <div |
1547 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1620 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1548 | > | 1621 | > |
1549 | <img | 1622 | <img |
1550 | class="object-cover w-full h-full rounded-full" | 1623 | class="object-cover w-full h-full rounded-full" |
1551 | 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" | 1624 | 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" |
1552 | alt="" | 1625 | alt="" |
1553 | loading="lazy" | 1626 | loading="lazy" |
1554 | /> | 1627 | /> |
1555 | <div | 1628 | <div |
1556 | class="absolute inset-0 rounded-full shadow-inner" | 1629 | class="absolute inset-0 rounded-full shadow-inner" |
1557 | aria-hidden="true" | 1630 | aria-hidden="true" |
1558 | ></div> | 1631 | ></div> |
1559 | </div> | 1632 | </div> |
1560 | <div> | 1633 | <div> |
1561 | <p class="font-semibold">Hitney Wouston</p> | 1634 | <p class="font-semibold">Hitney Wouston</p> |
1562 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1635 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1563 | Singer | 1636 | Singer |
1564 | </p> | 1637 | </p> |
1565 | </div> | 1638 | </div> |
1566 | </div> | 1639 | </div> |
1567 | </td> | 1640 | </td> |
1568 | <td class="px-4 py-3 text-sm"> | 1641 | <td class="px-4 py-3 text-sm"> |
1569 | $ 863.45 | 1642 | $ 863.45 |
1570 | </td> | 1643 | </td> |
1571 | <td class="px-4 py-3 text-xs"> | 1644 | <td class="px-4 py-3 text-xs"> |
1572 | <span | 1645 | <span |
1573 | 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" | 1646 | 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" |
1574 | > | 1647 | > |
1575 | Approved | 1648 | Approved |
1576 | </span> | 1649 | </span> |
1577 | </td> | 1650 | </td> |
1578 | <td class="px-4 py-3 text-sm"> | 1651 | <td class="px-4 py-3 text-sm"> |
1579 | 6/10/2020 | 1652 | 6/10/2020 |
1580 | </td> | 1653 | </td> |
1581 | </tr> | 1654 | </tr> |
1582 | 1655 | ||
1583 | <tr class="text-gray-700 dark:text-gray-400"> | 1656 | <tr class="text-gray-700 dark:text-gray-400"> |
1584 | <td class="px-4 py-3"> | 1657 | <td class="px-4 py-3"> |
1585 | <div class="flex items-center text-sm"> | 1658 | <div class="flex items-center text-sm"> |
1586 | 1659 | ||
1587 | <div | 1660 | <div |
1588 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 1661 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
1589 | > | 1662 | > |
1590 | <img | 1663 | <img |
1591 | class="object-cover w-full h-full rounded-full" | 1664 | class="object-cover w-full h-full rounded-full" |
1592 | 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" | 1665 | 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" |
1593 | alt="" | 1666 | alt="" |
1594 | loading="lazy" | 1667 | loading="lazy" |
1595 | /> | 1668 | /> |
1596 | <div | 1669 | <div |
1597 | class="absolute inset-0 rounded-full shadow-inner" | 1670 | class="absolute inset-0 rounded-full shadow-inner" |
1598 | aria-hidden="true" | 1671 | aria-hidden="true" |
1599 | ></div> | 1672 | ></div> |
1600 | </div> | 1673 | </div> |
1601 | <div> | 1674 | <div> |
1602 | <p class="font-semibold">Hans Burger</p> | 1675 | <p class="font-semibold">Hans Burger</p> |
1603 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 1676 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
1604 | 10x Developer | 1677 | 10x Developer |
1605 | </p> | 1678 | </p> |
1606 | </div> | 1679 | </div> |
1607 | </div> | 1680 | </div> |
1608 | </td> | 1681 | </td> |
1609 | <td class="px-4 py-3 text-sm"> | 1682 | <td class="px-4 py-3 text-sm"> |
1610 | $ 863.45 | 1683 | $ 863.45 |
1611 | </td> | 1684 | </td> |
1612 | <td class="px-4 py-3 text-xs"> | 1685 | <td class="px-4 py-3 text-xs"> |
1613 | <span | 1686 | <span |
1614 | 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" | 1687 | 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" |
1615 | > | 1688 | > |
1616 | Approved | 1689 | Approved |
1617 | </span> | 1690 | </span> |
1618 | </td> | 1691 | </td> |
1619 | <td class="px-4 py-3 text-sm"> | 1692 | <td class="px-4 py-3 text-sm"> |
1620 | 6/10/2020 | 1693 | 6/10/2020 |
1621 | </td> | 1694 | </td> |
1622 | </tr> | 1695 | </tr> |
1623 | </tbody> | 1696 | </tbody> |
1624 | </table> | 1697 | </table> |
1625 | </div> | 1698 | </div> |
1626 | <div | 1699 | <div |
1627 | 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" | 1700 | 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" |
1628 | > | 1701 | > |
1629 | <span class="flex items-center col-span-3"> | 1702 | <span class="flex items-center col-span-3"> |
1630 | Showing 21-30 of 100 | 1703 | Showing 21-30 of 100 |
1631 | </span> | 1704 | </span> |
1632 | <span class="col-span-2"></span> | 1705 | <span class="col-span-2"></span> |
1633 | 1706 | ||
1634 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> | 1707 | <span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end"> |
1635 | <nav aria-label="Table navigation"> | 1708 | <nav aria-label="Table navigation"> |
1636 | <ul class="inline-flex items-center"> | 1709 | <ul class="inline-flex items-center"> |
1637 | <li> | 1710 | <li> |
1638 | <button | 1711 | <button |
1639 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" | 1712 | class="px-3 py-1 rounded-md rounded-l-lg focus:outline-none focus:shadow-outline-purple" |
1640 | aria-label="Previous" | 1713 | aria-label="Previous" |
1641 | > | 1714 | > |
1642 | <svg | 1715 | <svg |
1643 | aria-hidden="true" | 1716 | aria-hidden="true" |
1644 | class="w-4 h-4 fill-current" | 1717 | class="w-4 h-4 fill-current" |
1645 | viewBox="0 0 20 20" | 1718 | viewBox="0 0 20 20" |
1646 | > | 1719 | > |
1647 | <path | 1720 | <path |
1648 | 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" | 1721 | 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" |
1649 | clip-rule="evenodd" | 1722 | clip-rule="evenodd" |
1650 | fill-rule="evenodd" | 1723 | fill-rule="evenodd" |
1651 | ></path> | 1724 | ></path> |
1652 | </svg> | 1725 | </svg> |
1653 | </button> | 1726 | </button> |
1654 | </li> | 1727 | </li> |
1655 | <li> | 1728 | <li> |
1656 | <button | 1729 | <button |
1657 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 1730 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
1658 | > | 1731 | > |
1659 | 1 | 1732 | 1 |
1660 | </button> | 1733 | </button> |
1661 | </li> | 1734 | </li> |
1662 | <li> | 1735 | <li> |
1663 | <button | 1736 | <button |
1664 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 1737 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
1665 | > | 1738 | > |
1666 | 2 | 1739 | 2 |
1667 | </button> | 1740 | </button> |
1668 | </li> | 1741 | </li> |
1669 | <li> | 1742 | <li> |
1670 | <button | 1743 | <button |
1671 | 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" | 1744 | 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" |
1672 | > | 1745 | > |
1673 | 3 | 1746 | 3 |
1674 | </button> | 1747 | </button> |
1675 | </li> | 1748 | </li> |
1676 | <li> | 1749 | <li> |
1677 | <button | 1750 | <button |
1678 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 1751 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
1679 | > | 1752 | > |
1680 | 4 | 1753 | 4 |
1681 | </button> | 1754 | </button> |
1682 | </li> | 1755 | </li> |
1683 | <li> | 1756 | <li> |
1684 | <span class="px-3 py-1">...</span> | 1757 | <span class="px-3 py-1">...</span> |
1685 | </li> | 1758 | </li> |
1686 | <li> | 1759 | <li> |
1687 | <button | 1760 | <button |
1688 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 1761 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
1689 | > | 1762 | > |
1690 | 8 | 1763 | 8 |
1691 | </button> | 1764 | </button> |
1692 | </li> | 1765 | </li> |
1693 | <li> | 1766 | <li> |
1694 | <button | 1767 | <button |
1695 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" | 1768 | class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple" |
1696 | > | 1769 | > |
1697 | 9 | 1770 | 9 |
1698 | </button> | 1771 | </button> |
1699 | </li> | 1772 | </li> |
1700 | <li> | 1773 | <li> |
1701 | <button | 1774 | <button |
1702 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" | 1775 | class="px-3 py-1 rounded-md rounded-r-lg focus:outline-none focus:shadow-outline-purple" |
1703 | aria-label="Next" | 1776 | aria-label="Next" |
1704 | > | 1777 | > |
1705 | <svg | 1778 | <svg |
1706 | class="w-4 h-4 fill-current" | 1779 | class="w-4 h-4 fill-current" |
1707 | aria-hidden="true" | 1780 | aria-hidden="true" |
1708 | viewBox="0 0 20 20" | 1781 | viewBox="0 0 20 20" |
1709 | > | 1782 | > |
1710 | <path | 1783 | <path |
1711 | 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" | 1784 | 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" |
1712 | clip-rule="evenodd" | 1785 | clip-rule="evenodd" |
1713 | fill-rule="evenodd" | 1786 | fill-rule="evenodd" |
1714 | ></path> | 1787 | ></path> |
1715 | </svg> | 1788 | </svg> |
1716 | </button> | 1789 | </button> |
1717 | </li> | 1790 | </li> |
1718 | </ul> | 1791 | </ul> |
1719 | </nav> | 1792 | </nav> |
1720 | </span> | 1793 | </span> |
1721 | </div> | 1794 | </div> |
1722 | </div> | 1795 | </div> |
1723 | --> | 1796 | --> |
1724 | <!-- Charts --> | 1797 | <!-- Charts --> |
1725 | <!-- | 1798 | <!-- |
1726 | <h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> | 1799 | <h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> |
1727 | Графики | 1800 | Графики |
1728 | </h2> | 1801 | </h2> |
1729 | <div class="grid gap-6 mb-8 md:grid-cols-2"> | 1802 | <div class="grid gap-6 mb-8 md:grid-cols-2"> |
1730 | <div | 1803 | <div |
1731 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1804 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1732 | > | 1805 | > |
1733 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 1806 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
1734 | Revenue | 1807 | Revenue |
1735 | </h4> | 1808 | </h4> |
1736 | <canvas id="pie"></canvas> | 1809 | <canvas id="pie"></canvas> |
1737 | <div | 1810 | <div |
1738 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 1811 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
1739 | > | 1812 | > |
1740 | 1813 | ||
1741 | <div class="flex items-center"> | 1814 | <div class="flex items-center"> |
1742 | <span | 1815 | <span |
1743 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" | 1816 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" |
1744 | ></span> | 1817 | ></span> |
1745 | <span>Shirts</span> | 1818 | <span>Shirts</span> |
1746 | </div> | 1819 | </div> |
1747 | <div class="flex items-center"> | 1820 | <div class="flex items-center"> |
1748 | <span | 1821 | <span |
1749 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 1822 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
1750 | ></span> | 1823 | ></span> |
1751 | <span>Shoes</span> | 1824 | <span>Shoes</span> |
1752 | </div> | 1825 | </div> |
1753 | <div class="flex items-center"> | 1826 | <div class="flex items-center"> |
1754 | <span | 1827 | <span |
1755 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 1828 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
1756 | ></span> | 1829 | ></span> |
1757 | <span>Bags</span> | 1830 | <span>Bags</span> |
1758 | </div> | 1831 | </div> |
1759 | </div> | 1832 | </div> |
1760 | </div> | 1833 | </div> |
1761 | <div | 1834 | <div |
1762 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 1835 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
1763 | > | 1836 | > |
1764 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 1837 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
1765 | Traffic | 1838 | Traffic |
1766 | </h4> | 1839 | </h4> |
1767 | <canvas id="line"></canvas> | 1840 | <canvas id="line"></canvas> |
1768 | <div | 1841 | <div |
1769 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 1842 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
1770 | > | 1843 | > |
1771 | 1844 | ||
1772 | <div class="flex items-center"> | 1845 | <div class="flex items-center"> |
1773 | <span | 1846 | <span |
1774 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 1847 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
1775 | ></span> | 1848 | ></span> |
1776 | <span>Organic</span> | 1849 | <span>Organic</span> |
1777 | </div> | 1850 | </div> |
1778 | <div class="flex items-center"> | 1851 | <div class="flex items-center"> |
1779 | <span | 1852 | <span |
1780 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 1853 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
1781 | ></span> | 1854 | ></span> |
1782 | <span>Paid</span> | 1855 | <span>Paid</span> |
1783 | </div> | 1856 | </div> |
1784 | </div> | 1857 | </div> |
1785 | </div> | 1858 | </div> |