49 lines
2.6 KiB
PHP
49 lines
2.6 KiB
PHP
<section>
|
|
<form wire:submit="save">
|
|
<x-header>
|
|
{{ __('Show Manufacturer') }}
|
|
|
|
<x-slot name="headerright">
|
|
<flux:button wire:click="back" variant="primary" class="bg-transparent shadow-none hover:bg-black/10 hover:cursor-pointer transition-all ease-in-out" icon="arrow-left">Back</flux:button>
|
|
<flux:button wire:click="edit({{ $manufacturer->id }})" variant="primary" class="bg-selective text-gray-950 shadow-none hover:bg-selective-600 hover:cursor-pointer transition-all ease-in-out" icon="check">Edit</flux:button>
|
|
</x-slot>
|
|
</x-header>
|
|
|
|
<div class="container m-auto my-8 bg-elephant-950 border border-elephant-900 rounded-lg shadow p-6 text-gray-50">
|
|
<div>
|
|
<div class="px-4 sm:px-0">
|
|
<h3 class="text-base/7 font-semibold text-white">Manufacturer Information</h3>
|
|
<p class="mt-1 max-w-2xl text-sm/6 text-gray-200">Manufacturer details.</p>
|
|
</div>
|
|
<div class="mt-6 border-t border-white/10">
|
|
<dl class="divide-y divide-white/10">
|
|
<div class="px-4 py-6 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0 items-center">
|
|
<dt class="text-sm/6 font-medium text-gray-100">Name</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
{{ $manufacturer->name }}
|
|
</dd>
|
|
</div>
|
|
<div class="px-4 py-6 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0 items-center">
|
|
<dt class="text-sm/6 font-medium text-gray-100">Description</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
{{ $manufacturer->description }}
|
|
</dd>
|
|
</div>
|
|
<div class="px-4 py-6 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-0 items-center">
|
|
<dt class="text-sm/6 font-medium text-gray-100">Website</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
<div class="flex items-center gap-2">
|
|
<a href="https://{{ $manufacturer->website }}" target="_blank" class="hover:underline">{{ $manufacturer->website }}</a>
|
|
<flux:icon name="arrow-top-right-on-square" class="w-4 h-4 text-gray-200"></flux:icon>
|
|
</div>
|
|
|
|
</dd>
|
|
</div>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</form>
|
|
</section>
|