Commit awal: prototipe UI SIAKAD Untan
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<x-layouts.app :title="$heading">
|
||||
<x-ui.page-header
|
||||
:title="$heading"
|
||||
:description="$names['description'] ?? null"
|
||||
:breadcrumbs="[$names['plural'] => route($base.'.index'), $heading => null]"
|
||||
>
|
||||
<x-slot:actions>
|
||||
<x-ui.button variant="secondary" :href="route($base.'.index')" icon="arrow-left">Kembali</x-ui.button>
|
||||
@if ($abilities['edit'])
|
||||
<x-ui.button :href="route($base.'.edit', $keyOf($row))" icon="pencil-square">Ubah</x-ui.button>
|
||||
@endif
|
||||
</x-slot:actions>
|
||||
</x-ui.page-header>
|
||||
|
||||
<x-glass.panel padding="lg">
|
||||
<dl class="ledger">
|
||||
@foreach ($details as $label => $value)
|
||||
<div class="ledger__row">
|
||||
<dt>{{ $label }}</dt>
|
||||
<dd>{{ $value === null || $value === '' ? '-' : $value }}</dd>
|
||||
</div>
|
||||
@endforeach
|
||||
</dl>
|
||||
</x-glass.panel>
|
||||
</x-layouts.app>
|
||||
Reference in New Issue
Block a user