2021-04-29 20:57:37 +00:00
|
|
|
@extends('layouts.app')
|
2021-04-27 17:33:12 +00:00
|
|
|
|
2021-04-29 20:57:37 +00:00
|
|
|
@section('title', 'Menus')
|
|
|
|
|
|
|
|
@section('content')
|
2021-05-01 16:54:32 +00:00
|
|
|
<h1 class="title">Menus aléatoires</h1>
|
2021-04-29 20:57:37 +00:00
|
|
|
|
|
|
|
@if ($menus)
|
2021-05-01 16:54:32 +00:00
|
|
|
<div class="columns is-multiline is-mobile">
|
2021-04-27 17:33:12 +00:00
|
|
|
@foreach($menus as $menu)
|
2021-05-01 16:54:32 +00:00
|
|
|
<div class="column is-half-mobile is-one-quarter-desktop is-one-quarter-tablet">
|
|
|
|
<div class="card">
|
|
|
|
<header class="card-header">
|
|
|
|
<p class="card-header-title">
|
|
|
|
{{ $menu->title }}
|
|
|
|
</p>
|
|
|
|
</header>
|
|
|
|
{{-- <div class="card-content">--}}
|
|
|
|
{{-- <p>Place content here.</p>--}}
|
|
|
|
{{-- </div>--}}
|
|
|
|
{{-- <footer class="card-footer">--}}
|
|
|
|
{{-- <p class="card-footer-item">My footer</p>--}}
|
|
|
|
{{-- </footer>--}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-04-27 17:33:12 +00:00
|
|
|
@endforeach
|
2021-05-01 16:54:32 +00:00
|
|
|
</div>
|
2021-04-29 20:57:37 +00:00
|
|
|
@else
|
|
|
|
<p>Aucun menu trouvé.</p>
|
|
|
|
@endif
|
2021-04-28 17:05:04 +00:00
|
|
|
|
2021-05-01 16:54:32 +00:00
|
|
|
<p><a class="button is-primary is-link" href="{{ route('menus.create') }}">Ajouter un menu</a></p>
|
2021-04-29 20:57:37 +00:00
|
|
|
@endsection
|