Added breadcrumb trail to gallery pages

This commit is contained in:
Andy Heathershaw 2016-09-05 16:59:42 +01:00
parent 1101432693
commit acd5c108a1
4 changed files with 34 additions and 0 deletions

View File

@ -8,6 +8,15 @@
max-width: 100%;
}
div.breadcrumb {
margin-top: -20px;
}
ol.breadcrumb {
margin-bottom: 0;
padding: 0;
}
.form-actions {
text-align: right;
}

View File

@ -1,6 +1,17 @@
@extends('themes.base.layout')
@section('title', 'Welcome')
@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
@section('content')
<div class="container">
<div class="row">

View File

@ -1,6 +1,18 @@
@extends('themes.base.layout')
@section('title', 'Welcome')
@section('breadcrumb')
<div class="breadcrumb">
<div class="container">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">Gallery</a></li>
<li><a href="{{ $photo->album->url() }}">{{ $photo->album->name }}</a></li>
<li class="active">{{ $photo->name }}</li>
</ol>
</div>
</div>
@endsection
@section('content')
<div class="container">
<div class="row">

View File

@ -24,6 +24,8 @@
<body>
@include('themes.base.partials.navbar')
@yield('breadcrumb')
<div class="container-fluid">
@if (isset($error))
<div class="container">