Added breadcrumb trail to gallery pages
This commit is contained in:
parent
1101432693
commit
acd5c108a1
9
public/themes/bootstrap3/theme.css
vendored
9
public/themes/bootstrap3/theme.css
vendored
@ -8,6 +8,15 @@
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
div.breadcrumb {
|
||||
margin-top: -20px;
|
||||
}
|
||||
|
||||
ol.breadcrumb {
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.form-actions {
|
||||
text-align: right;
|
||||
}
|
||||
|
@ -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">
|
||||
|
@ -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">
|
||||
|
@ -24,6 +24,8 @@
|
||||
<body>
|
||||
@include('themes.base.partials.navbar')
|
||||
|
||||
@yield('breadcrumb')
|
||||
|
||||
<div class="container-fluid">
|
||||
@if (isset($error))
|
||||
<div class="container">
|
||||
|
Loading…
Reference in New Issue
Block a user