cms-token/@core/resources/views/backend/general-settings/module-settings.blade.php

84 lines
5.8 KiB
PHP

@extends('backend.admin-master')
@section('style')
<link rel="stylesheet" href="{{asset('assets/backend/css/colorpicker.css')}}">
@endsection
@section('site-title')
{{__('Module Settings')}}
@endsection
@section('content')
<div class="col-lg-12 col-ml-12 padding-bottom-30">
<div class="row">
<div class="col-12 mt-5">
@include('backend.partials.message')
<div class="card">
<div class="card-body">
<h4 class="header-title">{{__("Module Settings")}}</h4>
<form action="{{route('admin.general.module.settings')}}" method="POST" enctype="multipart/form-data">
@csrf
@php $default_lang = get_default_language();
@endphp
<div class="form-group">
<label for="job_module_status"><strong>{{get_static_option('career_with_us_page_'.$default_lang.'_name')}} {{__('Module Enable/Disable')}}</strong></label>
<label class="switch">
<input type="checkbox" name="job_module_status" @if(!empty(get_static_option('job_module_status'))) checked @endif >
<span class="slider onff"></span>
</label>
</div>
<div class="form-group">
<label for="events_module_status"><strong>{{get_static_option('events_page_'.$default_lang.'_name')}} {{__('Module Enable/Disable')}}</strong></label>
<label class="switch">
<input type="checkbox" name="events_module_status" @if(!empty(get_static_option('events_module_status'))) checked @endif >
<span class="slider onff"></span>
</label>
</div>
<div class="form-group">
<label for="product_module_status"><strong>{{get_static_option('product_page_'.$default_lang.'_name')}} {{__('Module Enable/Disable')}}</strong></label>
<label class="switch">
<input type="checkbox" name="product_module_status" @if(!empty(get_static_option('product_module_status'))) checked @endif >
<span class="slider onff"></span>
</label>
</div>
<div class="form-group">
<label for="donations_module_status"><strong>{{get_static_option('donation_page_'.$default_lang.'_name')}} {{__('Module Enable/Disable')}}</strong></label>
<label class="switch">
<input type="checkbox" name="donations_module_status" @if(!empty(get_static_option('donations_module_status'))) checked @endif>
<span class="slider onff"></span>
</label>
</div>
<div class="form-group">
<label for="knowledgebase_module_status"><strong>{{get_static_option('knowledgebase_page_'.$default_lang.'_name')}} {{__('Module Enable/Disable')}}</strong></label>
<label class="switch">
<input type="checkbox" name="knowledgebase_module_status" @if(!empty(get_static_option('knowledgebase_module_status'))) checked @endif >
<span class="slider onff"></span>
</label>
</div>
<div class="form-group">
<label for="appointment_module_status"><strong>{{get_static_option('appointment_page_'.$default_lang.'_name')}} {{__('Module Enable/Disable')}}</strong></label>
<label class="switch">
<input type="checkbox" name="appointment_module_status" @if(!empty(get_static_option('appointment_module_status'))) checked @endif>
<span class="slider onff"></span>
</label>
</div>
<div class="form-group">
<label for="course_module_status"><strong>{{get_static_option('courses_page_'.$default_lang.'_name')}} {{__('Module Enable/Disable')}}</strong></label>
<label class="switch">
<input type="checkbox" name="course_module_status" @if(!empty(get_static_option('course_module_status'))) checked @endif>
<span class="slider onff"></span>
</label>
</div>
<div class="form-group">
<label for="support_ticket_module_status"><strong>{{get_static_option('support_ticket_page_'.$default_lang.'_name')}} {{__('Module Enable/Disable')}}</strong></label>
<label class="switch">
<input type="checkbox" name="support_ticket_module_status" @if(!empty(get_static_option('support_ticket_module_status'))) checked @endif>
<span class="slider onff"></span>
</label>
</div>
<button type="submit" class="btn btn-primary mt-4 pr-4 pl-4">{{__('Update Changes')}}</button>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection