Add generic api schema and scripts model

This commit is contained in:
2025-08-30 18:20:24 +02:00
parent 774d1cf45f
commit f6993d463d
18 changed files with 493 additions and 192 deletions

View File

@@ -1,10 +1,12 @@
<x-layouts.app :title="__('Dashboard')">
<div class="flex h-full w-full flex-1 flex-col gap-4 rounded-xl">
<div class="flex justify-end">
<button class="bg-gray-600 p-2 text-white rounded-lg">
<a href="{{ route('bots.create') }}">
{{ __('Add Bot') }}
</a>
<button
class="bg-gray-600 p-2 text-white rounded-lg cursor-pointer"
wire:navigate
href="{{ route('bots.create') }}"
>
{{ __('Add Bot') }}
</button>
</div>
<div class="grid auto-rows-min gap-4 md:grid-cols-3">
@@ -14,6 +16,11 @@
<div class="p-4">
<h2>Active Bots</h2>
</div>
@foreach ($bots->where('enabled', 1) as $bot)
<div class="px-4 py-1">
<p>{{ $bot->name }}</p>
</div>
@endforeach
</div>
<div
class="relative aspect-video overflow-hidden rounded-xl border border-neutral-200 dark:border-neutral-700"