User management (#185)

This commit is contained in:
Saeed Vaziry
2024-04-29 20:58:04 +02:00
committed by GitHub
parent 35f896eab1
commit d846acaa8d
106 changed files with 1490 additions and 434 deletions

View File

@ -1,5 +1,5 @@
<x-profile-layout>
<x-settings-layout>
<x-slot name="pageTitle">{{ __("SSH Keys") }}</x-slot>
@include("settings.ssh-keys.partials.keys-list")
</x-profile-layout>
</x-settings-layout>

View File

@ -6,7 +6,7 @@
<x-modal name="add-key">
<form
id="add-ssh-key-form"
hx-post="{{ route("ssh-keys.add") }}"
hx-post="{{ route("settings.ssh-keys.add") }}"
hx-swap="outerHTML"
hx-select="#add-ssh-key-form"
hx-ext="disable-element"

View File

@ -21,7 +21,7 @@
<div class="flex items-center">
<div class="inline">
<x-icon-button
x-on:click="deleteAction = '{{ route('ssh-keys.delete', $key->id) }}'; $dispatch('open-modal', 'delete-ssh-key')"
x-on:click="deleteAction = '{{ route('settings.ssh-keys.delete', $key->id) }}'; $dispatch('open-modal', 'delete-ssh-key')"
>
<x-heroicon name="o-trash" class="h-5 w-5" />
</x-icon-button>