Ignore:
Timestamp:
02/10/24 17:58:54 (9 months ago)
Author:
bube-ristovska <ristovska725@…>
Branches:
main
Children:
92df8cd
Parents:
6dec591
Message:

Bug with embg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • resources/views/filter.blade.php

    r6dec591 rd9c4096  
    109109<aside class="relative bg-sidebar h-screen w-64 hidden sm:block shadow-xl">
    110110    <div class="p-6">
    111         <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a>
    112         <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center">
    113             <i class="fas fa-plus mr-3"></i> Додади полицаец
    114         </button>
     111        @if (Session::get('is_policeman'))
     112            <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Полицаец</a>
     113        @else
     114            <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a>
     115            <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">
     116                <i class="fas fa-plus mr-3"></i> <a href="/register-policeman">Додади полицаец</a>
     117            </button>
     118        @endif
    115119    </div>
    116120    <nav class="text-white text-base font-semibold pt-3">
    117121        <a href="/" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item">
    118122            <i class="fas fa-tachometer-alt mr-3"></i>
    119             Сортирај граѓани
     123            Контролна табла
    120124        </a>
    121125        <a href="/employees" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item">
Note: See TracChangeset for help on using the changeset viewer.