@extends('backend.layouts.app') @section('title', __('labels.backend.zoom_setting.management').' | '.app_name()) @section('content') {{ html()->form('POST', route('admin.zoom-settings'))->class('form-horizontal')->open() }}

{{ __('labels.backend.zoom_setting.management') }}


{!! Form::label('zoom__api_key', trans('labels.backend.zoom_setting.fields.api_key').'*', ['class' => 'col-md-2 form-control-label']) !!}
{!! Form::text('zoom__api_key', config('zoom.api_key'), ['class' => 'form-control', 'placeholder' => trans('labels.backend.zoom_setting.fields.api_key'), 'required' => 'true']) !!}
{!! Form::label('zoom__api_secret', trans('labels.backend.zoom_setting.fields.api_secret').'*', ['class' => 'col-md-2 form-control-label']) !!}
{!! Form::text('zoom__api_secret', config('zoom.api_secret'), ['class' => 'form-control', 'placeholder' => trans('labels.backend.zoom_setting.fields.api_secret'), 'required' => true]) !!}
{!! Form::label('zoom__approval_type', trans('labels.backend.zoom_setting.fields.meeting_join_approval'), ['class' => 'col-md-2 form-control-label']) !!}
{!! Form::select('zoom__approval_type', ['0'=> trans('labels.backend.zoom_setting.meeting_approval_options.automatically'), '1' => trans('labels.backend.zoom_setting.meeting_approval_options.manually'), '2' => trans('labels.backend.zoom_setting.meeting_approval_options.no_registration_required')], config('zoom.approval_type'), ['class' => 'form-control']) !!}
{!! Form::label('zoom__audio', trans('labels.backend.zoom_setting.fields.audio_option'), ['class' => 'col-md-2 form-control-label']) !!}
{!! Form::select('zoom__audio', ['both'=> trans('labels.backend.zoom_setting.audio_options.both'), 'telephony' => trans('labels.backend.zoom_setting.audio_options.telephony'), 'voip' => trans('labels.backend.zoom_setting.audio_options.voip')],config('zoom.audio'), ['class' => 'form-control']) !!}
{!! Form::label('zoom__auto_recording', trans('labels.backend.zoom_setting.fields.auto_recording'), ['class' => 'col-md-2 form-control-label']) !!}
{!! Form::select('zoom__auto_recording', ['none'=> trans('labels.backend.zoom_setting.auto_recording_options.none'), 'local' => trans('labels.backend.zoom_setting.auto_recording_options.local'), 'cloud' => trans('labels.backend.zoom_setting.auto_recording_options.cloud')],config('zoom.auto_recording'), ['class' => 'form-control']) !!}
{!! Form::label('zoom__timezone', trans('labels.backend.zoom_setting.fields.timezone'), ['class' => 'col-md-2 form-control-label']) !!}
{!! Form::label('zoom__join_before_host', trans('labels.backend.zoom_setting.fields.join_before_host'), ['class' => 'col-md-2 form-control-label']) !!}
{{ html()->label( html()->checkbox('zoom__join_before_host', config('zoom.join_before_host')? true : false, 1) ->class('switch-input')->value(1) . '') ->class('switch switch-sm switch-3d switch-primary') }}
{!! Form::label('zoom__host_video', trans('labels.backend.zoom_setting.fields.host_video'), ['class' => 'col-md-2 form-control-label']) !!}
{{ html()->label( html()->checkbox('zoom__host_video', config('zoom.host_video')? true: false, 1) ->class('switch-input')->value(1) . '') ->class('switch switch-sm switch-3d switch-primary') }}
{!! Form::label('zoom__participant_video', trans('labels.backend.zoom_setting.fields.participant_video'), ['class' => 'col-md-2 form-control-label']) !!}
{{ html()->label( html()->checkbox('zoom__participant_video', config('zoom.participant_video')? true: false, 1) ->class('switch-input')->value(1) . '') ->class('switch switch-sm switch-3d switch-primary') }}
{!! Form::label('zoom__mute_upon_entry', trans('labels.backend.zoom_setting.fields.participant_mic_mute'), ['class' => 'col-md-2 form-control-label']) !!}
{{ html()->label( html()->checkbox('zoom__mute_upon_entry',config('zoom.mute_upon_entry')? true : false, 1) ->class('switch-input')->value(1) . '') ->class('switch switch-sm switch-3d switch-primary') }}
{!! Form::label('zoom__waiting_room', trans('labels.backend.zoom_setting.fields.waiting_room'), ['class' => 'col-md-2 form-control-label']) !!}
{{ html()->label( html()->checkbox('zoom__waiting_room', config('zoom.waiting_room')? true : false,1) ->class('switch-input')->value(1) . '') ->class('switch switch-sm switch-3d switch-primary') }}
{{ html()->form()->close() }} @endsection