lasthourcloud/resources/views/livewire/dashboard.blade.php

40 lines
1.6 KiB
PHP
Raw Normal View History

2023-08-29 12:36:17 +00:00
<div>
2023-08-29 13:51:30 +00:00
@if (session('error'))
2023-08-30 16:23:55 +00:00
<span x-data x-init="$wire.emit('error', '{{ session('error') }}')" />
2023-08-29 13:51:30 +00:00
@endif
2023-06-07 13:08:35 +00:00
<h1>Dashboard</h1>
2023-08-29 13:51:30 +00:00
<div class="subtitle">Something <x-highlighted text="(more)" /> useful will be here.</div>
2023-08-30 16:23:55 +00:00
@if (request()->query->get('success'))
<div class="rounded alert alert-success">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 stroke-current shrink-0" fill="none"
viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span>Your subscription has been activated! Welcome onboard!</span>
</div>
@endif
2023-06-22 08:04:39 +00:00
<div class="w-full rounded stats stats-vertical lg:stats-horizontal">
2023-06-07 08:33:45 +00:00
<div class="stat">
<div class="stat-title">Servers</div>
<div class="stat-value">{{ $servers }}</div>
</div>
<div class="stat">
<div class="stat-title">Projects</div>
<div class="stat-value">{{ $projects }}</div>
</div>
<div class="stat">
<div class="stat-title">Resources</div>
<div class="stat-value">{{ $resources }}</div>
<div class="stat-desc">Applications, databases, etc...</div>
</div>
2023-08-07 13:31:42 +00:00
<div class="stat">
<div class="stat-title">S3 Storages</div>
2023-08-29 12:36:17 +00:00
<div class="stat-value">{{ $s3s }}</div>
2023-08-07 13:31:42 +00:00
</div>
2023-05-22 13:47:40 +00:00
</div>
{{-- <x-forms.button wire:click='getIptables'>Get IPTABLES</x-forms.button> --}}
2023-08-29 12:36:17 +00:00
</div>