Add generic api schema and scripts model
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user