Updated hrefs

This commit is contained in:
frederikpyt
2020-06-17 11:28:48 +02:00
parent 99c2b16752
commit fe9a97656f
9 changed files with 41 additions and 57 deletions
@@ -13,13 +13,10 @@
<div class="segment">
<h3 class="text-white">Brugere</h3>
<div class="row">
<a href="" class="text-white"><img src="{{ asset('/images/icons/eye.svg') }}" alt="Read">Vis Brugere</a>
<a href="{{ route('users.index') }}" class="text-white"><img src="{{ asset('/images/icons/eye.svg') }}" alt="Read">Vis Brugere</a>
</div>
<div class="row">
<a href="" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Bruger</a>
</div>
<div class="row">
<a href="" class="text-white"><img src="{{ asset('/images/icons/pencil.svg') }}" alt="Update">Rediger Bruger</a>
<a href="{{ route('users.create') }}" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Bruger</a>
</div>
</div>
<div class="segment">
@@ -30,14 +27,11 @@
<div class="row">
<a href="" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Menuplan</a>
</div>
<div class="row">
<a href="" class="text-white"><img src="{{ asset('/images/icons/pencil.svg') }}" alt="Update">Rediger Menuplan</a>
</div>
</div>
</div>
<div class="w-85" style="background-color: #cccccc;">
<div class="directorypath text-white">
<a href="" class="text-white">Home</a> / @yield("path")
<a href="{{ route('root.index') }}" class="text-white">Home</a> / @yield("path")
</div>
<div class="content">
@yield("content")
@@ -1,7 +1,13 @@
@section("header")
<header class="row align-items-center" style="background-color: #00788a;">
<img src="{{ URL::asset('/images/logos/Logo-hvid.svg') }}" class="h-100 brand" alt="Syddansk Erhvervsskole">
<a href="" class="btn btn-dark text-white m-0 ml-auto">User: Admin</a>
<a href="" class="btn btn-dark text-white m-0 ml-1 mr-1">Log ud</a>
@auth
<a href="" class="btn btn-dark text-white m-0 ml-auto">User: {{ Auth::user()->name }}</a>
<a href="{{ route('user.logout') }}" class="btn btn-dark text-white m-0 ml-1 mr-1">Log ud</a>
@else
<a href="{{ route('user.login') }}" class="btn btn-dark text-white m-0 ml-auto mr-1">Log ind</a>
@endauth
</header>
@endsection