This commit is contained in:
Andras Bacsai 2023-05-17 09:08:32 +02:00
parent 03d224b708
commit 5b59fb38a4
9 changed files with 15 additions and 13 deletions

BIN
public/favicon-dev.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 KiB

View File

BIN
public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

View File

@ -29,7 +29,7 @@ h3 {
@apply text-lg font-bold pb-4; @apply text-lg font-bold pb-4;
} }
a { a {
@apply m-2 hover:text-coollabs; @apply text-neutral-400 m-2 hover:underline;
} }
.box { .box {

View File

@ -8,8 +8,10 @@
<link href="https://api.fonts.coollabs.io/css2?family=Inter&display=swap" rel="stylesheet"> <link href="https://api.fonts.coollabs.io/css2?family=Inter&display=swap" rel="stylesheet">
@env('local') @env('local')
<title>Coolify - localhost</title> <title>Coolify - localhost</title>
<link rel="icon" href="{{ asset('favicon-dev.png') }}" type="image/x-icon" />
@endenv @endenv
@env('production') @env('production')
<link rel="icon" href="{{ asset('favicon.png') }}" type="image/x-icon" />
<title>{{ $title ?? 'Coolify' }}</title> <title>{{ $title ?? 'Coolify' }}</title>
@endenv @endenv
<meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="csrf-token" content="{{ csrf_token() }}">

View File

@ -27,7 +27,7 @@
<livewire:force-upgrade /> <livewire:force-upgrade />
<form action="/logout" method="POST"> <form action="/logout" method="POST">
@csrf @csrf
<button class="m-1 border-none hover:underline" type="submit">Logout</button> <button class="m-1 border-none hover:underline text-neutral-400" type="submit">Logout</button>
</form> </form>
</div> </div>
</div> </div>

View File

@ -1,5 +1,5 @@
<div> <div>
@if (auth()->user()->teams->contains(0)) @if (auth()->user()->teams->contains(0))
<button wire:click='upgrade' class="m-1 border-none hover:underline">Force Upgrade</button> <button wire:click='upgrade' class="m-1 border-none hover:underline text-neutral-400">Force Upgrade</button>
@endif @endif
</div> </div>

View File

@ -3,25 +3,25 @@
<h1 class="py-10">Configuration</h1> <h1 class="py-10">Configuration</h1>
<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex pt-6"> <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex pt-6">
<div class="flex flex-col min-w-fit"> <div class="flex flex-col min-w-fit">
<a :class="activeTab === 'general' && 'text-coollabs-100'" <a :class="activeTab === 'general' && 'text-white'"
@click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a> @click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>
<a :class="activeTab === 'environment-variables' && 'text-coollabs-100'" <a :class="activeTab === 'environment-variables' && 'text-white'"
@click.prevent="activeTab = 'environment-variables'; window.location.hash = 'environment-variables'" @click.prevent="activeTab = 'environment-variables'; window.location.hash = 'environment-variables'"
href="#">Environment href="#">Environment
Variables</a> Variables</a>
<a :class="activeTab === 'source' && 'text-coollabs-100'" <a :class="activeTab === 'source' && 'text-white'"
@click.prevent="activeTab = 'source'; window.location.hash = 'source'" href="#">Source</a> @click.prevent="activeTab = 'source'; window.location.hash = 'source'" href="#">Source</a>
<a :class="activeTab === 'destination' && 'text-coollabs-100'" <a :class="activeTab === 'destination' && 'text-white'"
@click.prevent="activeTab = 'destination'; window.location.hash = 'destination'" @click.prevent="activeTab = 'destination'; window.location.hash = 'destination'"
href="#">Destination href="#">Destination
</a> </a>
<a :class="activeTab === 'storages' && 'text-coollabs-100'" <a :class="activeTab === 'storages' && 'text-white'"
@click.prevent="activeTab = 'storages'; window.location.hash = 'storages'" href="#">Storages @click.prevent="activeTab = 'storages'; window.location.hash = 'storages'" href="#">Storages
</a> </a>
<a :class="activeTab === 'revert' && 'text-coollabs-100'" <a :class="activeTab === 'revert' && 'text-white'"
@click.prevent="activeTab = 'revert'; window.location.hash = 'revert'" href="#">Revert @click.prevent="activeTab = 'revert'; window.location.hash = 'revert'" href="#">Revert
</a> </a>
{{-- <a :class="activeTab === 'previews' && 'text-coollabs-100'" {{-- <a :class="activeTab === 'previews' && 'text-white'"
@click.prevent="activeTab = 'previews'; window.location.hash = 'previews'" href="#">Previews @click.prevent="activeTab = 'previews'; window.location.hash = 'previews'" href="#">Previews
</a> --}} </a> --}}
</div> </div>

View File

@ -1,10 +1,10 @@
<x-layout> <x-layout>
<div class="text-3xl font-bold">Server</div> <div class="text-3xl font-bold">Server</div>
<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex pt-6"> <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex pt-6">
<div class="flex flex-col gap-4 min-w-fit"> <div class="flex flex-col min-w-fit">
<a :class="activeTab === 'general' && 'text-purple-500'" <a :class="activeTab === 'general' && 'text-white'"
@click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a> @click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>
<a :class="activeTab === 'proxy' && 'text-purple-500'" <a :class="activeTab === 'proxy' && 'text-white'"
@click.prevent="activeTab = 'proxy'; window.location.hash = 'proxy'" href="#">Proxy @click.prevent="activeTab = 'proxy'; window.location.hash = 'proxy'" href="#">Proxy
</a> </a>
</div> </div>