mega-commit: migrations, controllers, models, etc.
This commit is contained in:
parent
9732135e90
commit
2c6745e812
70 changed files with 2124 additions and 400 deletions
24
resources/views/manage/movies/index.blade.php
Normal file
24
resources/views/manage/movies/index.blade.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
@extends('manage.layout')
|
||||
|
||||
|
||||
@section('content')
|
||||
<br/>
|
||||
<div class="spread-h">
|
||||
<h1>Manage Movies:</h1>
|
||||
<a href="{{ route('manage.movies.create') }}" class="button" style="height: 2rem; margin: 0.5rem 0;">Add Movie</a>
|
||||
</div>
|
||||
<hr/><br/>
|
||||
<div id="movies">
|
||||
@foreach($movies as $movie)
|
||||
<a href="/manage/movie/{{$movie->movie_id}}">
|
||||
<img src="{{$movie->movie_image}}" alt="{{$movie->movie_name}} Poster" width="200px">
|
||||
<div class="details">
|
||||
<h3>{{$movie->movie_name}}</h3><br/>
|
||||
<span>{{ Str::limit($movie->movie_description, 500) }}</span><br/>
|
||||
<hr/>
|
||||
<span>{{$movie->movie_length}} min | {{$movie->movie_year}}</span>
|
||||
</div>
|
||||
</a>
|
||||
@endforeach
|
||||
</div>
|
||||
@endsection
|
Loading…
Add table
Add a link
Reference in a new issue