megacommit
This commit is contained in:
parent
2451ab45cb
commit
34ed81516b
51 changed files with 1200 additions and 251 deletions
29
resources/views/main/movies/movie.blade.php
Normal file
29
resources/views/main/movies/movie.blade.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
@extends('main.layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
<section>
|
||||
<h1>{{$movie->movie_name}}</h1>
|
||||
<hr/>
|
||||
<div id="movie">
|
||||
<img src="{{$movie->movie_image}}" alt="{{$movie->movie_name}} Poster" width="200px">
|
||||
<div class="details">
|
||||
<span>{{$movie->movie_length}} min</span><br/>
|
||||
<span>{{$movie->movie_description}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h1>Now playing:</h1>
|
||||
<hr/>
|
||||
<div id="showings">
|
||||
@foreach($movie->showings as $showing)
|
||||
<a href="/showing/{{$showing->showing_id}}">
|
||||
<h2>{{$showing->room->cinema->cinema_name}} @ {{$showing->showing_start}} - {{$showing->showing_end()}}</h2>
|
||||
</a>
|
||||
@endforeach
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@endsection
|
Loading…
Add table
Add a link
Reference in a new issue