D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
kader-lms.com
/
storage
/
framework
/
views
/
Filename :
8ce62800a41f1dde488d9da732f29f02.php
back
Copy
<?php $__env->startSection('title'); ?> <?php echo app('translator')->get('chat::chat.settings'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('mainContent'); ?> <section class="admin-visitor-area up_st_admin_visitor" id="admin-visitor-area"> <div class="container-fluid p-0"> <div class="row justify-content-center"> <div class="col-12"> <div class=""> <div class="row"> <div class="col-lg-12"> <div class="white_box_30px"> <!-- SMTP form --> <div class="main-title"> <h3 class="mb-15"> <?php echo app('translator')->get('chat::chat.chatting_method_settings'); ?> </h3> </div> <form action="<?php echo e(route('chat.settings.update')); ?>" method="post" class="bg-white rounded"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <p class="text-uppercase mb-0"><?php echo app('translator')->get('chat::chat.chat_settings'); ?></p> <div class="d-flex radio-btn-flex mt-1"> <div class="mr-20"> <input type="radio" name="chat_method" id="relationFather6343" value="pusher" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chatting_method') == 'pusher' ? 'checked' : ''); ?>> <label for="relationFather6343">Pusher</label> </div> <div class="mr-20"> <input type="radio" name="chat_method" id="relationMother733" value="log" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chatting_method') == 'log' ? 'checked' : ''); ?>> <label for="relationMother733">jQuery</label> </div> </div> </div> </div> <div class="row" id="pusher" style="display: none"> <div class="col-xl-6"> <div class="primary_input mb-25"> <label class="primary_input_label" for="">pusher app id <span class="text-danger"> *</span></label> <input required class="primary_input_field" placeholder="-" type="text" name="pusher_app_id" value="<?php echo e(app('general_settings')->get('pusher_app_id')); ?>"> </div> </div> <div class="col-xl-6"> <div class="primary_input mb-25"> <label class="primary_input_label" for="">pusher app key <span class="text-danger"> *</span></label> <input required class="primary_input_field" placeholder="-" type="text" name="pusher_app_key" value="<?php echo e(app('general_settings')->get('pusher_app_key')); ?>"> </div> </div> <div class="col-xl-6"> <div class="primary_input mb-25"> <label class="primary_input_label" for="">pusher app secret <span class="text-danger"> *</span></label> <input required class="primary_input_field" placeholder="-" type="text" name="pusher_app_secret" value="<?php echo e(app('general_settings')->get('pusher_app_secret')); ?>"> </div> </div> <div class="col-xl-6"> <div class="primary_input mb-25"> <label class="primary_input_label" for="">pusher app cluster <span class="text-danger"> *</span></label> <input required class="primary_input_field" placeholder="-" type="text" name="pusher_app_cluster" value="<?php echo e(app('general_settings')->get('pusher_app_cluster')); ?>"> </div> </div> </div> <button class="primary-btn small fix-gr-bg"><i class="ti-check"></i><?php echo app('translator')->get('common.update'); ?></button> </form> </div> <div class="white_box_30px mt-5"> <!-- SMTP form --> <div class="main-title"> <h3 class="mb-15"><?php echo app('translator')->get('chat::chat.chat_settings'); ?></h3> </div> <form action="<?php echo e(route('chat.settings.permission.store')); ?>" method="post" class="bg-white rounded"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap justify-content-between"> <p class="text-uppercase mb-0"><?php echo app('translator')->get('chat::chat.can_teacher_chat_with_parents'); ?></p> <div class="d-flex radio-btn-flex mt-1"> <div class="mr-20"> <input type="radio" name="can_teacher_chat_with_parents" id="relationFather" value="yes" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_can_teacher_chat_with_parents') == 'yes' ? 'checked' : ''); ?>> <label for="relationFather"><?php echo app('translator')->get('common.yes'); ?></label> </div> <div class="mr-20"> <input type="radio" name="can_teacher_chat_with_parents" id="relationMother" value="no" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_can_teacher_chat_with_parents') == 'no' ? 'checked' : ''); ?>> <label for="relationMother"><?php echo app('translator')->get('common.no'); ?></label> </div> </div> </div> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <p class="text-uppercase mb-0"><?php echo app('translator')->get('chat::chat.can_student_chat_with_admin_accounts'); ?></p> <div class="d-flex radio-btn-flex mt-1"> <div class="mr-20"> <input type="radio" name="can_student_chat_with_admin_account" id="relationFather1" value="yes" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_can_student_chat_with_admin_account') == 'yes' ? 'checked' : ''); ?>> <label for="relationFather1"><?php echo app('translator')->get('common.yes'); ?></label> </div> <div class="mr-20"> <input type="radio" name="can_student_chat_with_admin_account" id="relationMother2" value="no" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_can_student_chat_with_admin_account') == 'no' ? 'checked' : ''); ?>> <label for="relationMother2"><?php echo app('translator')->get('common.no'); ?></label> </div> </div> </div> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <p class="text-uppercase mb-0"><?php echo app('translator')->get('chat::chat.admin_can_chat_without_invitation'); ?></p> <div class="d-flex radio-btn-flex mt-1"> <div class="mr-20"> <input type="radio" name="admin_can_chat_without_invitation" id="relationFather3" value="yes" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_admin_can_chat_without_invitation') == 'yes' ? 'checked' : ''); ?>> <label for="relationFather3"><?php echo app('translator')->get('common.yes'); ?></label> </div> <div class="mr-20"> <input type="radio" name="admin_can_chat_without_invitation" id="relationMother4" value="no" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_admin_can_chat_without_invitation') == 'no' ? 'checked' : ''); ?>> <label for="relationMother4"><?php echo app('translator')->get('common.no'); ?></label> </div> </div> </div> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <p class="text-uppercase mb-0"><?php echo app('translator')->get('chat::chat.open_chat_system'); ?></p> <div class="d-flex radio-btn-flex mt-1"> <div class="mr-20"> <input type="radio" name="open_chat_system" id="relationFather5" value="yes" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_open') == 'yes' ? 'checked' : ''); ?>> <label for="relationFather5"><?php echo app('translator')->get('common.yes'); ?></label> </div> <div class="mr-20"> <input type="radio" name="open_chat_system" id="relationMother6" value="no" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_open') == 'no' ? 'checked' : ''); ?>> <label for="relationMother6"><?php echo app('translator')->get('common.no'); ?></label> </div> </div> </div> </div> <button class="primary-btn small fix-gr-bg"><i class="ti-check"></i><?php echo app('translator')->get('common.update'); ?></button> </form> </div> <div class="white_box_30px mt-5"> <!-- SMTP form --> <div class="main-title"> <h3 class="mb-15"><?php echo app('translator')->get('chat::chat.invitation_settings'); ?></h3> </div> <form action="<?php echo e(route('chat.invitation.requirement')); ?>" method="post" class="bg-white rounded"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <p class="text-uppercase mb-0"><?php echo app('translator')->get('chat::chat.invitation_requirement'); ?></p> <div class="d-flex radio-btn-flex mt-1"> <div class="mr-20"> <input type="radio" name="invitation_requirement" id="relationFather6" value="required" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_invitation_requirement') == 'required' ? 'checked' : ''); ?>> <label for="relationFather6"><?php echo app('translator')->get('chat::chat.required'); ?></label> </div> <div class="mr-20"> <input type="radio" name="invitation_requirement" id="relationMother7" value="none" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_invitation_requirement') == 'none' ? 'checked' : ''); ?>> <label for="relationMother7"><?php echo app('translator')->get('common.not_required'); ?></label> </div> </div> </div> </div> <button class="primary-btn small fix-gr-bg"><i class="ti-check"></i><?php echo app('translator')->get('common.update'); ?></button> </form> </div> <div class="white_box_30px mt-5"> <div class="main-title"> <h3 class="mb-15"><?php echo app('translator')->get('chat::chat.generate_connections'); ?></h3> </div> <div class="row"> <div class="col-lg-12 mb-3"> <form action="<?php echo e(route('chat.invitation.generate','single')); ?>" method="get" class="bg-white rounded"> <p class="text-uppercase mb-0"> <?php echo app('translator')->get('chat::chat.generate_teacher_and_student_connection_for_old_class_&_subjects'); ?> </p> <br> <button class="primary-btn radius_30px fix-gr-bg"><i class="ti-check"></i><?php echo app('translator')->get('chat::chat.generate'); ?></button> </form> </div> </div> </div> <div class="white_box_30px mt-5"> <!-- SMTP form --> <div class="main-title"> <h3 class="mb-15"><?php echo app('translator')->get('chat::chat.permission_settings'); ?></h3> </div> <form action="<?php echo e(route('chat.settings.edu')); ?>" method="post" class="bg-white rounded"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <p class="text-uppercase mb-0"><?php echo app('translator')->get('chat::chat.can_upload_file'); ?></p> <div class="d-flex radio-btn-flex mt-1"> <div class="mr-20"> <input type="radio" name="can_upload_file" id="relationFather6334" value="yes" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_can_upload_file') == 'yes' ? 'checked' : ''); ?>> <label for="relationFather6334"><?php echo app('translator')->get('common.yes'); ?></label> </div> <div class="mr-20"> <input type="radio" name="can_upload_file" id="relationMother7334" value="no" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_can_upload_file') == 'no' ? 'checked' : ''); ?>> <label for="relationMother7334"><?php echo app('translator')->get('common.no'); ?></label> </div> </div> </div> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <div class="primary_input"> <div class="row"> <div class="col-md-6"> <label class="primary_input_label" for=""><?php echo app('translator')->get('chat::chat.upload_file_limit'); ?> (<?php echo app('translator')->get('chat::chat.mb'); ?>)</label> </div> <div class="col-md-6"> <input class="primary_input_field" placeholder="-" type="number" name="file_upload_limit" value="<?php echo e(app('general_settings')->get('chat_file_limit') ?? 0); ?>"> </div> </div> </div> </div> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <p class="text-uppercase mb-0"><?php echo app('translator')->get('chat::chat.student_can_make_group'); ?></p> <div class="d-flex radio-btn-flex mt-1"> <div class="mr-20"> <input type="radio" name="can_make_group" id="relationFather63" value="yes" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_can_make_group') == 'yes' ? 'checked' : ''); ?>> <label for="relationFather63"><?php echo app('translator')->get('common.yes'); ?></label> </div> <div class="mr-20"> <input type="radio" name="can_make_group" id="relationMother73" value="no" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_can_make_group') == 'no' ? 'checked' : ''); ?>> <label for="relationMother73"><?php echo app('translator')->get('common.no'); ?></label> </div> </div> </div> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <p class="text-uppercase mb-0"> <?php echo app('translator')->get('chat::chat.teacher_staff_can_make_group'); ?></p> <div class="d-flex radio-btn-flex mt-1"> <div class="mr-20"> <input type="radio" name="teacher_staff_can_make_group" id="relationFather634" value="yes" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_teacher_staff_can_make_group') == 'yes' ? 'checked' : ''); ?>> <label for="relationFather634"><?php echo app('translator')->get('common.yes'); ?></label> </div> <div class="mr-20"> <input type="radio" name="teacher_staff_can_make_group" id="relationMother734" value="no" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_teacher_staff_can_make_group') == 'no' ? 'checked' : ''); ?>> <label for="relationMother734"><?php echo app('translator')->get('common.no'); ?></label> </div> </div> </div> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <p class="text-uppercase mb-0"><?php echo app('translator')->get('chat::chat.can_staff_or_teacher_ban_tudent'); ?></p> <div class="d-flex radio-btn-flex mt-1"> <div class="mr-20"> <input type="radio" name="staff_or_teacher_can_ban_student" id="relationFather33" value="yes" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_staff_or_teacher_can_ban_student') == 'yes' ? 'checked' : ''); ?>> <label for="relationFather33"><?php echo app('translator')->get('common.yes'); ?></label> </div> <div class="mr-20"> <input type="radio" name="staff_or_teacher_can_ban_student" id="relationMother22" value="no" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_staff_or_teacher_can_ban_student') == 'no' ? 'checked' : ''); ?>> <label for="relationMother22"><?php echo app('translator')->get('common.no'); ?></label> </div> </div> </div> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <p class="text-uppercase mb-0"><?php echo app('translator')->get('chat::chat.teacher_can_pinned_top_message'); ?></p> <div class="d-flex radio-btn-flex mt-1"> <div class="mr-20"> <input type="radio" name="teacher_can_pin_top_message" id="relationFather11" value="yes" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_teacher_can_pin_top_message') == 'yes' ? 'checked' : ''); ?>> <label for="relationFather11"><?php echo app('translator')->get('common.yes'); ?></label> </div> <div class="mr-20"> <input type="radio" name="teacher_can_pin_top_message" id="relationMother00" value="no" class="common-radio relationButton" <?php echo e(app('general_settings')->get('chat_teacher_can_pin_top_message') == 'no' ? 'checked' : ''); ?>> <label for="relationMother00"><?php echo app('translator')->get('common.no'); ?></label> </div> </div> </div> <div class="col-lg-6 d-flex relation-button justify-content-between mb-3 flex-wrap"> <p class="text-uppercase mb-0"><?php echo app('translator')->get('chat::chat.student_can_add_member'); ?></p> <div class="d-flex radio-btn-flex"> <div class="mr-20"> <input type="radio" name="student_can_add_member" id="student_can_add_member_yes" value="yes" class="common-radio relationButton" <?php echo e(app('general_settings')->get('student_can_add_member') == 'yes' ? 'checked' : 'checked'); ?>> <label for="student_can_add_member_yes"><?php echo app('translator')->get('common.yes'); ?></label> </div> <div class="mr-20"> <input type="radio" name="student_can_add_member" id="student_can_add_member_no" value="no" class="common-radio relationButton" <?php echo e(app('general_settings')->get('student_can_add_member') == 'no' ? 'checked' : ''); ?>> <label for="student_can_add_member_no"><?php echo app('translator')->get('common.no'); ?></label> </div> </div> </div> </div> <button class="primary-btn small fix-gr-bg"><i class="ti-check"></i><?php echo app('translator')->get('common.update'); ?></button> </form> </div> </div> </div> </div> </div> </div> </div> </section> <?php $__env->stopSection(); ?> <?php $__env->startPush('scripts'); ?> <script> $( document ).ready(function() { let method = $('input[name="chat_method"]:checked').val(); if (method == 'pusher') { $('#pusher').css('display',''); $('#jquery').hide(); $('#pusher').show(); }else{ $('#pusher').hide(); } $('input[name=chat_method]').change(function () { let method = $('input[name="chat_method"]:checked').val(); if (method == 'pusher') { $('#jquery').hide(); $('#pusher').show(); }else{ $('#pusher').hide(); } }); }); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('backEnd.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/u827283894/domains/w-manage.org/public_html/schoool/Modules/Chat/Resources/views/settings.blade.php ENDPATH**/ ?>