@extends('backend.layouts.app') @section('title', __('labels.backend.backup.title').' | '.app_name()) @push('after-styles') @endpush @section('content') {{ html()->form('POST', route('admin.backup.store'))->id('general-settings-form')->class('form-horizontal')->acceptsFiles()->open() }}

@lang('labels.backend.backup.title')

@lang('labels.backend.backup.backup_notice')

{{ html()->label(__('labels.backend.backup.title'))->class('col-md-2 form-control-label')}}

{{ html()->label(html() ->checkbox('backup__status', config('backup.status') ? true : false,1) ->class('switch-input status')->value(1) . '') ->class('switch switch-sm switch-3d switch-primary') }} {{__('labels.backend.backup.enable_disable')}}

{{ html()->label(__('labels.backend.backup.email'))->class('col-md-2 form-control-label')->for('app_name') }}
{{ html()->text('backup__notifications__mail__to') ->class('form-control') ->placeholder(__('labels.backend.backup.email')) ->value(config('backup.notifications.mail.to')) ->autofocus() }}
{{ html()->label(__('labels.backend.backup.backup_type'))->class('col-md-2 form-control-label')}}

{{__('labels.backend.backup.dropbox')}} @lang('labels.backend.backup.dropbox_note')

{{ html()->label(__('labels.backend.backup.app_token'))->class('col-md-2 form-control-label')->for('api.key') }}
{{ html()->text('filesystems__disks__dropbox__token') ->id('filesystems__disks__dropbox__token') ->value(config('filesystems.disks.dropbox.token')) ->class('form-control') ->placeholder('Ex. d814b5e4xxxxxxxxxxxxxxxxxcc27c-us17 ') }}

{{ html()->label(__('labels.backend.backup.app_secret'))->class('col-md-2 form-control-label')->for('api.key') }}
{{ html()->text('filesystems__disks__dropbox__app_secret') ->id('filesystems__disks__dropbox__app_secret') ->value(config('filesystems.disks.dropbox.app_secret')) ->class('form-control') ->placeholder('Ex. d814b5e4xxxxxxxxxxxxxxxxxcc27c-us17 ') }}

{{ html()->label(html() ->radio('backup__content')->checked('true') ->class('switch-input status')->value('db') . '') ->class('switch switch-sm switch-3d switch-primary') }} {{__('labels.backend.backup.db')}}

{{ html()->label(html() ->radio('backup__content') ->class('switch-input status')->value('db_storage') . '') ->class('switch switch-sm switch-3d switch-primary') }} {{__('labels.backend.backup.db_storage')}}

{{ html()->label(html() ->radio('backup__content') ->class('switch-input status')->value('all') . '') ->class('switch switch-sm switch-3d switch-primary') }} {{__('labels.backend.backup.db_app')}}

{{ html()->select('backup_schedule',['1' => __('labels.backend.backup.daily'),'2' => __('labels.backend.backup.weekly'),'3' => __('labels.backend.backup.monthly')]) ->id('backup_schedule') ->class('form-control ') }} @lang('labels.backend.backup.backup_note')
{{ html()->form()->close() }} @endsection @push('after-scripts') @endpush