2023-03-24 16:51:30 +01:00
|
|
|
@extends('layout')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<h1>Device List</h1>
|
|
|
|
@unless(count($devices) == 0)
|
|
|
|
<ul>
|
|
|
|
@foreach ($devices as $device)
|
2023-03-30 15:16:38 +02:00
|
|
|
<x-device-simple :device="$device" />
|
2023-03-24 16:51:30 +01:00
|
|
|
@endforeach
|
|
|
|
</ul>
|
|
|
|
@else
|
|
|
|
<p>No devices found</p>
|
|
|
|
@endunless
|
2023-03-26 11:32:54 +02:00
|
|
|
<button><a href="devices/create">Device</a></button>
|
2023-03-25 11:02:47 +01:00
|
|
|
@endsection
|