fix+add: seats + seat-chooser
This commit is contained in:
parent
2c6745e812
commit
b0cc5b5278
31 changed files with 808 additions and 115 deletions
34
resources/views/main/cinemas/cinema.blade.php
Normal file
34
resources/views/main/cinemas/cinema.blade.php
Normal file
|
@ -0,0 +1,34 @@
|
|||
@extends('main.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
<section>
|
||||
<h1>{{$cinema->cinema_name}}</h1>
|
||||
<hr/>
|
||||
<div id="cinema">
|
||||
<div class="details">
|
||||
<span>{{$cinema->address->string()}}</span><br/>
|
||||
<span>{{$cinema->cinema_open}} - {{$cinema->cinema_close}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h1>Now playing:</h1>
|
||||
<hr/>
|
||||
<div id="showings">
|
||||
@foreach($cinema->showings as $showing)
|
||||
<a href="/showing/{{$showing->showing_id}}">
|
||||
<img src="{{$showing->movie->movie_image}}" alt="{{$showing->movie->movie_name}} Poster"
|
||||
width="200px">
|
||||
<div class="details">
|
||||
<span>{{$showing->movie->movie_name}}</span><br/>
|
||||
<span>{{$showing->showing_date}}</span><br/>
|
||||
<span>{{$showing->showing_time}}</span>
|
||||
</div>
|
||||
</a>
|
||||
@endforeach
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@endsection
|
Loading…
Add table
Add a link
Reference in a new issue