@extends('layouts.settings.default') @push('css_lib') {{--dropzone--}} @endpush @section('settings_title',trans('lang.app_setting_notifications')) @section('settings_content') @include('flash::message') @include('adminlte-templates::common.errors')
{!! Form::open(['url' => ['settings/update'], 'method' => 'patch']) !!}
{!! trans('lang.app_setting_notifications') !!}
{!! Form::label('enable_notifications', trans("lang.app_setting_enable_notifications"),['class' => 'col-2 control-label text-right']) !!} {!! Form::hidden('enable_notifications', 0, ['id'=>"hidden_enable_notifications"]) !!}
{!! Form::checkbox('enable_notifications', 1, setting('enable_notifications', false)) !!}
{!! Form::label('fcm_key', trans('lang.app_setting_fcm_key'), ['class' => 'col-2 control-label text-right']) !!}
{!! Form::text('fcm_key', setting('fcm_key'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_fcm_key_placeholder')]) !!}
{!! trans('lang.app_setting_fcm_key_help') !!}
{!! Form::label('firebase_api_key', trans('lang.app_setting_firebase_api_key'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('firebase_api_key', setting('firebase_api_key'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_firebase_api_key_placeholder')]) !!}
{!! trans('lang.app_setting_firebase_api_key_help') !!}
{!! Form::label('firebase_auth_domain', trans('lang.app_setting_firebase_auth_domain'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('firebase_auth_domain', setting('firebase_auth_domain'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_firebase_auth_domain_placeholder')]) !!}
{!! trans('lang.app_setting_firebase_auth_domain_help') !!}
{!! Form::label('firebase_database_url', trans('lang.app_setting_firebase_database_url'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('firebase_database_url', setting('firebase_database_url'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_firebase_database_url_placeholder')]) !!}
{!! trans('lang.app_setting_firebase_database_url_help') !!}
{!! Form::label('firebase_project_id', trans('lang.app_setting_firebase_project_id'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('firebase_project_id', setting('firebase_project_id'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_firebase_project_id_placeholder')]) !!}
{!! trans('lang.app_setting_firebase_project_id_help') !!}
{!! Form::label('firebase_storage_bucket', trans('lang.app_setting_firebase_storage_bucket'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('firebase_storage_bucket', setting('firebase_storage_bucket'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_firebase_storage_bucket_placeholder')]) !!}
{!! trans('lang.app_setting_firebase_storage_bucket_help') !!}
{!! Form::label('firebase_messaging_sender_id', trans('lang.app_setting_firebase_messaging_sender_id'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('firebase_messaging_sender_id', setting('firebase_messaging_sender_id'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_firebase_messaging_sender_id_placeholder')]) !!}
{!! trans('lang.app_setting_firebase_messaging_sender_id_help') !!}
{!! Form::label('firebase_app_id', trans('lang.app_setting_firebase_app_id'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('firebase_app_id', setting('firebase_app_id'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_firebase_app_id_placeholder')]) !!}
{!! trans('lang.app_setting_firebase_app_id_help') !!}
{!! Form::label('firebase_measurement_id', trans('lang.app_setting_firebase_measurement_id'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('firebase_measurement_id', setting('firebase_measurement_id'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_firebase_measurement_id_placeholder')]) !!}
{!! trans('lang.app_setting_firebase_measurement_id_help') !!}
{{trans('lang.cancel')}}
{!! Form::close() !!}
@include('layouts.media_modal',['collection'=>null]) @endsection @push('scripts_lib') {{--dropzone--}} @endpush