From acd5c108a16a56330a7fc9d4ba1891748bd7eed8 Mon Sep 17 00:00:00 2001 From: Andy Heathershaw Date: Mon, 5 Sep 2016 16:59:42 +0100 Subject: [PATCH] Added breadcrumb trail to gallery pages --- public/themes/bootstrap3/theme.css | 9 +++++++++ resources/views/themes/base/gallery/album.blade.php | 11 +++++++++++ resources/views/themes/base/gallery/photo.blade.php | 12 ++++++++++++ resources/views/themes/base/layout.blade.php | 2 ++ 4 files changed, 34 insertions(+) diff --git a/public/themes/bootstrap3/theme.css b/public/themes/bootstrap3/theme.css index de72677..1b4d024 100644 --- a/public/themes/bootstrap3/theme.css +++ b/public/themes/bootstrap3/theme.css @@ -8,6 +8,15 @@ max-width: 100%; } +div.breadcrumb { + margin-top: -20px; +} + +ol.breadcrumb { + margin-bottom: 0; + padding: 0; +} + .form-actions { text-align: right; } diff --git a/resources/views/themes/base/gallery/album.blade.php b/resources/views/themes/base/gallery/album.blade.php index 3083caf..acbcfe1 100644 --- a/resources/views/themes/base/gallery/album.blade.php +++ b/resources/views/themes/base/gallery/album.blade.php @@ -1,6 +1,17 @@ @extends('themes.base.layout') @section('title', 'Welcome') +@section('breadcrumb') + +@endsection + @section('content')
diff --git a/resources/views/themes/base/gallery/photo.blade.php b/resources/views/themes/base/gallery/photo.blade.php index a2ecfd0..4241aeb 100644 --- a/resources/views/themes/base/gallery/photo.blade.php +++ b/resources/views/themes/base/gallery/photo.blade.php @@ -1,6 +1,18 @@ @extends('themes.base.layout') @section('title', 'Welcome') +@section('breadcrumb') + +@endsection + @section('content')
diff --git a/resources/views/themes/base/layout.blade.php b/resources/views/themes/base/layout.blade.php index a1b56de..52b2330 100644 --- a/resources/views/themes/base/layout.blade.php +++ b/resources/views/themes/base/layout.blade.php @@ -24,6 +24,8 @@ @include('themes.base.partials.navbar') + @yield('breadcrumb') +
@if (isset($error))