66 lines
3.1 KiB
PHP
66 lines
3.1 KiB
PHP
<head>
|
|
<link rel="stylesheet" href="/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="/css/theme.css">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous" />
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
|
<a class="navbar-brand" href="#">Kuvia</a>
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarColor02">
|
|
@auth
|
|
<ul class="navbar-nav mr-auto">
|
|
<li class="nav-item active">
|
|
<a class="nav-link" href="/d">Dashboard</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/g">Gallery</a>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Settings</a>
|
|
<div class="dropdown-menu dropdown-menu-right">
|
|
<a class="dropdown-item" href="#">Pages</a>
|
|
<a class="dropdown-item" href="#">Statistics</a>
|
|
<div class="dropdown-divider"></div>
|
|
<a class="dropdown-item" href="/t/new">New Tenant</a>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
@endauth
|
|
<ul class="nav navbar-nav float-md-right">
|
|
@auth
|
|
<li class="nav-item active">
|
|
<a class="nav-link" href="/{{ $current_tenant->url }}"><i class="fas fa-external-link-alt"></i></a>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Tenant</a>
|
|
<div class="dropdown-menu dropdown-menu-right">
|
|
@foreach($user_tenants as $tenant)
|
|
<a class="dropdown-item" href="/t/select/{{ $tenant->url }}">{{ $tenant->name }}</a>
|
|
@endforeach
|
|
<div class="dropdown-divider"></div>
|
|
<a class="dropdown-item" href="/t/new">New Tenant</a>
|
|
</div>
|
|
</li>
|
|
@endauth
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="container-fluid" style="margin-top: 20px;">
|
|
@yield('content')
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script src="/js/jquery-3.5.1.min.js"></script>
|
|
<script src="/js/bootstrap.bundle.min.js"></script>
|
|
@yield('js')
|
|
</body>
|