This commit is contained in:
Joao Patricio
2023-03-20 12:04:22 +00:00
parent a0da981ec7
commit 75326f6626
27 changed files with 1770 additions and 95 deletions

View File

@@ -0,0 +1,3 @@
<button wire:loading.remove {{ $attributes }} class="btn btn-primary rounded-none btn-xs no-animation"> {{ $slot }} </button>
<button wire:loading class="btn btn-disabled rounded-none btn-xs no-animation"> {{ $slot }}</button>

View File

@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" data-theme="light" class="h-full">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ $title ?? 'Coolify' }}</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
@vite(['resources/js/app.js', 'resources/css/app.css'])
@livewireStyles
</head>
<body class="h-full">
@auth
<x-navbar />
@endauth
<main class="h-full pt-10 p-4">
{{ $slot }}
</main>
@livewireScripts
</body>
</html>

View File

@@ -0,0 +1,15 @@
<nav class="flex space-x-4 p-2 fixed right-0">
@env('local')
<a href="/run-command">Run command</a>
{{-- <livewire:create-token /> --}}
<a href="/debug">Debug</a>
<a href="/debug/logs" target="_blank">Debug Logs</a>
{{-- <a href="/debug/inertia">Debug(inertia)</a> --}}
@endenv
<a href="/">Dashboard</a>
<a href="/profile">Profile</a>
<form action="/logout" method="POST">
@csrf
<button type="submit">Logout</button>
</form>
</nav>