fix: add navbar for source + keys
This commit is contained in:
22
resources/views/security/private-key/index.blade.php
Normal file
22
resources/views/security/private-key/index.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<x-layout>
|
||||
<x-security.navbar />
|
||||
<div class="flex gap-2">
|
||||
<h2 class="pb-4">Private Keys</h2>
|
||||
<a href="{{ route('security.private-key.new') }}"><x-forms.button>+ Add</x-forms.button></a>
|
||||
</div>
|
||||
<div class="grid gap-2 lg:grid-cols-2">
|
||||
@forelse ($privateKeys as $key)
|
||||
<a class="text-center hover:no-underline box group"
|
||||
href="{{ route('security.private-key.show', ['private_key_uuid' => data_get($key, 'uuid')]) }}">
|
||||
<div class="group-hover:text-white">
|
||||
<div>{{ $key->name }}</div>
|
||||
</div>
|
||||
</a>
|
||||
@empty
|
||||
<div>
|
||||
<div>No private keys found.</div>
|
||||
<x-use-magic-bar link="/security/private-key/new" />
|
||||
</div>
|
||||
@endforelse
|
||||
</div>
|
||||
</x-layout>
|
||||
5
resources/views/security/private-key/new.blade.php
Normal file
5
resources/views/security/private-key/new.blade.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<x-layout>
|
||||
<h1>Create a new Private Key</h1>
|
||||
<div class="subtitle ">Private Keys are used to connect to your servers without passwords.</div>
|
||||
<livewire:private-key.create />
|
||||
</x-layout>
|
||||
4
resources/views/security/private-key/show.blade.php
Normal file
4
resources/views/security/private-key/show.blade.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<x-layout>
|
||||
<x-security.navbar />
|
||||
<livewire:private-key.change :private_key="$private_key" />
|
||||
</x-layout>
|
||||
Reference in New Issue
Block a user