2018-05-27 18:40:07 +00:00
|
|
|
@extends('simple-layout')
|
|
|
|
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
|
|
|
2019-04-14 11:04:20 +00:00
|
|
|
<div class="grid left-focus v-center no-row-gap">
|
2019-02-02 15:49:57 +00:00
|
|
|
<div class="py-m">
|
2019-04-07 11:00:09 +00:00
|
|
|
@include('settings.navbar', ['selected' => 'maintenance'])
|
2019-02-02 15:49:57 +00:00
|
|
|
</div>
|
|
|
|
<div class="text-right mb-l px-m">
|
|
|
|
<br>
|
|
|
|
BookStack @if(strpos($version, 'v') !== 0) version @endif {{ $version }}
|
|
|
|
</div>
|
2018-05-27 18:40:07 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
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>
|
|
|
|
<form method="POST" action="{{ baseUrl('/settings/maintenance/cleanup-images') }}">
|
|
|
|
{!! 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>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@stop
|