scripthost/resources/views/dashboard.blade.php
Javier Feliz 74f5dc5db1
Some checks failed
tests / ci (push) Has been cancelled
linter / quality (push) Has been cancelled
Build & Push Docker Image to Registry / build (release) Failing after 3m7s
Initial test
2025-07-22 19:45:33 -04:00

15 lines
601 B
PHP

<x-layouts.app :title="__('Dashboard')">
<div class="max-w-4xl mx-auto">
<livewire:forms.new-script />
<div class="mt-8">
@foreach (auth()->user()->scripts as $s)
<div class="bg-gray-300 dark:bg-zinc-700 p-4 mb-4 space-y-4">
<flux:text size="xl">{{ $s->name }}</flux:text>
<div class="flex gap-4">
<flux:button variant="primary" :href="$s->viewUrl()" target="_blank" icon="eye">View</flux:button>
</div>
</div>
@endforeach
</div>
</div>
</x-layouts.app>