with pagination nwo with the proper view selection
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="hidden shrink-0 items-center gap-5 lg:flex lg:justify-end">
|
<div class="hidden shrink-0 items-center justify-end gap-5 lg:flex">
|
||||||
<div class="h-16 w-px bg-white/15"></div>
|
<div class="h-16 w-px bg-white/15"></div>
|
||||||
|
|
||||||
<div class="inline-flex h-20 w-20 items-center justify-center rounded-2xl border border-cyan-300/20 bg-white/10 text-emerald-300 shadow-sm ring-1 ring-white/10 backdrop-blur">
|
<div class="inline-flex h-20 w-20 items-center justify-center rounded-2xl border border-cyan-300/20 bg-white/10 text-emerald-300 shadow-sm ring-1 ring-white/10 backdrop-blur">
|
||||||
@@ -181,7 +181,7 @@
|
|||||||
|
|
||||||
<tbody class="divide-y divide-zinc-200 dark:divide-zinc-800">
|
<tbody class="divide-y divide-zinc-200 dark:divide-zinc-800">
|
||||||
@forelse ($modules as $module)
|
@forelse ($modules as $module)
|
||||||
<tr class="align-top transition hover:!bg-zinc-100/70 dark:hover:!bg-zinc-800/45">
|
<tr class="align-top transition hover:!bg-zinc-800/45">
|
||||||
<td class="px-4 py-4">
|
<td class="px-4 py-4">
|
||||||
<input type="checkbox" name="modules[]" value="{{ $module['name'] }}" class="rounded border-zinc-300 text-blue-600 focus:ring-blue-500 dark:border-zinc-700 dark:bg-zinc-950" />
|
<input type="checkbox" name="modules[]" value="{{ $module['name'] }}" class="rounded border-zinc-300 text-blue-600 focus:ring-blue-500 dark:border-zinc-700 dark:bg-zinc-950" />
|
||||||
</td>
|
</td>
|
||||||
@@ -234,7 +234,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="px-4 py-4">
|
<td class="px-4 py-4">
|
||||||
<div class="flex justify-end gap-2">
|
<div class="flex justify-end gap-2">
|
||||||
<a href="{{ route('modules.control.show', $module['name']) }}" class="inline-flex items-center justify-center rounded-lg border border-emerald-400/40 bg-emerald-600 px-3 py-1.5 text-sm font-semibold !text-white shadow-sm transition hover:border-emerald-300/60 hover:!bg-emerald-500 hover:!text-white focus:outline-none focus:ring-2 focus:ring-emerald-400/50">View</a>
|
<a href="{{ route('modules.control.show', $module['name']) }}" class="inline-flex items-center justify-center rounded-lg border border-emerald-500/40 bg-emerald-600 px-3 py-1.5 text-sm font-semibold !text-white shadow-sm transition hover:border-emerald-400/60 hover:!bg-emerald-500 hover:!text-white focus:outline-none focus:ring-2 focus:ring-emerald-400/50">View</a>
|
||||||
@if ($module['enabled'])
|
@if ($module['enabled'])
|
||||||
<button type="submit" formaction="{{ route('modules.control.disable', $module['name']) }}" class="rounded-lg border border-red-500/40 bg-red-600 px-3 py-1.5 text-sm font-semibold text-white hover:bg-red-700" @disabled(! $module['can_disable'])>
|
<button type="submit" formaction="{{ route('modules.control.disable', $module['name']) }}" class="rounded-lg border border-red-500/40 bg-red-600 px-3 py-1.5 text-sm font-semibold text-white hover:bg-red-700" @disabled(! $module['can_disable'])>
|
||||||
Disable
|
Disable
|
||||||
|
|||||||
@@ -9,9 +9,9 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex shrink-0 items-center gap-5 lg:justify-end">
|
<div class="flex shrink-0 flex-col gap-4 sm:flex-row sm:items-center sm:justify-end lg:gap-5">
|
||||||
<a href="{{ route('modules.control.index') }}" wire:navigate
|
<a href="{{ route('modules.control.index') }}" wire:navigate
|
||||||
class="inline-flex min-h-12 items-center justify-center gap-3 rounded-2xl border border-emerald-300/40 bg-emerald-600 px-6 py-3 text-sm font-black text-white shadow-lg shadow-emerald-950/30 ring-1 ring-emerald-300/20 transition hover:border-emerald-200/60 hover:bg-emerald-500 hover:text-white focus:outline-none focus:ring-2 focus:ring-emerald-300/70">
|
class="inline-flex min-h-12 items-center justify-center gap-3 rounded-2xl border border-emerald-300/40 bg-emerald-600 px-6 py-3 text-sm font-black !text-white shadow-lg shadow-emerald-950/30 ring-1 ring-emerald-300/20 transition hover:border-emerald-200/60 hover:!bg-emerald-500 hover:!text-white focus:outline-none focus:ring-2 focus:ring-emerald-300/70">
|
||||||
<i class="fa-solid fa-arrow-left text-sm" aria-hidden="true"></i>
|
<i class="fa-solid fa-arrow-left text-sm" aria-hidden="true"></i>
|
||||||
<span>{{ __('Back to Module Control') }}</span>
|
<span>{{ __('Back to Module Control') }}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user