@extends(BaseHelper::getAdminMasterLayoutTemplate())
@section('content')
@if (!function_exists('proc_open'))
{!! BaseHelper::clean(trans('plugins/backup::backup.proc_open_disabled_error')) !!}
@endif
@if ($driver === 'mysql')
- {!! BaseHelper::clean(trans('plugins/backup::backup.important_message1')) !!}
- {!! BaseHelper::clean(trans('plugins/backup::backup.important_message2')) !!}
- {!! BaseHelper::clean(trans('plugins/backup::backup.important_message3')) !!}
- {!! BaseHelper::clean(trans('plugins/backup::backup.important_message4')) !!}
@elseif ($driver === 'pgsql')
- {!! BaseHelper::clean(trans('plugins/backup::backup.important_message_pgsql1')) !!}
- {!! BaseHelper::clean(trans('plugins/backup::backup.important_message_pgsql2')) !!}
@endif
@if ($driver === 'mysql' && auth()->user()->hasPermission('backups.create'))
@endif
{{ trans('core/base::tables.name') }} |
{{ trans('core/base::tables.description') }} |
{{ trans('plugins/backup::backup.size') }} |
{{ trans('core/base::tables.created_at') }} |
{{ trans('core/table::table.operations') }} |
@if (count($backups) > 0)
@foreach($backups as $key => $backup)
@include('plugins/backup::partials.backup-item', ['data' => $backup, 'backupManager' => $backupManager, 'key' => $key, 'odd' => $loop->index % 2 == 0])
@endforeach
@else
{{ trans('plugins/backup::backup.no_backups') }} |
@endif
@if (auth()->user()->hasPermission('backups.create'))
{!! Form::text('name', old('name'), ['class' => 'form-control', 'id' => 'name', 'placeholder' => trans('core/base::forms.name'), 'data-counter' => 120]) !!}
{!! Form::textarea('description', old('description'), ['class' => 'form-control', 'rows' => 4, 'id' => 'description', 'placeholder' => trans('core/base::forms.description'), 'data-counter' => 400]) !!}
@endif
@if (auth()->user()->hasPermission('backups.restore'))
{!! trans('plugins/backup::backup.restore_confirm_msg') !!}
@endif
@include('core/table::modal')
@stop