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 |
|
|
@guest
|
14 |
|
|
<li class="nav-item">
|
15 |
|
|
<a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a>
|
16 |
|
|
</li>
|
17 |
|
|
@if (Route::has('register'))
|
18 |
|
|
<li class="nav-item">
|
19 |
|
|
<a class="nav-link" href="{{ route('register') }}">{{ __('Register') }}</a>
|
20 |
|
|
</li>
|
21 |
|
|
@endif
|
22 |
|
|
@else
|
23 |
|
|
<li class="nav-item dropdown">
|
24 |
|
|
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
|
25 |
|
|
{{ Auth::user()->name }} <span class="caret"></span>
|
26 |
|
|
</a>
|
27 |
|
|
|
28 |
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
|
29 |
120e7c58
|
rizir01
|
<a class="dropdown-item" href="{{ url('/favartefacts') }}">Favorite artefacts</a>
|
30 |
|
|
|
31 |
09795926
|
Adam Mištera
|
<a class="dropdown-item" href="{{ url('/favmetadata') }}">Favorite metadata</a>
|
32 |
|
|
|
33 |
21570473
|
Adam Mištera
|
<a class="dropdown-item" href="{{ route('logout') }}"
|
34 |
|
|
onclick="event.preventDefault();
|
35 |
|
|
document.getElementById('logout-form').submit();">
|
36 |
|
|
{{ __('Logout') }}
|
37 |
|
|
</a>
|
38 |
|
|
|
39 |
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
40 |
|
|
@csrf
|
41 |
|
|
</form>
|
42 |
|
|
</div>
|
43 |
|
|
</li>
|
44 |
|
|
@endguest
|
45 |
|
|
</ul>
|
46 |
1c3121fe
|
zabran
|
|
47 |
|
|
<!-- Right Side Of Navbar -->
|
48 |
|
|
<ul class="navbar-nav ml-auto">
|
49 |
|
|
<!-- Authentication Links -->
|
50 |
|
|
|
51 |
|
|
</ul>
|
52 |
21570473
|
Adam Mištera
|
</div>
|
53 |
|
|
</div>
|
54 |
c66c7237
|
rizir01
|
</nav>
|