dym-sh/resources/views/components/layout-admin.blade.php

49 lines
1.3 KiB
PHP
Raw Normal View History

2024-08-07 15:33:25 +02:00
<!doctype html>
<html lang="en" prefix="og: http://ogp.me/ns#"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf8">
<title>{{ request()->path() }}</title>
<link rel="stylesheet" type="text/css" href="/css/style.css">
</head>
<body>
<nav class="c">
<div class="buttons round">
<x-nav-link class="orange">new</x-nav-link>
2024-08-07 16:14:32 +02:00
<x-nav-link class="rose">list</x-nav-link>
2024-08-07 15:33:25 +02:00
<x-nav-link class="pink">tags</x-nav-link>
2024-08-07 16:14:32 +02:00
<x-nav-link class="teal">collections</x-nav-link>
<x-nav-link class="gray">/</x-nav-link>
2024-08-07 15:33:25 +02:00
</div>
</nav>
2024-08-07 18:08:20 +02:00
@guest
<form class="col c" method="post" name="login_form" id="login_form" action="/login">
@csrf
<input type="email" name="email" placeholder="email"
:value="old('email')"
required>
<input type="password" name="password" placeholder="password" required>
2024-08-07 16:14:32 +02:00
<button onclick="login_form.submit()">Login</button>
2024-08-07 15:33:25 +02:00
</form>
2024-08-07 18:08:20 +02:00
@endguest
2024-08-07 15:33:25 +02:00
2024-08-07 18:08:20 +02:00
@auth
2024-08-07 15:33:25 +02:00
{{ $slot }}
2024-08-07 18:08:20 +02:00
@endauth
2024-08-07 15:33:25 +02:00
<footer class="c">
<form class="buttons round c" method="get" name="search_form">
2024-08-07 16:14:32 +02:00
<input type="search" name="search" placeholder="search">
2024-08-07 15:33:25 +02:00
<button onclick="search_form.submit()"
class="gray" title="search"
2024-08-07 16:14:32 +02:00
><span class="hidden">search</span>
</button>
<a href="/rss" class="orange" title="rss"><span class="hidden">rss</span>
</a>
2024-08-07 15:33:25 +02:00
</form>
</footer>
</body></html>