Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
5.4 kB
4
Indexable
Never
<!-- Upload Document Start -->
                {% if wizard.steps.current == '7' %}
                        <div style="font-weight:bold; font-size:19px;color:darkblue;">
                            <label>Application ID - </label>
                            <label>'sca.student_application_id'</label>
                        </div>
                        <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 }}
                                <tr>
                                    <th> <b>Name</b> </th>
                                    <th> <b>Status</b></th>
                                    <th><b>Rejection Reason</b></th>
                                    <th><b>Comments</b></th>
                                    <th><b>File</b></th>
                                </tr>
                                {% for form in formset.forms %}
                                    <tr>
                                        {% include 'registrations/inclusion/upload_form_wizard.html' with form=form %}
                                    </tr>
                                {% endfor %}
                            </table>
                            <center>
                                {% 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">
                                    0/{{formset.forms|length}}
                                    </div>
                                </div> -->
                            </center>
                        </form>
                        <div class="loading" id="file-loading">
                            <div></div>
                            <div></div>
                            <div></div>
                            <div></div>
                        </div>
                    <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>
                                    </button>
                                    <h4 class="modal-title">
                                        <b>PHOTO CROP(Please ensure your face is fully fitted in the photo sizing window)</b>
                                    </h4>
                                </div>
                                <div class="modal-body" style="padding-left:0">
                                    <img src="" id="image" style="max-width: 100%;">
                                </div>
                                <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>
                                        <button type="button" class="btn btn-default js-zoom-out">
                                            <span class="fa fa-search-minus"></span>
                                        </button>
                                        <button type="button" class="btn btn-default js-rotate-ac">
                                            <span class="fa fa-rotate-left"></span>
                                        </button>
                                        <button type="button" class="btn btn-default js-rotate-c">
                                            <span class="fa fa-rotate-right"></span>
                                        </button>
                                    </div>
                                    <button type="button" class="btn btn-primary js-crop-and-upload">Crop</button>
                                </div>
                            </div>
                        </div>
                    </div>

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