1 |
21570473
|
Adam Mištera
|
<nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
|
2 |
|
|
<div class="container">
|
3 |
|
|
<a class="navbar-brand" href="{{ url('/') }}">
|
4 |
|
|
{{ config('app.name', 'Laravel') }}
|
5 |
|
|
</a>
|
6 |
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
|
7 |
|
|
<span class="navbar-toggler-icon"></span>
|
8 |
|
|
</button>
|
9 |
|
|
|
10 |
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
11 |
|
|
<!-- Left Side Of Navbar -->
|
12 |
|
|
<ul class="navbar-nav mr-auto">
|
13 |
|
|
|
14 |
|
|
</ul>
|
15 |
|
|
|
16 |
|
|
<!-- Right Side Of Navbar -->
|
17 |
|
|
<ul class="navbar-nav ml-auto">
|
18 |
|
|
<!-- Authentication Links -->
|
19 |
|
|
@guest
|
20 |
|
|
<li class="nav-item">
|
21 |
|
|
<a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a>
|
22 |
|
|
</li>
|
23 |
|
|
@if (Route::has('register'))
|
24 |
|
|
<li class="nav-item">
|
25 |
|
|
<a class="nav-link" href="{{ route('register') }}">{{ __('Register') }}</a>
|
26 |
|
|
</li>
|
27 |
|
|
@endif
|
28 |
|
|
@else
|
29 |
|
|
<li class="nav-item dropdown">
|
30 |
|
|
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
|
31 |
|
|
{{ Auth::user()->name }} <span class="caret"></span>
|
32 |
|
|
</a>
|
33 |
|
|
|
34 |
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
|
35 |
120e7c58
|
rizir01
|
<a class="dropdown-item" href="{{ url('/favartefacts') }}">Favorite artefacts</a>
|
36 |
|
|
|
37 |
09795926
|
Adam Mištera
|
<a class="dropdown-item" href="{{ url('/favmetadata') }}">Favorite metadata</a>
|
38 |
|
|
|
39 |
21570473
|
Adam Mištera
|
<a class="dropdown-item" href="{{ route('logout') }}"
|
40 |
|
|
onclick="event.preventDefault();
|
41 |
|
|
document.getElementById('logout-form').submit();">
|
42 |
|
|
{{ __('Logout') }}
|
43 |
|
|
</a>
|
44 |
|
|
|
45 |
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
46 |
|
|
@csrf
|
47 |
|
|
</form>
|
48 |
|
|
</div>
|
49 |
|
|
</li>
|
50 |
|
|
@endguest
|
51 |
|
|
</ul>
|
52 |
|
|
</div>
|
53 |
|
|
</div>
|
54 |
c66c7237
|
rizir01
|
</nav>
|