abschlussprojekt-device-man.../device-app/resources/views/devices/index.blade.php

16 lines
373 B
PHP
Raw Normal View History

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)
<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