lots of progress
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
@extends('profile.profile')
|
||||
|
||||
@section('page_content')
|
||||
<br>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
@extends('profile.profile')
|
||||
|
||||
@section('page_content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
@foreach($items as $item)
|
||||
<div class="large-list-item">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<a href="{{ route('movie.show', $item->item()->first()->slug) }}">
|
||||
<img src="http://image.tmdb.org/t/p/w185{{ $item->item()->first()->poster_path }}" alt="" class="poster">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<div class="row">
|
||||
<div class="col-md-1 text-center">
|
||||
<img src="{{ asset('/img/star_rating.png') }}" alt="">
|
||||
{{ $item->item()->first()->vote_average }}
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<h3>
|
||||
<a href="{{ route('movie.show', $item->item()->first()->slug) }}">
|
||||
{{ $item->item()->first()->title }}
|
||||
</a>
|
||||
</h3>
|
||||
<small>{{ $item->item()->first()->release_date->format('F Y') }}</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<span>
|
||||
{{ $item->item()->first()->overview }}
|
||||
</span>
|
||||
<div class="meta">
|
||||
Rate | favorite | add to list | remove
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@@ -1,22 +1,94 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="profile-page pattern{{ rand(1,6) }}">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-2 text-center">
|
||||
<img src="{{ asset('/img/user_no_avatar.png') }}" alt="" class="user-avatar">
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
<h1>{{ $user->name }}</h1><span class="register-date">Member since {{ $user->created_at->format('F Y') }}</span>
|
||||
<br>
|
||||
2 Followers 3 Following average movie score average tv series score
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="profile-page-menu">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="col-md-10">
|
||||
<div class="profile-nav">
|
||||
avatar/name/etc <br>
|
||||
<div class="menu-nav">
|
||||
<ul class="list-inline">
|
||||
<li class="float-start"><a href="">Profile</a></li>
|
||||
<li class="float-start"><a href="">History</a></li>
|
||||
<li class="float-start"><a href="">Watchlist</a></li>
|
||||
<li class="float-start"><a href="">Collection</a></li>
|
||||
<li class="float-start"><a href="">Ratings</a></li>
|
||||
<li class="float-start"><a href="">Reviews</a></li>
|
||||
<li class="float-start"><a href="">Likes</a></li>
|
||||
<li class="float-start"><a href="">Network</a></li>
|
||||
<li class="float-start"><a href="">Stats</a></li>
|
||||
<li class="float-start">
|
||||
<a href="">
|
||||
Profile
|
||||
</a>
|
||||
</li>
|
||||
<li class="float-start">
|
||||
<a
|
||||
href="{{ route('profile.list.index', $user->slug) }}"
|
||||
class="{{ \App\Service\ToolService::isCurrentRoute(route('profile.list.index', $user->slug)) ? 'active' : '' }}"
|
||||
>
|
||||
Lists
|
||||
</a>
|
||||
</li>
|
||||
<li class="float-start">
|
||||
<a
|
||||
href="{{ route('profile.list.show', [$user->slug, 'watched']) }}"
|
||||
class="{{ \App\Service\ToolService::isCurrentRoute(route('profile.list.show', [$user->slug, 'watched'])) ? 'active' : '' }}"
|
||||
>
|
||||
History
|
||||
</a>
|
||||
</li>
|
||||
<li class="float-start">
|
||||
<a
|
||||
href="{{ route('profile.list.show', [$user->slug, 'watchlist']) }}"
|
||||
class="{{ \App\Service\ToolService::isCurrentRoute(route('profile.list.show', [$user->slug, 'watchlist'])) ? 'active' : '' }}"
|
||||
>
|
||||
Watchlist
|
||||
</a>
|
||||
</li>
|
||||
<li class="float-start">
|
||||
<a
|
||||
href="{{ route('profile.list.show', [$user->slug, 'collection']) }}"
|
||||
class="{{ \App\Service\ToolService::isCurrentRoute(route('profile.list.show', [$user->slug, 'collection'])) ? 'active' : '' }}"
|
||||
>
|
||||
Collection
|
||||
</a>
|
||||
</li>
|
||||
<li class="float-start">
|
||||
<a href="">
|
||||
Ratings
|
||||
</a>
|
||||
</li>
|
||||
<li class="float-start">
|
||||
<a href="">
|
||||
Reviews
|
||||
</a>
|
||||
</li>
|
||||
<li class="float-start">
|
||||
<a
|
||||
href="{{ route('profile.list.show', [$user->slug, 'liked']) }}"
|
||||
class="{{ \App\Service\ToolService::isCurrentRoute(route('profile.list.show', [$user->slug, 'liked'])) ? 'active' : '' }}"
|
||||
>
|
||||
Likes
|
||||
</a>
|
||||
</li>
|
||||
<li class="float-start">
|
||||
<a href="">
|
||||
Network
|
||||
</a>
|
||||
</li>
|
||||
<li class="float-start">
|
||||
<a href="">
|
||||
Stats
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user