kuvia/resources/views/layout/template.blade.php

68 lines
3.1 KiB
PHP
Raw Normal View History

2021-01-12 14:49:45 +00:00
<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">
2021-01-12 21:46:12 +00:00
<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" />
2021-01-12 14:49:45 +00:00
</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">
2021-01-17 14:32:25 +00:00
<li class="nav-item">
2021-01-12 14:49:45 +00:00
<a class="nav-link" href="/d">Dashboard</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/g">Gallery</a>
</li>
2021-01-12 21:46:12 +00:00
<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>
2021-01-12 14:49:45 +00:00
</ul>
@endauth
<ul class="nav navbar-nav float-md-right">
@auth
2021-01-12 21:46:12 +00:00
<li class="nav-item active">
<a class="nav-link" href="/{{ $current_tenant->url }}"><i class="fas fa-external-link-alt"></i></a>
</li>
2021-01-12 14:49:45 +00:00
<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>
2021-01-17 04:12:42 +00:00
<div class="container-fluid" >
2021-01-12 14:49:45 +00:00
@yield('content')
</div>
</div>
<script src="/js/jquery-3.5.1.min.js"></script>
<script src="/js/bootstrap.bundle.min.js"></script>
2021-01-17 15:33:14 +00:00
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
2021-01-12 14:49:45 +00:00
@yield('js')
</body>