@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('salon_app_name', trans("lang.app_setting_salon_app_name"), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('salon_app_name', setting('salon_app_name'), ['class' => 'form-control','placeholder'=> trans("lang.app_setting_salon_app_name_placeholder")]) !!}
{{ trans("lang.app_setting_salon_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_yellow'), 'info' => trans('lang.app_setting_sky_blue'), 'success' => trans('lang.app_setting_green'), 'indigo' => trans('lang.app_setting_indigo'), 'purple' => trans('lang.app_setting_purple'), 'fuchsia' => trans('lang.app_setting_fuchsia'), 'pink' => trans('lang.app_setting_pink'), 'maroon' => trans('lang.app_setting_maroon'), 'navy' => trans('lang.app_setting_navy'), 'lime' => trans('lang.app_setting_lime'), 'teal' => trans('lang.app_setting_teal'), 'lightblue' => trans('lang.app_setting_lightblue'), 'cyan' => trans('lang.app_setting_cyan'), 'orange' => trans('lang.app_setting_orange'), 'olive' => trans('lang.app_setting_olive'), ] , 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 navbar-primary' => trans('lang.app_setting_blue'), 'navbar-dark navbar-gray' => trans('lang.app_setting_gray'), 'navbar-dark navbar-dark' => trans('lang.app_setting_dark'), 'navbar-light navbar-white' => trans('lang.app_setting_white'), 'navbar-dark navbar-danger' => trans('lang.app_setting_red'), 'navbar-light navbar-warning' => trans('lang.app_setting_yellow'), 'navbar-dark navbar-info' => trans('lang.app_setting_sky_blue'), 'navbar-dark navbar-success' => trans('lang.app_setting_green'), 'navbar-dark navbar-indigo' => trans('lang.app_setting_indigo'), 'navbar-dark navbar-purple' => trans('lang.app_setting_purple'), 'navbar-dark navbar-pink' => trans('lang.app_setting_pink'), 'navbar-dark navbar-navy' => trans('lang.app_setting_navy'), 'navbar-light navbar-teal' => trans('lang.app_setting_teal'), 'navbar-dark navbar-lightblue' => trans('lang.app_setting_lightblue'), 'navbar-dark navbar-cyan' => trans('lang.app_setting_cyan'), 'navbar-light navbar-orange' => trans('lang.app_setting_orange'), 'navbar-dark navbar-olive' => trans('lang.app_setting_olive'), 'navbar-light' => trans('lang.app_setting_transparent'), ] , 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'), 'text-light navbar-primary' => trans('lang.app_setting_blue'), 'text-light navbar-gray' => trans('lang.app_setting_gray'), 'text-light navbar-dark' => trans('lang.app_setting_dark'), 'text-dark navbar-white' => trans('lang.app_setting_white'), 'text-light navbar-danger' => trans('lang.app_setting_red'), 'text-dark navbar-warning' => trans('lang.app_setting_yellow'), 'text-light navbar-info' => trans('lang.app_setting_sky_blue'), 'text-light navbar-success' => trans('lang.app_setting_green'), 'text-light navbar-indigo' => trans('lang.app_setting_indigo'), 'text-light navbar-purple' => trans('lang.app_setting_purple'), 'text-light navbar-pink' => trans('lang.app_setting_pink'), 'text-light navbar-navy' => trans('lang.app_setting_navy'), 'text-dark navbar-teal' => trans('lang.app_setting_teal'), 'text-light navbar-lightblue' => trans('lang.app_setting_lightblue'), 'text-light navbar-cyan' => trans('lang.app_setting_cyan'), 'text-dark navbar-orange' => trans('lang.app_setting_orange'), 'text-light navbar-olive' => trans('lang.app_setting_olive'), 'text-dark navbar-light' => trans('lang.app_setting_light'), ] , 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::hidden('fixed_header', 0, ['id'=>"hidden_fixed_header"]) !!}
{!! Form::checkbox('fixed_header', 1, setting('fixed_header', true)) !!}
{!! Form::label('fixed_footer', trans("lang.app_setting_fixed_footer"),['class' => 'col-4 control-label text-right']) !!} {!! Form::hidden('fixed_footer', 0, ['id'=>"hidden_fixed_footer"]) !!}
{!! Form::checkbox('fixed_footer', 1, setting('fixed_footer', true)) !!}
{{trans('lang.cancel')}}
{!! Form::close() !!}
@include('layouts.media_modal',['collection'=>'default']) @endsection @push('scripts_lib') {{--dropzone--}} @endpush