2018-05-27 18:40:07 +00:00
|
|
|
@extends('simple-layout')
|
|
|
|
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
|
|
|
2020-09-26 15:26:30 +00:00
|
|
|
@include('settings.navbar-with-version', ['selected' => 'maintenance'])
|
2018-05-27 18:40:07 +00:00
|
|
|
|
2019-02-02 15:49:57 +00:00
|
|
|
<div id="image-cleanup" class="card content-wrap auto-height">
|
|
|
|
<h2 class="list-heading">{{ trans('settings.maint_image_cleanup') }}</h2>
|
2019-03-30 14:27:00 +00:00
|
|
|
<div class="grid half gap-xl">
|
2019-02-02 15:49:57 +00:00
|
|
|
<div>
|
2019-04-07 10:34:40 +00:00
|
|
|
<p class="small text-muted">{{ trans('settings.maint_image_cleanup_desc') }}</p>
|
2019-02-02 15:49:57 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
2019-08-04 13:26:39 +00:00
|
|
|
<form method="POST" action="{{ url('/settings/maintenance/cleanup-images') }}">
|
2019-02-02 15:49:57 +00:00
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="_method" value="DELETE">
|
|
|
|
<div>
|
|
|
|
@if(session()->has('cleanup-images-warning'))
|
2019-04-07 10:34:40 +00:00
|
|
|
<p class="text-neg">
|
2019-02-02 15:49:57 +00:00
|
|
|
{{ session()->get('cleanup-images-warning') }}
|
|
|
|
</p>
|
|
|
|
<input type="hidden" name="ignore_revisions" value="{{ session()->getOldInput('ignore_revisions', 'false') }}">
|
|
|
|
<input type="hidden" name="confirm" value="true">
|
|
|
|
@else
|
|
|
|
<label>
|
|
|
|
<input type="checkbox" name="ignore_revisions" value="true">
|
|
|
|
{{ trans('settings.maint_image_cleanup_ignore_revisions') }}
|
|
|
|
</label>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
<button class="button outline">{{ trans('settings.maint_image_cleanup_run') }}</button>
|
|
|
|
</form>
|
2018-05-27 18:40:07 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-10-15 16:41:08 +00:00
|
|
|
<div id="send-test-email" class="card content-wrap auto-height">
|
|
|
|
<h2 class="list-heading">{{ trans('settings.maint_send_test_email') }}</h2>
|
|
|
|
<div class="grid half gap-xl">
|
|
|
|
<div>
|
|
|
|
<p class="small text-muted">{{ trans('settings.maint_send_test_email_desc') }}</p>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<form method="POST" action="{{ url('/settings/maintenance/send-test-email') }}">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<button class="button outline">{{ trans('settings.maint_send_test_email_run') }}</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-10-03 17:44:12 +00:00
|
|
|
<div class="card content-wrap auto-height pb-xl">
|
|
|
|
<h2 class="list-heading">{{ trans('settings.recycle_bin') }}</h2>
|
|
|
|
<div class="grid half gap-xl">
|
|
|
|
<div>
|
|
|
|
<p class="small text-muted">{{ trans('settings.maint_recycle_bin_desc') }}</p>
|
|
|
|
<div class="grid half no-gap">
|
|
|
|
<p class="mb-xs text-bookshelf">@icon('bookshelf'){{ trans('entities.shelves') }}: {{ $recycleStats['bookshelf'] }}</p>
|
|
|
|
<p class="mb-xs text-book">@icon('book'){{ trans('entities.books') }}: {{ $recycleStats['book'] }}</p>
|
|
|
|
<p class="mb-xs text-chapter">@icon('chapter'){{ trans('entities.chapters') }}: {{ $recycleStats['chapter'] }}</p>
|
|
|
|
<p class="mb-xs text-page">@icon('page'){{ trans('entities.pages') }}: {{ $recycleStats['page'] }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<a href="{{ url('/settings/recycle-bin') }}" class="button outline">{{ trans('settings.maint_recycle_bin_open') }}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-05-27 18:40:07 +00:00
|
|
|
</div>
|
|
|
|
@stop
|