2016-09-04 21:59:32 +01:00
|
|
|
@extends('themes.base.layout')
|
2016-09-09 15:06:34 +01:00
|
|
|
@section('title', $album->name)
|
2016-09-04 21:59:32 +01:00
|
|
|
|
2016-09-05 16:59:42 +01:00
|
|
|
@section('breadcrumb')
|
|
|
|
<div class="breadcrumb">
|
|
|
|
<div class="container">
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li><a href="{{ route('home') }}">Gallery</a></li>
|
|
|
|
<li class="active">{{ $album->name }}</li>
|
|
|
|
</ol>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
|
2016-09-04 21:59:32 +01:00
|
|
|
@section('content')
|
2016-09-09 15:06:34 +01:00
|
|
|
<div class="container album-container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<h1 class="page-title">{{ $album->name }}</h1>
|
|
|
|
<p>{{ $album->description }}</p>
|
|
|
|
<hr/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-09-04 21:59:32 +01:00
|
|
|
<div class="row">
|
2016-09-07 21:44:28 +01:00
|
|
|
@foreach ($photos as $photo)
|
2016-09-09 15:42:29 +01:00
|
|
|
<div class="col-xs-12 col-sm-4 photo">
|
2016-09-09 15:06:34 +01:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-body" style="padding: 0;">
|
|
|
|
<a href="{{ $photo->url() }}"><img src="{{ $photo->thumbnailUrl('preview') }}" alt="" class="img-responsive"/></a>
|
|
|
|
</div>
|
|
|
|
<div class="panel-footer"><b><a href="{{ $photo->url() }}">{{ $photo->name }}</a></b></div>
|
|
|
|
</div>
|
2016-09-04 21:59:32 +01:00
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
2016-09-07 21:44:28 +01:00
|
|
|
|
|
|
|
<div class="row" style="margin-top: 15px;">
|
|
|
|
<div class="col-xs-12 text-center">
|
|
|
|
{{ $photos->links() }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-04 21:59:32 +01:00
|
|
|
</div>
|
|
|
|
@endsection
|