From e43621b99072724b91351d0fb7a31a3dfeb699fa Mon Sep 17 00:00:00 2001 From: jk Date: Wed, 23 Jun 2021 12:55:37 +0100 Subject: [PATCH] playing with mobile display for tables --- .../views/adjunctadditions/index.blade.php | 22 +++++++++---------- resources/views/breweries/index.blade.php | 18 +++++++-------- resources/views/fermentations/index.blade.php | 18 +++++++-------- resources/views/grainbills/index.blade.php | 14 ++++++------ resources/views/hopadditions/index.blade.php | 14 ++++++------ resources/views/hops/index.blade.php | 22 +++++++++---------- resources/views/mashes/index.blade.php | 18 +++++++-------- 7 files changed, 63 insertions(+), 63 deletions(-) diff --git a/resources/views/adjunctadditions/index.blade.php b/resources/views/adjunctadditions/index.blade.php index d58c286..29b6fbb 100644 --- a/resources/views/adjunctadditions/index.blade.php +++ b/resources/views/adjunctadditions/index.blade.php @@ -21,26 +21,26 @@ Adjunct Beer Amount - Timing - Alternative - Notes - @if (Auth::user()->isAdmin())Admin@endif + Timing + Alternative + Notes + @if (Auth::user()->isAdmin())Admin@endif @foreach ($adjunctadditions as $adjunctaddition) {{$adjunctaddition->name}} {{$adjunctaddition->beer}} {{$adjunctaddition->amount}} - {{$adjunctaddition->timing}} - {{$adjunctaddition->alternativename}} - {{$adjunctaddition->notes}} + {{$adjunctaddition->timing}} + {{$adjunctaddition->alternativename}} + {{$adjunctaddition->notes}} @if (Auth::user()->isAdmin()) - Edit -
+ Edit + @csrf @method('DELETE') - - + +
@endif @endforeach diff --git a/resources/views/breweries/index.blade.php b/resources/views/breweries/index.blade.php index e36ddfd..ccef0ae 100644 --- a/resources/views/breweries/index.blade.php +++ b/resources/views/breweries/index.blade.php @@ -20,9 +20,9 @@ Name - City\Region - Country - @if (Auth::user()->isAdmin())Admin@endif + City\Region + Country + @if (Auth::user()->isAdmin())Admin@endif @@ -30,15 +30,15 @@ @foreach ($breweries as $brewery) {{$brewery->name}} - {{$brewery->place}} - {{$brewery->country}} + {{$brewery->place}} + {{$brewery->country}} @if (Auth::user()->isAdmin()) - Edit -
+ Edit + @csrf @method('DELETE') - - + +
@endif @endforeach diff --git a/resources/views/fermentations/index.blade.php b/resources/views/fermentations/index.blade.php index 668d325..d0097e2 100644 --- a/resources/views/fermentations/index.blade.php +++ b/resources/views/fermentations/index.blade.php @@ -21,24 +21,24 @@ Yeast Beer Temperature - Duration - Alternative - @if (Auth::user()->isAdmin())Admin@endif + Duration + Alternative + @if (Auth::user()->isAdmin())Admin@endif @foreach ($fermentations as $fermentation) {{$fermentation->name}} {{$fermentation->beer}} {{$fermentation->temperature}} - {{$fermentation->duration}} - {{$fermentation->alternative}} + {{$fermentation->duration}} + {{$fermentation->alternative}} @if (Auth::user()->isAdmin()) - Edit -
+ Edit + @csrf @method('DELETE') - - + +
@endif @endforeach diff --git a/resources/views/grainbills/index.blade.php b/resources/views/grainbills/index.blade.php index f722772..7d5dfd6 100644 --- a/resources/views/grainbills/index.blade.php +++ b/resources/views/grainbills/index.blade.php @@ -21,22 +21,22 @@ Grain Beer Amount - % of Grain Bill - @if (Auth::user()->isAdmin())Admin@endif + % of Grain Bill + @if (Auth::user()->isAdmin())Admin@endif @foreach ($grainbills as $grainbill) {{$grainbill->name}} {{$grainbill->beer}} {{$grainbill->amount}} - {{$grainbill->grain_bill}} + {{$grainbill->grain_bill}} @if (Auth::user()->isAdmin()) - Edit -
+ Edit + @csrf @method('DELETE') - - + +
@endif @endforeach diff --git a/resources/views/hopadditions/index.blade.php b/resources/views/hopadditions/index.blade.php index 9f9b602..544e89c 100644 --- a/resources/views/hopadditions/index.blade.php +++ b/resources/views/hopadditions/index.blade.php @@ -21,8 +21,8 @@ Beer Hop Amount - Timing - @if (Auth::user()->isAdmin())Admin@endif + Timing + @if (Auth::user()->isAdmin())Admin@endif @@ -32,14 +32,14 @@ {{$hopaddition->beer}} {{$hopaddition->hop}} {{$hopaddition->amount}} - {{$hopaddition->timing}} + {{$hopaddition->timing}} @if (Auth::user()->isAdmin()) - Edit -
+ Edit + @csrf @method('DELETE') - - + +
@endif @endforeach diff --git a/resources/views/hops/index.blade.php b/resources/views/hops/index.blade.php index e37f2b1..bae625e 100644 --- a/resources/views/hops/index.blade.php +++ b/resources/views/hops/index.blade.php @@ -19,10 +19,10 @@ Hop Name - Profile - Bittering? - Aroma? - @if (Auth::user()->isAdmin())Admin@endif + Profile + Bittering? + Aroma? + @if (Auth::user()->isAdmin())Admin@endif @@ -30,16 +30,16 @@ @foreach ($hops as $hop) {{$hop->name}} - {{str_replace(' ,',',',str_replace('"',' ',str_replace(',',', ',str_replace('}', '', str_replace('{','',$hop->profile)))))}} - @if($hop->bitter == 1) yes @else no @endif - @if($hop->aroma == 1) yes @else no @endif + {{str_replace(' ,',',',str_replace('"',' ',str_replace(',',', ',str_replace('}', '', str_replace('{','',$hop->profile)))))}} + @if($hop->bitter == 1) yes @else no @endif + @if($hop->aroma == 1) yes @else no @endif @if (Auth::user()->isAdmin()) - Edit -
+ Edit + @csrf @method('DELETE') - - + +
@endif @endforeach diff --git a/resources/views/mashes/index.blade.php b/resources/views/mashes/index.blade.php index d46d946..6efe0fb 100644 --- a/resources/views/mashes/index.blade.php +++ b/resources/views/mashes/index.blade.php @@ -21,24 +21,24 @@ Beer Temperature Duration - Stage - Length of Boil - @if (Auth::user()->isAdmin())Admin@endif + Stage + Length of Boil + @if (Auth::user()->isAdmin())Admin@endif @foreach ($mashes as $mash) {{$mash->beer}} {{$mash->temp}} {{$mash->duration}} - {{$mash->stage}} - {{$mash->boil}} + {{$mash->stage}} + {{$mash->boil}} @if (Auth::user()->isAdmin()) - Edit -
+ Edit + @csrf @method('DELETE') - - + +
@endif @endforeach