55 lines
3.0 KiB
PHP
55 lines
3.0 KiB
PHP
<section>
|
|
<x-header>
|
|
{{ __('Show Extruder') }}
|
|
|
|
<x-slot name="headerright">
|
|
<flux:button wire:click="back" variant="primary" class="bg-transparent shadow-none text-gray-50 hover:bg-black/10 hover:cursor-pointer transition-all ease-in-out" icon="arrow-left">Back</flux:button>
|
|
<flux:button wire:click="edit({{ $extruder->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">Extruder Information</h3>
|
|
<p class="mt-1 max-w-2xl text-sm/6 text-gray-200">Extruder 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">
|
|
{{ $extruder->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">
|
|
{{ $extruder->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">Manufacturer</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
{{ App\Models\Manufacturer::find($extruder->manufacturer_id)->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">Diameter</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
{{ $extruder->diameter }} mm
|
|
</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">Max Temperature</dt>
|
|
<dd class="mt-1 text-sm/6 text-gray-200 sm:col-span-2 sm:mt-0">
|
|
{{ $extruder->temp_max }} °C
|
|
</dd>
|
|
</div>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</section>
|