@extends('core::layouts.master') @section('breadcrumb','Tùy chỉnh giao diện') @section('head-action') {{ Form::bsNavBtnSubmit('Lưu thay đổi','customCss-form') }} @endsection @section('content')
{!! Form::open([ 'method' => 'POST', 'url' => route('admin.custom_css.store'), 'files' => true, 'id' => 'customCss-form' ]) !!}
Cấu hình cơ bản
@php($fonts = config('setting.fonts'))
{{ Form::bsSelect('Loại hiệu ứng', 'effect_loading[type]', config('setting.loading_effect'), @$effect_loading['type']?true:false) }}
@if(@\WbTheme::getConfig('breadcrumb')['background'])
{{Form::bsSelectBackgroundImage('Hình nền tiêu đề chính', 'breadcrumb[background]', @$custom_css['breadcrumb']['background'], ['width'=>45, 'height'=>45])}}
@endif
@if(@$active_layout['layout_style'] == 'w1000px' && intval(\Theme::info('version')) > 1.0)
Cấu hình banner trượt 2 bên
{{Form::bsSelectBackgroundImage('Hình Banner Trái', 'banner_layout[left_image]', @$custom_css['banner_layout']['left_image'], ['width'=>45, 'height'=>45])}}
{{Form::bsText('Link banner trái', 'banner_layout[left_url]', @$custom_css['banner_layout']['left_url'], ['placeholder' => 'https://...'])}}
{{Form::bsSelectBackgroundImage('Hình Banner Phải', 'banner_layout[right_image]', @$custom_css['banner_layout']['right_image'], ['width'=>45, 'height'=>45])}}
{{Form::bsText('Link banner phải', 'banner_layout[right_url]', @$custom_css['banner_layout']['right_url'], ['placeholder' => 'https://...'])}}
@endif
Giao diện chung
{{Form::bsSelectBackgroundImage('Ảnh nền website', 'bg_image[body]', @$custom_css['bg_image']['body'], ['width'=>45, 'height'=>45])}}
Giao diện header
{{--
{{Form::bsSelectBackgroundImage('Ảnh nền header chính', 'bg_image[.h-top-part]', @$custom_css['bg_image']['.h-top-part'], ['width'=>45, 'height'=>45])}}
--}}
Giao diện footer
{{Form::bsSelectBackgroundImage('Ảnh nền footer chính', 'bg_image[footer-bg-img]', @$custom_css['bg_image']['footer-bg-img'], ['width'=>45, 'height'=>45])}}
{{Form::bsSelectBackgroundImage('Ảnh nền footer phụ', 'bg_image[footer-bgsub-img]', @$custom_css['bg_image']['footer-bgsub-img'], ['width'=>45, 'height'=>45])}}
Tùy chỉnh css
{!! Form::close() !!}
@endsection @section('scripts') @parent {{ Html::script(config('app.assets_url').'/backend/js/plugins/editors/ace/ace.js') }} {{ Html::script(config('app.assets_url').'/backend/js/plugins/pickers/color/spectrum.js') }} @endsection