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.
|
|
@extends('search')
@section('main') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> @include('inc.navbar') <div class="card-header"><a href="/home">Home</a> -> {{ __('Search Results') }}<span class="backlink"><a href="{{url()->previous()}}">Go Back</a></span></div> <div class="card-body"> @if ($table == "summarie") <div role="tabpanel"> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#home1" aria-controls="home" role="tab" data-toggle="tab">Overview</a> </li> <li role="presentation" class="active"> <a href="#home2" aria-controls="home" role="tab" data-toggle="tab">Stats</a> </li> <li role="presentation" class="active"> <a href="#home3" aria-controls="home" role="tab" data-toggle="tab">Ingredients</a> </li> <li role="presentation" class="active"> <a href="#home4" aria-controls="home" role="tab" data-toggle="tab">Mash & Boil</a> </li> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane active" id="home1"> <ul> <li> <table class="table table-striped table-dark" id="table-programs"> <!-- This piece of code is for error messages display purposes --> @include('inc.messages') <thead> <tr> <th scope="col">@sortablelink('name', 'Beer')</th> <th scope="col">Brewery</th> <th scope="col" class="hideable">@sortablelink('type', 'Style')</th> </tr> </thead> <tbody> @foreach ($results as $result) <tr> <td><a href="/beer/{{$result->beer_id}}">{{$result->name}}</a> </td> <td><a href="/brewery/{{$result->brewery_id}}">{{$result->brewery}}</a> </td> <td class="hideable">{{$result->type}} </td> </tr> @endforeach </tbody> </table> </li> </ul> </div> <div role="tabpanel" class="tab-pane" id="home2"></div> <div role="tabpanel" class="tab-pane" id="home3"></div> <div role="tabpanel" class="tab-pane" id="home4"></div> </div> @endif </div> </div> </div> </div> </div>
@endsection
|