summaryrefslogtreecommitdiff
path: root/resources/views/template.blade.php
diff options
context:
space:
mode:
authorgrothedev <grothedev@gmail.com>2025-12-25 16:40:56 -0500
committergrothedev <grothedev@gmail.com>2025-12-25 16:40:56 -0500
commit1b76e081f8e06d9d14ec352dc5a4c483b4577e04 (patch)
treed46fb6fdfffee6ba800af11fd6cdcafae6d6c2b9 /resources/views/template.blade.php
parent9f58115cbf56fa04496291308be2ba8e43ce532c (diff)
some updates
Diffstat (limited to 'resources/views/template.blade.php')
-rwxr-xr-xresources/views/template.blade.php88
1 files changed, 36 insertions, 52 deletions
diff --git a/resources/views/template.blade.php b/resources/views/template.blade.php
index 5b1c8c3..373d5f8 100755
--- a/resources/views/template.blade.php
+++ b/resources/views/template.blade.php
@@ -1,53 +1,37 @@
<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <meta name="description" content="Belthelzioquor website, a friendly server">
- <meta name="keywords" content="HTML, CSS, JavaScript">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="author" content="Thomas Grothe">
- <meta name="robots" content="index, follow">
- <link rel="stylesheet" href="/css/style.css">
-
- <!--<link rel="stylesheet" type="text/css" href="static/reset.css">-->
- <meta name="htmx-config" content='{"selfRequestsOnly":false}'>
- <script src="https://unpkg.com/htmx.org@2.0.1"></script>
- <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
- <script src = "https://code.jquery.com/jquery-3.7.1.min.js"></script>
-
- <script type = "text/javascript">
- //let env = {{ Js::from(App\Http\Controllers\SiteController::env()) }};
- </script>
- <!--<base href = "http://192.168.4.32:9002/">-->
- <!--<base href = "http://localhost:9002/">-->
- <title>Belthelziquor</title>
- @yield('head')
- </head>
- <!--<header>-->
- <body>
- <main><section>
- <a href = "/" class = "form-button" style = "marin-right: auto; margin-left: 1rem;">
- Home
- </a>
- <a href = "/settings" /><small>Settings, Info</small></a><!-- auth-agnostic settings -->
- <div id = "database-info">Checking connection to database...</div>
- @if (Auth::user() == null)
- <a href="{{ route('login') }}" class = "form-button" style="margin-left: auto; margin-right: 1rem;">
- {{ __('Log In') }}
- </a>
- @else
- <small style = "margin-left: auto; margin-right: 1rem;">User: {{ Auth::user()->name }}</small>
- <form method="POST" action="{{ route('logout') }}" style="margin-left: auto;">
- @csrf
- <button type="submit" class = "form-button">
- {{ __('Log Out') }}
- </button>
- </form>
- @endif
- </section></main>
- @yield('body')
- </body>
- <footer>
- <p>© 2024 Thomas Grothe</p>
- </footer>
-</html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>TG</title>
+ <link rel="stylesheet" href="css/home.css">
+ @yield('head')
+</head>
+<body>
+ <header>
+ <h2>.</h2>
+ <section class = "status">
+ <p> </p>
+ </section>
+ </header>
+ <main>
+ <nav>
+ <a href = "/">Home</a>
+ <a href = "/f">Files</a>
+ <a href = "/l">Resources</a>
+ <a href = "/notes">Notes</a>
+ <small><a id = "buttonSettings">Settings</a></small>
+ <!-- login ? -->
+ </nav>
+ <center>- - -</center>
+ @yield('content')
+ <center>- - -</center>
+ <footer>
+ </footer>
+ </main>
+</body>
+<script src="https://unpkg.com/htmx.org@2.0.1"></script>
+<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
+<script src = "https://code.jquery.com/jquery-3.7.1.min.js"></script>
+@yield('scripts')
+</html> \ No newline at end of file