@extends('admin.layouts.app') @push('styles_top') @endpush @section('content') {{ trans('update.top_bottom_bar') }} {{ trans('admin/main.dashboard') }} {{ trans('update.top_bottom_bar') }} {{ csrf_field() }} @if(!empty(getGeneralSettings('content_translate'))) {{ trans('auth.language') }} @foreach($userLanguages as $lang => $language) get('locale', app()->getLocale())) == mb_strtolower($lang)) selected @endif>{{ $language }} {{ (!empty($definedLanguage) and is_array($definedLanguage) and in_array(mb_strtolower($lang), $definedLanguage)) ? '('. trans('panel.content_defined') .')' : '' }} @endforeach @error('locale') {{ $message }} @enderror @else @endif {{ trans('admin/main.title') }} {{ trans('public.description') }} {{ !empty($floatingBar) ? $floatingBar->description : old('description') }} {{ trans('admin/main.start_date') }} @error('start_at') {{ $message }} @enderror {{ trans('admin/main.end_date') }} @error('end_at') {{ $message }} @enderror {{ trans('update.icon') }} @error('icon') {{ $message }} @enderror {{ trans('update.background_image') }} @error('background_image') {{ $message }} @enderror {{ trans('update.title_color') }} {{ trans('update.description_color') }} {{ trans('update.background_color') }} {{ trans('update.btn_text') }} {{ trans('update.btn_url') }} {{ trans('update.btn_text_color') }} {{ trans('update.btn_color') }} {{ trans('update.bar_height') }} (px) {{ trans('update.bar_position') }} position == 'top') ? 'selected' : '' }}>{{ trans('update.top') }} position == 'bottom') ? 'selected' : '' }}>{{ trans('update.bottom') }} fixed) ? 'checked="checked"' : '' }} class="custom-switch-input"/> {{ trans('update.fixed') }} {{ trans('update.top_bottom_bar_fixed_hint') }} enable) ? 'checked="checked"' : '' }} class="custom-switch-input"/> {{ trans('update.enable') }} {{ trans('admin/main.save_change') }} {{ trans('update.preview') }} @endsection @push('scripts_bottom') @endpush