Browse Source

playing with mobile display for tables

master
jk 3 years ago
parent
commit
e4ac4e911f
  1. 2
      resources/views/adjunctadditions/index.blade.php
  2. 2
      resources/views/fermentations/index.blade.php

2
resources/views/adjunctadditions/index.blade.php

@ -23,7 +23,6 @@
<th scope="col">Amount</th> <th scope="col">Amount</th>
<th scope="col" class="hideable">Timing</th> <th scope="col" class="hideable">Timing</th>
<th scope="col" class="hideable">Alternative</th> <th scope="col" class="hideable">Alternative</th>
<th scope="col" class="hideable">Notes</th>
@if (Auth::user()->isAdmin())<th scope="col">Admin</th>@endif @if (Auth::user()->isAdmin())<th scope="col">Admin</th>@endif
<tbody> <tbody>
@foreach ($adjunctadditions as $adjunctaddition) @foreach ($adjunctadditions as $adjunctaddition)
@ -33,7 +32,6 @@
<td>{{$adjunctaddition->amount}} </td> <td>{{$adjunctaddition->amount}} </td>
<td class="hideable">{{$adjunctaddition->timing}} </td> <td class="hideable">{{$adjunctaddition->timing}} </td>
<td class="hideable"><a href="/adjunct/{{$adjunctaddition->alternative}}">{{$adjunctaddition->alternativename}}</a> </td> <td class="hideable"><a href="/adjunct/{{$adjunctaddition->alternative}}">{{$adjunctaddition->alternativename}}</a> </td>
<td class="hideable">{{$adjunctaddition->notes}} </td>
@if (Auth::user()->isAdmin()) @if (Auth::user()->isAdmin())
<td><span id="buttons"><a href="{{ route('adjunctadditions.edit',$adjunctaddition->id)}}" class="btn btn-primary editbutton">Edit</a> <td><span id="buttons"><a href="{{ route('adjunctadditions.edit',$adjunctaddition->id)}}" class="btn btn-primary editbutton">Edit</a>
<form action="{{ route('adjunctadditions.destroy', $adjunctaddition->id)}}" method="post"> <form action="{{ route('adjunctadditions.destroy', $adjunctaddition->id)}}" method="post">

2
resources/views/fermentations/index.blade.php

@ -22,7 +22,6 @@
<th scope="col">Beer</th> <th scope="col">Beer</th>
<th scope="col">Temperature</th> <th scope="col">Temperature</th>
<th scope="col" class="hideable">Duration</th> <th scope="col" class="hideable">Duration</th>
<th scope="col" class="hideable">Alternative</th>
@if (Auth::user()->isAdmin())<th scope="col">Admin</th>@endif @if (Auth::user()->isAdmin())<th scope="col">Admin</th>@endif
<tbody> <tbody>
@foreach ($fermentations as $fermentation) @foreach ($fermentations as $fermentation)
@ -31,7 +30,6 @@
<td><a href="/beer/{{$fermentation->beer_id}}">{{$fermentation->beer}}</a> </td> <td><a href="/beer/{{$fermentation->beer_id}}">{{$fermentation->beer}}</a> </td>
<td>{{$fermentation->temperature}} </td> <td>{{$fermentation->temperature}} </td>
<td class="hideable">{{$fermentation->duration}} </td> <td class="hideable">{{$fermentation->duration}} </td>
<td class="hideable">{{$fermentation->alternative}} </td>
@if (Auth::user()->isAdmin()) @if (Auth::user()->isAdmin())
<td><span id="buttons"><a href="{{ route('fermentations.edit',$fermentation->id)}}" class="btn btn-primary editbutton">Edit</a> <td><span id="buttons"><a href="{{ route('fermentations.edit',$fermentation->id)}}" class="btn btn-primary editbutton">Edit</a>
<form action="{{ route('fermentations.destroy', $fermentation->id)}}" method="post"> <form action="{{ route('fermentations.destroy', $fermentation->id)}}" method="post">

Loading…
Cancel
Save