2023-03-24 16:51:30 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Device Manager</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<nav>
|
|
|
|
<ul>
|
2023-03-27 15:29:49 +02:00
|
|
|
<li><a href="/home">Home</a></li>
|
2023-03-27 16:16:47 +02:00
|
|
|
@auth
|
2023-03-27 16:50:25 +02:00
|
|
|
<li>Welcome {{ auth()->user()->full_name }}</li>
|
2023-03-27 16:16:47 +02:00
|
|
|
<li>
|
|
|
|
<form class="inline" method="POST" action="/logout">
|
|
|
|
@csrf
|
|
|
|
<button type="submit">Logout</button>
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
@else
|
|
|
|
<li><a href="/register">Register</a></li>
|
|
|
|
<li><a href="/login">Login</a></li>
|
|
|
|
@endauth
|
2023-03-24 16:51:30 +01:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<main>
|
|
|
|
<h1>Device Manager</h1>
|
|
|
|
<div class="container">
|
|
|
|
@yield('content')
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<footer>
|
|
|
|
<p>© 2023 My Website. All rights reserved.</p>
|
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|