fix
This commit is contained in:
@@ -46,5 +46,5 @@ h3 {
|
||||
@apply text-lg font-bold py-4;
|
||||
}
|
||||
.box {
|
||||
@apply flex items-center justify-center text-sm rounded cursor-pointer h-14 bg-coolgray-200 hover:bg-coollabs p-2;
|
||||
@apply flex items-center justify-center text-sm rounded cursor-pointer h-14 bg-coolgray-200 hover:bg-coollabs-100 p-2;
|
||||
}
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
<x-layout>
|
||||
@if ($servers->count() === 0)
|
||||
<div class="flex flex-col items-center justify-center h-full pt-32">
|
||||
<div class="pb-3">Without a server, you won't be able to do much.</div>
|
||||
<div class="text-2xl">Let's create <a href="{{ route('server.new') }}"
|
||||
class="p-2 rounded bg-coollabs hover:bg-coollabs-100">your
|
||||
<div class="">Without a server, you won't be able to do much</div>
|
||||
<div class="text-2xl">Let's create <a class="underline" href="{{ route('server.new') }}">your
|
||||
first</a> one!</div>
|
||||
</div>
|
||||
@else
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
<x-inputs.input id="name" label="Name" required />
|
||||
<x-inputs.input id="description" label="Description" />
|
||||
<x-inputs.input type="textarea" id="value" label="Private Key" required />
|
||||
<x-inputs.button type="submit" wire.click.prevent>
|
||||
Save Private Key
|
||||
<x-inputs.button isBold type="submit" wire.click.prevent>
|
||||
Save
|
||||
</x-inputs.button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
<h1>Select a private key</h1>
|
||||
<div class="flex">
|
||||
@foreach ($private_keys as $key)
|
||||
<div class="w-32 box" :class="{ 'bg-coollabs': {{ $private_key_id == $key->id }} }"
|
||||
wire:click.defer.prevent="setPrivateKey('{{ $key->id }}')">
|
||||
<div class="w-32 box" wire:click.defer.prevent="setPrivateKey('{{ $key->id }}')">
|
||||
{{ $key->name }}
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user