Redesign + Fixes
This commit is contained in:
parent
7718ed6c32
commit
7fe8056e35
67 changed files with 1898 additions and 2799 deletions
|
@ -1,44 +1,30 @@
|
|||
@extends('layouts.main')
|
||||
|
||||
@section('content')
|
||||
<div class="wrapper">
|
||||
@if(!empty($shows))
|
||||
@foreach($shows as $show)
|
||||
@php if(empty($show->id)) continue; @endphp
|
||||
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-theme">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{{ $show->title }} <span style="float: right"><a style="text-decoration: none; color: #fff" href="{{ route('order', ['show_id' => $show->id]) }}">Ticket <i class="glyphicon glyphicon-shopping-cart"></i></a></span></h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-lg-9 col-md-9 col-sm-9">
|
||||
<p>{{ $show->description }}</p>
|
||||
<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>
|
||||
<div class="hidden-xs col-lg-3 col-md-3 col-sm-3">
|
||||
<img src="{{ $show->image }}" style="float: right; height: auto; width: 100%; margin: auto" alt="Image">
|
||||
</div>
|
||||
</div>
|
||||
<p><strong>Price: €</strong>{{ $show->price }}</p>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@else
|
||||
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-theme">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">No Shows</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="container-fluid">
|
||||
@else
|
||||
@component('components.panel', ['title' => 'No Shows'])
|
||||
<p>There are no shows.</p>
|
||||
</div>
|
||||
</div>
|
||||
@endcomponent
|
||||
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@endsection
|
||||
|
|
Reference in a new issue