@extends('layouts.settings.default') @push('css_lib') {{--dropzone--}} @endpush @section('settings_title',trans('lang.user_table')) @section('settings_content') @include('flash::message') @include('adminlte-templates::common.errors')
{!! Form::open(['url' => ['settings/update'], 'method' => 'patch']) !!}
{!! Form::label('app_name', trans("lang.app_setting_app_name"), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('app_name', setting('app_name'), ['class' => 'form-control','placeholder'=> trans("lang.app_setting_app_name_placeholder")]) !!}
{{ trans("lang.app_setting_app_name_help") }}
{!! Form::label('app_short_description', trans("lang.app_setting_app_short_description"), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('app_short_description', setting('app_short_description'), ['class' => 'form-control','placeholder'=> trans("lang.app_setting_app_short_description_placeholder")]) !!}
{{ trans("lang.app_setting_app_short_description_help") }}
{!! Form::label('theme_contrast', trans("lang.app_setting_theme_contrast"),['class' => 'col-4 control-label text-right']) !!}
{!! Form::select('theme_contrast', [ 'dark' => trans('lang.app_setting_dark_theme'), 'light' => trans('lang.app_setting_light_theme'), ] , setting('theme_contrast'), ['class' => 'select2 form-control']) !!}
{{ trans("lang.app_setting_theme_contrast_help") }}
{!! Form::label('theme_color', trans("lang.app_setting_theme_color"),['class' => 'col-4 control-label text-right']) !!}
{!! Form::select('theme_color', [ 'primary' => trans('lang.app_setting_blue'), 'secondary' => trans('lang.app_setting_gray'), 'danger' => trans('lang.app_setting_red'), 'warning' => trans('lang.app_setting_orange'), 'info' => trans('lang.app_setting_sky_blue'), 'success' => trans('lang.app_setting_green'), ] , setting('theme_color'), ['class' => 'select2 form-control']) !!}
{{ trans("lang.app_setting_theme_color_help") }}
{!! Form::label('nav_color', trans("lang.app_setting_nav_color"),['class' => 'col-4 control-label text-right']) !!}
{!! Form::select('nav_color', [ 'navbar-dark bg-primary' => trans('lang.app_setting_blue'), 'navbar-light bg-gray-light' => trans('lang.app_setting_gray'), 'navbar-light bg-dark' => trans('lang.app_setting_dark'), 'navbar-light bg-white' => trans('lang.app_setting_white'), 'navbar-dark bg-danger' => trans('lang.app_setting_red'), 'navbar-light bg-warning' => trans('lang.app_setting_orange'), 'navbar-dark bg-info' => trans('lang.app_setting_sky_blue'), 'navbar-dark bg-success' => trans('lang.app_setting_green'), ] , setting('nav_color'), ['class' => 'select2 form-control']) !!}
{{ trans("lang.app_setting_nav_color_help") }}
{!! Form::label('logo_bg_color', trans("lang.app_setting_logo_bg_color"),['class' => 'col-4 control-label text-right']) !!}
{!! Form::select('logo_bg_color', [ '' => trans('lang.app_setting_clear'), 'bg-primary' => trans('lang.app_setting_blue'), 'bg-gray-light' => trans('lang.app_setting_gray'), 'bg-dark' => trans('lang.app_setting_dark'), 'bg-white' => trans('lang.app_setting_white'), 'bg-danger' => trans('lang.app_setting_red'), 'bg-warning' => trans('lang.app_setting_orange'), 'bg-info' => trans('lang.app_setting_sky_blue'), 'bg-success' => trans('lang.app_setting_green'), ] , setting('logo_bg_color'), ['class' => 'select2 form-control']) !!}
{{ trans("lang.app_setting_logo_bg_color_help") }}
{!! Form::label('custom_field_models[]', trans("lang.app_setting_custom_field_models"),['class' => 'col-4 control-label text-right']) !!}
{!! Form::select('custom_field_models[]',$customFieldModels , setting('custom_field_models',[]), ['multiple'=>'multiple', 'class' => 'select2 form-control']) !!}
{{ trans("lang.app_setting_custom_field_models_help") }}
{!! Form::label('blocked_ips[]', trans("lang.app_setting_blocked_ips"),['class' => 'col-4 control-label text-right']) !!}
{!! Form::select('blocked_ips[]',array_combine(setting('blocked_ips',[]),setting('blocked_ips',[])), setting('blocked_ips',[]), ['multiple'=>'multiple', 'data-tags'=>'true','class' => 'select2 form-control']) !!}
{{ trans("lang.app_setting_blocked_ips_help") }}
{!! Form::label('app_logo', trans("lang.upload_app_logo"), ['class' => 'col-4 control-label text-right']) !!}
{{ trans('lang.media_select')}}
{{ trans("lang.upload_app_logo_help") }}
@prepend('scripts') @endprepend
{!! Form::label('fixed_header', trans("lang.app_setting_fixed_header"),['class' => 'col-4 control-label text-right']) !!}
{!! Form::label('fixed_footer', trans("lang.app_setting_fixed_footer"),['class' => 'col-4 control-label text-right']) !!}
{{trans('lang.cancel')}}
{!! Form::close() !!}
@include('layouts.media_modal',['collection'=>'default']) @endsection @push('scripts_lib') {{--dropzone--}} @endpush