Merge branch 'master' into feature/19-user-profile-screen

This commit is contained in:
Andy Heathershaw 2018-08-07 09:19:44 +01:00
commit 95a1298233
7 changed files with 27 additions and 14 deletions

View File

@ -23,8 +23,17 @@ class ConfigHelper
return [ return [
'Y-m-d - H:i', 'Y-m-d - H:i',
'd/m/Y - H:i', 'd/m/Y - H:i',
'd-m-Y - H:i',
'd.m.Y - H:i',
'd/M/Y - H:i',
'd-M-Y - H:i',
'm/d/Y - H:i', 'm/d/Y - H:i',
'm-d-Y - H:i',
'm.d.Y - H:i',
'jS F Y - H:i', 'jS F Y - H:i',
'jS M. Y - H:i',
'F jS Y - H:i',
'M. jS Y - H:i'
]; ];
} }

View File

@ -57,11 +57,10 @@
<div id="change-parent-warning" class="alert alert-warning" style="display: none;"> <div id="change-parent-warning" class="alert alert-warning" style="display: none;">
@lang('admin.edit_album_change_parent_warning') @lang('admin.edit_album_change_parent_warning')
<div class="mt-3"> <div class="mt-3 form-check">
<label class="custom-control custom-checkbox"> <input type="checkbox" class="form-check-input" id="preserve-url-redirect" name="preserve_url_redirect" checked="checked">
<input type="checkbox" class="custom-control-input" name="preserve_url_redirect" checked="checked"> <label class="form-check-label" for="preserve-url-redirect">
<span class="custom-control-indicator"></span> <strong>@lang('admin.edit_album_change_parent_add_alias')</strong>
<span class="custom-control-description">@lang('admin.edit_album_change_parent_add_alias')</span>
</label> </label>
</div> </div>
</div> </div>

View File

@ -41,11 +41,11 @@
</div> </div>
</div> </div>
@endforeach @endforeach
</div>
<div class="row" style="margin-top: 15px;"> <div class="row" style="margin-top: 15px;">
<div class="col text-center"> <div class="col text-center">
{{ $photos->links() }} {{ $photos->links() }}
</div>
</div> </div>
</div> </div>
@ -57,7 +57,7 @@
<div class="row"> <div class="row">
@foreach ($child_albums as $childAlbum) @foreach ($child_albums as $childAlbum)
<div class="col-sm-4 col-md-3 text-left" style="max-width: 250px;"> <div class="col-6 col-sm-4 col-md-3 text-left" style="max-width: 250px;">
<div class="card mb-3"> <div class="card mb-3">
<img class="card-img-top" src="{{ $childAlbum->thumbnailUrl('preview') }}" style="max-height: 120px;"/> <img class="card-img-top" src="{{ $childAlbum->thumbnailUrl('preview') }}" style="max-height: 120px;"/>
<div class="card-body"> <div class="card-body">

View File

@ -27,12 +27,12 @@
<img src="{{ asset('themes/base/images/smartphone-photo.jpg') }}" class="img-fluid rounded" style="display: inline;" /> <img src="{{ asset('themes/base/images/smartphone-photo.jpg') }}" class="img-fluid rounded" style="display: inline;" />
@else @else
<h2><small class="text-muted">@lang('gallery.other_albums_heading', ['album_name' => $album->name])</small></h2> <h2 class="mt-4"><small class="text-muted">@lang('gallery.other_albums_heading', ['album_name' => $album->name])</small></h2>
<p class="mb-4">@lang('gallery.other_albums_description_empty', ['album_name' => $album->name])</p> <p class="mb-4">@lang('gallery.other_albums_description_empty', ['album_name' => $album->name])</p>
<div class="row"> <div class="row">
@foreach ($child_albums as $childAlbum) @foreach ($child_albums as $childAlbum)
<div class="col-sm-4 col-md-3 text-left" style="max-width: 250px;"> <div class="col-6 col-sm-4 col-md-3 text-left" style="max-width: 250px;">
<div class="card mb-3"> <div class="card mb-3">
<img class="card-img-top" src="{{ $childAlbum->thumbnailUrl('preview') }}" style="max-height: 120px;"/> <img class="card-img-top" src="{{ $childAlbum->thumbnailUrl('preview') }}" style="max-height: 120px;"/>
<div class="card-body"> <div class="card-body">

View File

@ -64,7 +64,7 @@
<div class="row"> <div class="row">
@foreach ($child_albums as $childAlbum) @foreach ($child_albums as $childAlbum)
<div class="col-sm-4 col-md-3 text-left" style="max-width: 250px;"> <div class="col-6 col-sm-4 col-md-3 text-left" style="max-width: 250px;">
<div class="card mb-3"> <div class="card mb-3">
<img class="card-img-top" src="{{ $childAlbum->thumbnailUrl('preview') }}" style="max-height: 120px;"/> <img class="card-img-top" src="{{ $childAlbum->thumbnailUrl('preview') }}" style="max-height: 120px;"/>
<div class="card-body"> <div class="card-body">

View File

@ -81,6 +81,11 @@
</tr> </tr>
@endif @endif
<tr>
<td class="metadata_name">@lang('gallery.date_uploaded')</td>
<td class="metadata_value">{{ date(UserConfig::get('date_format'), strtotime($photo->created_at)) }}</td>
</tr>
@if (!empty($photo->camera_make)) @if (!empty($photo->camera_make))
<tr> <tr>
<td class="metadata_name">@lang('gallery.camera_make')</td> <td class="metadata_name">@lang('gallery.camera_make')</td>

View File

@ -1,5 +1,5 @@
@if ($paginator->hasPages()) @if ($paginator->hasPages())
<ul class="pagination"> <ul class="pagination justify-content-center">
{{-- Previous Page Link --}} {{-- Previous Page Link --}}
@if ($paginator->onFirstPage()) @if ($paginator->onFirstPage())
<li class="page-item disabled"><span class="page-link">&laquo;</span></li> <li class="page-item disabled"><span class="page-link">&laquo;</span></li>