3
0
Fork 0
This repository has been archived on 2024-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
ThemeParkPlus-Panel/resources/views/show.blade.php

31 lines
1.3 KiB
PHP
Raw Normal View History

2021-06-27 19:01:43 +00:00
@extends('layouts.main')
@section('content')
2021-06-29 20:05:00 +00:00
<div class="wrapper">
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2">
@if(!empty($shows))
<div class="row card-container">
@foreach($shows as $show)
@php if(empty($show->id)) continue; @endphp
<div class="col-xs-12 col-md-6">
@component('components.show', ['show' => $show, 'style' => 'style="height: 100%"'])
<strong>Price: </strong>{{ $show->price }}
<span style="float: right">
<a style="text-decoration: none; color: #333;" href="{{ route('order', ['show_id' => $show->id]) }}">
Buy Ticket <i class="glyphicon glyphicon-shopping-cart"></i>
</a>
</span>
@endcomponent
</div>
2021-06-29 20:05:00 +00:00
@endforeach
</div>
2021-06-29 20:05:00 +00:00
@else
@component('components.panel', ['title' => 'No Shows'])
<p>There are no shows.</p>
2021-06-29 20:05:00 +00:00
@endcomponent
@endif
</div>
</div>
@endsection