Ekapp/skolehjem/resources/views/admin/layout/header.blade.php

14 lines
739 B
PHP
Raw Normal View History

2020-06-15 06:56:21 +00:00
@section("header")
<header class="row align-items-center bg-sde-blue">
<img src="{{ URL::asset('/images/logos/Logo-hvid.svg') }}" onclick="window.location.href = '{{ route("root.index") }}';" class="brand cursor-pointer" alt="Syddansk Erhvervsskole">
2020-06-17 09:28:48 +00:00
@auth
2020-07-30 06:42:01 +00:00
<a href="{{ route("users.account") }}" class="btn btn-dark text-white m-0 ml-auto">Bruger: {{ ucfirst(Auth::user()->name_first) }} {{ ucfirst(Auth::user()->name_last) }}</a>
2020-06-22 08:08:18 +00:00
<a href="{{ route('users.logout') }}" class="btn btn-dark text-white m-0 ml-1 mr-1">Log ud</a>
2020-06-17 09:28:48 +00:00
@else
2020-06-22 08:08:18 +00:00
<a href="{{ route('users.login') }}" class="btn btn-dark text-white m-0 ml-auto mr-1">Log ind</a>
2020-06-17 09:28:48 +00:00
@endauth
2020-06-15 06:56:21 +00:00
</header>
@endsection