mail@pastecode.io avatar
7 months ago
5.4 kB
<!-- Upload Document Start -->
                {% if wizard.steps.current == '7' %}
                        <div style="font-weight:bold; font-size:19px;color:darkblue;">
                            <label>Application ID - </label>
                        <form method='post' enctype="multipart/form-data" id="upload_form_ajax">
                            <h5>Document Names with a RED asterisk are mandatory. For final upload confirmation, all mandatory documents should be submitted. Please refer the Document Upload Guidelines on the right hand side to ensure complete and correct submission of documents.</h5>
                            <h5>Please ensure the total size of all files you upload doesn't exceed 32 MB.</h5>
                            <table class="table table-bordered table-hover" style="font-size: 11px;">
                                {{ formset.management_form }}
                                    <th> <b>Name</b> </th>
                                    <th> <b>Status</b></th>
                                    <th><b>Rejection Reason</b></th>
                                {% for form in formset.forms %}
                                        {% include 'registrations/inclusion/upload_form_wizard.html' with form=form %}
                                {% endfor %}
                                {% if not document_submission_flag %}
                                <b style="color:red">Further submission or re-submission of documents for this program has now been disabled as admissions for this program has been closed or is near closure for the current batch</b>
                                {% endif %}<br>
                                <input id='upload_doc_sub' class="btn btn-sm btn-primary" type="submit" value="Upload Documents"/>
                                <!-- <br><br><br>
                                <div class="progress" style="width:50%">
                                    <div id="progress_bar" class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100">
                                </div> -->
                        <div class="loading" id="file-loading">
                    <div class="modal fade" id="modalCrop">
                        <div class="modal-dialog modal-lg">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close crop_close" data-dismiss="modal" aria-label="Close">
                                        <span aria-hidden="true">&times;</span>
                                    <h4 class="modal-title">
                                        <b>PHOTO CROP(Please ensure your face is fully fitted in the photo sizing window)</b>
                                <div class="modal-body" style="padding-left:0">
                                    <img src="" id="image" style="max-width: 100%;">
                                <div class="modal-footer">
                                    <div class="btn-group pull-left" role="group">
                                        <button type="button" class="btn btn-default js-zoom-in">
                                            <span class="fa fa-search-plus"></span>
                                        <button type="button" class="btn btn-default js-zoom-out">
                                            <span class="fa fa-search-minus"></span>
                                        <button type="button" class="btn btn-default js-rotate-ac">
                                            <span class="fa fa-rotate-left"></span>
                                        <button type="button" class="btn btn-default js-rotate-c">
                                            <span class="fa fa-rotate-right"></span>
                                    <button type="button" class="btn btn-primary js-crop-and-upload">Crop</button>

                {% endif %}
                <!-- Upload Document End -->
Leave a Comment