You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.1 KiB
62 lines
2.1 KiB
@extends('layouts.app')
|
|
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-8">
|
|
<div class="card">
|
|
@include('inc.navbar')
|
|
<div class="card-header"><a href="/home">Home</a> -> <a href="/yeasts">Yeast List</a> -> {{ __('Yeast Card') }}<span class="backlink"><a href="{{url()->previous()}}">Go Back</a></span></div>
|
|
|
|
<div class="card-body">
|
|
<h2>{{$yeast->name}}</h2>
|
|
<section id="yeast_card" class="container">
|
|
<div class="row">
|
|
<div class="infopanel col-sm-4">Profile</div>
|
|
<div class="infopanel col-sm-8">{{str_replace(' ,',',',str_replace('"',' ',str_replace(',',', ',str_replace('}', '', str_replace('{','',$yeast->profile)))))}}</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="infopanel col-sm-4">Attenuation</div>
|
|
<div class="infopanel col-sm-8">{{$yeast->attenuation}}%</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="infopanel col-sm-4">Flocculation</div>
|
|
<div class="infopanel col-sm-8">{{$yeast->flocculation}}</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="infopanel col-sm-4">Alcohol Tolerance</div>
|
|
<div class="infopanel col-sm-8">{{$yeast->tolerance}}</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="infopanel col-sm-4">Temperature Range</div>
|
|
<div class="infopanel col-sm-8">{{$yeast->temp_range}}°C</div>
|
|
</div>
|
|
</section>
|
|
<hr/>
|
|
<table class="table table-striped table-dark" id="table-programs">
|
|
<thead>
|
|
<tr><th scope="col" colspan="2">Used in</th></tr>
|
|
<tr>
|
|
<th scope="col">Brewery</th>
|
|
<th scope="col">Beer</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
@foreach ($yeastadditions as $yeasts)
|
|
<tr>
|
|
<td><a href="/brewery/{{$yeasts->breweryID}}">{{$yeasts->brewery}}</a> </td>
|
|
<td><a href="/beer/{{$yeasts->beer_id}}">{{$yeasts->beer}}</a> </td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@endsection
|