Added inern app integration

This commit is contained in:
2026-09-02 09:37:11 +02:00
parent 8aa6428089
commit e58a398c07
30 changed files with 1059 additions and 68 deletions
+10 -1
View File
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { Link, useForm } from '@inertiajs/vue3';
import { DoorOpen, Plus, Trash2 } from '@lucide/vue';
import { DoorOpen, Plus, Settings as SettingsIcon, Trash2 } from '@lucide/vue';
import { ref } from 'vue';
import DashboardRoomCard from '@/components/dashboard/DashboardRoomCard.vue';
@@ -13,6 +13,7 @@ import {
DialogTitle,
} from '@/components/ui/dialog';
import { create, destroy, reopen, show } from '@/routes/room';
import { edit as roomSettings } from '@/routes/room/settings';
import type { DashboardRoom, OwnedRoomListProps } from '@/types/dashboard';
defineProps<OwnedRoomListProps>();
@@ -91,6 +92,14 @@ function deleteRoom(): void {
Raum öffnen
</Link>
<Link
:href="roomSettings(room.id)"
class="inline-flex items-center gap-2 rounded-md px-3 py-2 text-sm font-semibold transition hover:bg-slate-700"
>
<SettingsIcon class="size-4" />
Einstellungen
</Link>
<button
type="button"
class="inline-flex items-center gap-2 rounded-md px-3 py-2 text-sm font-semibold text-rose-300 transition hover:bg-rose-500/80"