2018-05-28 02:40:07 +08:00
|
|
|
@extends('simple-layout')
|
|
|
|
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
|
|
|
2019-04-14 19:04:20 +08:00
|
|
|
<div class="grid left-focus v-center no-row-gap">
|
2019-02-02 23:49:57 +08:00
|
|
|
<div class="py-m">
|
2019-04-07 19:00:09 +08:00
|
|
|
@include('settings.navbar', ['selected' => 'maintenance'])
|
2019-02-02 23:49:57 +08:00
|
|
|
</div>
|
2019-10-17 22:06:55 +08:00
|
|
|
<div class="text-right p-m">
|
|
|
|
<a target="_blank" rel="noopener noreferrer" href="https://github.com/BookStackApp/BookStack/releases">
|
2019-02-02 23:49:57 +08:00
|
|
|
BookStack @if(strpos($version, 'v') !== 0) version @endif {{ $version }}
|
2019-05-23 22:45:15 +08:00
|
|
|
</a>
|
2019-02-02 23:49:57 +08:00
|
|
|
</div>
|
2018-05-28 02:40:07 +08:00
|
|
|
</div>
|
|
|
|
|
2019-02-02 23:49:57 +08:00
|
|
|
<div id="image-cleanup" class="card content-wrap auto-height">
|
|
|
|
<h2 class="list-heading">{{ trans('settings.maint_image_cleanup') }}</h2>
|
2019-03-30 22:27:00 +08:00
|
|
|
<div class="grid half gap-xl">
|
2019-02-02 23:49:57 +08:00
|
|
|
<div>
|
2019-04-07 18:34:40 +08:00
|
|
|
<p class="small text-muted">{{ trans('settings.maint_image_cleanup_desc') }}</p>
|
2019-02-02 23:49:57 +08:00
|
|
|
</div>
|
|
|
|
<div>
|
2019-08-04 21:26:39 +08:00
|
|
|
<form method="POST" action="{{ url('/settings/maintenance/cleanup-images') }}">
|
2019-02-02 23:49:57 +08:00
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="_method" value="DELETE">
|
|
|
|
<div>
|
|
|
|
@if(session()->has('cleanup-images-warning'))
|
2019-04-07 18:34:40 +08:00
|
|
|
<p class="text-neg">
|
2019-02-02 23:49:57 +08: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-28 02:40:07 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-10-16 00:41:08 +08: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>
|
|
|
|
|
2018-05-28 02:40:07 +08:00
|
|
|
</div>
|
|
|
|
@stop
|