Changeset 249bf91 for resources/views/filter.blade.php
- Timestamp:
- 06/05/24 13:35:43 (5 months ago)
- Branches:
- main
- Children:
- 768f473
- Parents:
- f7acd52
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/filter.blade.php
rf7acd52 r249bf91 111 111 @if (Session::get('is_policeman')) 112 112 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Полицаец</a> 113 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 114 <i class="fas fa-plus mr-3"></i> <a href="/register-statement">Додади изјава</a> 115 </button> 113 116 @else 114 117 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> … … 142 145 <a href="#" class="absolute w-full upgrade-btn bottom-0 active-nav-link text-white flex items-center justify-center py-4"> 143 146 <i class="fas fa-arrow-circle-up mr-3"></i> 144 Поставки за профил145 147 </a> 146 148 </aside> … … 152 154 <div x-data="{ isOpen: false }" class="relative w-1/2 flex justify-end"> 153 155 <button @click="isOpen = !isOpen" class="realtive z-10 w-12 h-12 rounded-full overflow-hidden border-4 border-gray-400 hover:border-gray-300 focus:border-gray-300 focus:outline-none"> 154 <img src="https://source.unsplash.com/uJ8LNVCBjFQ/400x400"> 156 @php 157 $person = DB::select('select * from people where pe_id=:pe_id;', ['pe_id' => Session::get('pe_id')]); 158 159 if (!empty($person)) { 160 $image = $person[0]->picture; 161 } else { 162 $image = null; 163 } 164 @endphp 165 166 <img src="{{ $image }}"> 167 155 168 </button> 156 169 <button x-show="isOpen" @click="isOpen = false" class="h-full w-full fixed inset-0 cursor-default"></button>
Note:
See TracChangeset
for help on using the changeset viewer.