Sindbad~EG File Manager

Current Path : /home/numerotech/test-abs.numerotech.com/common_abs_v2/core/templates/users/ISOO24/SP/
Upload File :
Current File : //home/numerotech/test-abs.numerotech.com/common_abs_v2/core/templates/users/ISOO24/SP/step5.html

<ul class="nav nav-tabs" id="myTab" role="tablist">
      <li class="nav-item p-2">
            <button type="button" class="nav-link nav_btn_gray " value="1" onclick="jump_step(1)" aria-selected="true">Step 1</button>
        </li>
        <li class="nav-item p-2">
            <button type="button" class="nav-link nav_btn_gray" value="2" onclick="jump_step(2)">Step 2</button>
        </li>
        <li class="nav-item p-2">
            <button type="button" class="nav-link nav_btn_gray" value="3" onclick="jump_step(3)">Step 3</button>
        </li>
        <li class="nav-item p-2">
            <button type="button" class="nav-link  active" value="4" >Step 4</button>
        </li>
        <!-- <li class="nav-item p-2">
            <button type="button" class="nav-link active" value="5">Step 5</button>
        </li> -->
</ul>
<div class="tab-content " id="myTabContent">
    <div class="tab-pane fade show active p-2 rounded" role="tabpanel">
        <form method="POST" action="{{url_for('main.Mail',user_id=data.user_id,abs_id=abs_id,abs_type=abs_type,conf_id=conf_id,conf_key=conf_key)}}" id="form_s5">
            <h3 class="text-center font-weight-bold text-danger mt-2">Verify your abstract before submission</h3>
            <h4 class="alert alert-primary text-center mt-2">
                Please review the details provided by you before submitting.<br />
                Changes cannot be made once submitted.
            </h4>
            <!-- step 1 -->
            <div class="row">
                <!--<div class="col-lg-6 col-md-6 col-sm-12 form-group">-->
                <!--    <label class="font-weight-bold">Presenting author membership number</label>-->
                <!--    <div>{{data.membership_no or 'Non-Member'}}</div>-->
                <!--</div>-->
                <!--<hr />-->
                <div class="col-lg-6 col-md-6 col-sm-12 form-group">
                    <label class="font-weight-bold">Presenting author name</label>
                    <div>{{data.full_name or ''}}</div>
                </div>
            </div>
            <!-- <div class="row">
                <div class="col form-group">
                    <label class="font-weight-bold">Presenting Author:</label>
                </div>
            </div>
            <div class="row">
                <div class="col">
                    <div class="table-responsive mobile-responsive">
                        <table class="table table-bordered">
                            <thead  style="background-color:#484747;color: white;" class="text-center">
                                <th scope="MEMBERSHIP NO">MEMBERSHIP NO</th>
                                <th scope="AUTHOR NAME">AUTHOR NAME</th>
                                <th scope="EMAIL">EMAIL</th>
                                <th scope="MOBILE">MOBILE</th>
                            </thead>
                            <tbody class="text-center">
                                {% if data2 %}
                                <tr>
                                    <td data-label="MEMBERSHIP NO">{{data2.membership_no or 'Non-Member'}}</td>
                                    <td data-label="AUTHOR NAME">{{data2.full_name or ''}}</td>
                                    <td data-label="EMAIL">{{data2.email or ''}}</td>
                                    <td data-label="MOBILE">{{data2.mobile or ''}}</td>
                                </tr>
                                {% endif %}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div> -->
            <div class="row">
                <div class="col">
                    <div class="row">
                        <div class="col-lg-6 col-md-6 col-sm-12 form-group">
                            <label class="font-weight-bold">Section</label>
                            <div>{{data.display_name or ''}}</div>
                        </div>
                    </div>
                </div>
                <!-- <div class="col">-->
                <!--    <div class="row">-->
                <!--        <div class="col-lg-6 col-md-6 col-sm-12 form-group">-->
                <!--            <label class="font-weight-bold">Type of Presentation</label>-->
                <!--            <div>{{data.type or ''}}</div>-->
                <!--        </div>-->
                <!--    </div>-->
                <!--</div>-->
            </div>
            <div class="row">
                <div class="col form-group">
                    <label class="font-weight-bold">Do you want to apply for an ISOO Travel Grant?  </label><span> {% if data.misc3|int == 1 %}Yes{% else %}No{% endif %}</span>
                </div>
            </div>
            <!-- <div class="row">-->
            <!--    <div class="col-md-12 form-group">-->
            <!--       <label class="font-weight-bold">Time Allotted for Presentation</label>-->
            <!--       <div>6 Mins</div> -->
            <!--    </div>-->
            <!--</div>-->
            <!-- end step 1 -->
            <!-- step 2 -->
            <div class="row tiles">
                <div class="col form-group">
                    <label class=""><b>Title of the paper </b> </label>
                </div>
            </div>
            <div class="row">
                <div class="col form-group">
                    <textarea name="title" id="title" disabled class="form-control" placeholder="Title of paper" value="">{{data.title or ''}}</textarea>
                </div>
            </div>
            <br />
            <div class="row">
                <div class="col form-group">
                    <label><b>Introduction / Purpose</b></label>
                    <span id="chars1" style="color: blue;"></span>
                </div>
            </div>
            <div class="row">
                <div class="col form-group">
                    <textarea  disabled class="form-control" cols="50" rows="5" placeholder="Synopsis" value="">{{data.purpose or ''}}</textarea>
                </div>
            </div>
            <div class="row">
                <div class="col form-group">
                    <label><b>Methods</b></label>
                    <span id="chars1" style="color: blue;"></span>
                </div>
            </div>
            <div class="row">
                <div class="col form-group">
                    <textarea  disabled class="form-control" cols="50" rows="5" placeholder="Synopsis" value="">{{data.methods or ''}}</textarea>
                </div>
            </div>
            <div class="row">
                <div class="col form-group">
                    <label><b>Result</b></label>
                    <span id="chars1" style="color: blue;"></span>
                </div>
            </div>
            <div class="row">
                <div class="col form-group">
                    <textarea  disabled class="form-control" cols="50" rows="5" placeholder="Synopsis" value="">{{data.results or ''}}</textarea>
                </div>
            </div>
            <div class="row">
                <div class="col form-group">
                    <label><b>Conclusion</b></label>
                    <span id="chars1" style="color: blue;"></span>
                </div>
            </div>
            <div class="row">
                <div class="col form-group">
                    <textarea  disabled class="form-control" cols="50" rows="5" placeholder="Synopsis" value="">{{data.conclusion or ''}}</textarea>
                </div>
            </div>
            <div class="row">
                <div class="col form-group">
                    <label><b>Clinical Implication</b></label>
                    <span id="chars1" style="color: blue;"></span>
                </div>
            </div>
            <div class="row">
                <div class="col form-group">
                    <textarea  disabled class="form-control" cols="50" rows="5" placeholder="Synopsis" value="">{{data.case_report or ''}}</textarea>
                </div>
            </div>
            <!-- end step 2-->
            <!-- step 3-->
            {% if data1 %}
            <label class="font-weight-bold mt-3">Following are the list of Co-Author(s) you have added :</label>
            <div class="table-responsive mobile-responsive py-2">
                <table class="table table-bordered table-striped">
                    <thead  style="background-color:#484747;color: white;" class="text-center">
                        <th scope="col">Membership No</th>
                        <th scope="col">Author name</th>
                        <th scope="col">Email</th>
                        <th scope="col">Mobile</th>
                    </thead>
                     {% for i in data1 %}
                    <tbody class="text-center">
                        <tr>
                            <td data-label="Membership No">{{i.membership_no or 'Non-Member'}}</td>
                            <td data-label="Author name">{{i.full_name or ''}}</td>
                            <td data-label="Email">{{i.email or ''}}</td>
                            <td data-label="Mobile">{{i.mobile or ''}}</td>
                        </tr>
                    </tbody>
                    {% endfor %} 
                </table>
            </div>
            {% endif %}
            <div class="row">
              <div class="col">
                <label class="font-weight-bold">Pre-submission guidelines</label>
                <ul class="ml-3" style="line-height: 25px;">
                    <!-- <li>Online submission will be taken as signed by the Chief Author</li>
                    <li>This presentation may be recorded by the Society & distributed in any form to the delegates and others.</li>
                    <li>Clicking on submit button will submit your abstract for further evaluation. Subsequent to this it will not be possible for you to edit your abstract.</li>
                    <li>We declare that myself and co-authors are involved actively in the above research paper. The work is solely done by myself and the co-authors.</li>
                    <li>We declare that this Paper / E-Poster / Video was not presented in any other conferences or published in any other journals.</li>
                    <li>Myself and my co-authors consent to receive important communication by email or WhatsApp on abstract / scientific program associated with us.</li> -->
                    <li>The Submitting Author is considered as the Presenting Author by default.</li>
                    <li>The Submitting Author must be a member of ISOO.</li>
                    <li>Transfer of Presenting Author is NOT permitted.</li>
                    <li>Online submission will be considered as authenticated by the Submitting Author.</li>
                    <li>Submitting Author is responsible for obtaining permission from the co-authors and will be responsible for authorship conflict resolution if any.</li>
                    <li>We declare that the submitting author and co-authors are involved actively in the submitted work.</li>
                    <li>We declare that we have the necessary Ethics and Institutional Review Board approval and will submit the same if sought.</li>
                    <li>We declare that the submitted work has not been presented in any international conference or has not been published in any indexed journal.</li>
                    <li>We understand that the presentation may be recorded by the Society and distributed in any form to the delegates and ISOO members. </li>
                    <li>Clicking on the Submit button will submit the abstract for Peer Review. I understand that it will not be possible for me to modify the abstract once submitted.</li>
                    <li>I undertake to register as a delegate and participate in ISOO to personally present my work if it is accepted.</li>
                    <li>I and my co-authors consent to receive important communications by email or WhatsApp on the status of the abstract and the scientific program.</li>
                </ul>
                <!-- <table class="table table-bordered" style="text-align:center;">
                  <tr>
                    <td>Resident in training ?<br><label id="misc2-error" class="error" for="misc2"></label></td>
                    <td>{% if data.misc2 == '1' %}Yes{% else %}No{% endif %}</td>
                  </tr>

                  <tr>
                    <td>In private practice ?<br><label id="misc3-error" class="error" for="misc3"></label></td>
                    <td>{% if data.misc3 == '1' %}Yes{% else %}No{% endif %}</td>
                  </tr>

                  <tr>
                    <td>Age of chief author?<br><label id="misc1-error" class="error" for="misc1"></label></td>
                    <td><label>{{data.misc1 or ''}}</label></td>
                  </tr>
                </table> -->
                <input type="checkbox" name="guideline_checkbox" id="guideline_checkbox" value="1" /><label for="guideline_checkbox">&nbsp I have read & understood the Guidelines</label><br>
                <input type="radio" name="financial_radio_btn" class="radio_btn" id="guideline_financial_checkbox" value="0" /><label for="guideline_financial_checkbox">&nbsp I/my co-authors don't have any conflict of scientific/ethical interest or financial interest</label><br>
                <!-- <input type="radio" name="financial_radio_btn" class="radio_btn" id="guideline_coauthor_checkbox" value="1" /><label for="guideline_coauthor_checkbox">&nbsp I/my co-authors have conflict/s of scientific/ethical interest and/or financial interest<br></label> <br /> -->
                <input type="radio" name="financial_radio_btn" class="radio_btn" id="guideline_coauthor_checkbox" value="1" /><label for="guideline_coauthor_checkbox">&nbsp I/my co-authors have the following conflict/s of scientific/ethical interest and/or financial interest<br></label> <br />
                <label id="guideline_checkbox-error" class="error" for="guideline_checkbox">Please check the above check boxes.</label>
                <div id="remark_txt_div">
                    <label>Remarks ( Maximum length allowed is 200 characters. )</label>
                    <textarea rows="3" id="remark_txt" name="remark_txt" class="form-control" maxlength="200"></textarea>
                </div>
              </div>
            </div>
            <div class="row py-2">
                <div class="col">
                    <div class="alert alert-danger " style="line-height: 22px;">
                        By clicking on the "submit" button, your abstract shall get submitted and an abstract number shall be generated.  Abstract once submitted cannot be changed. A confirmation email shall be sent to your email id {{ data.email or '' }}.  
                        If you do not see a confirmation email in your inbox,  please search for an email from support@numerotec.com in your inbox / spam box.
                    </div>
                </div>
            </div>
            <div class="row py-2">
                <div class="col">
                    <input type="hidden" name="abs" id="abs_id" value="{{abs_id}}" />
                    <input type="hidden" name="abs_type" id="abs_type" value="{{abs_type}}" />
                    <input type="hidden" name="step" id="step" value="4" />
                    <input type="hidden" name="is_next" id="is_next" value="1" />
                    <input type="hidden" name="cur_step" id="cur_step" value="{{ data.cur_step or 0 }}">
                    <input type="button" name="Previous" id="Previous" class="btn btn-primary" value="Previous" onclick="move(5,0)" />
                </div>
                <button type="submit" class="float-right btn btn-primary" id="submit">Submit</button>
            </div>
        </form>
    </div>
</div>
{% block script %}
<script type="text/javascript">
    $("#guideline_checkbox-error").hide();
    $("#remark_txt_div").hide();
    $("#remark_txt").hide();
    $("#submit").click(function () {
        if (validation() == true) {
                return true;
                 $("#form_s5").submit();
        } else {
            return false;
        }
    });
    $(".radio_btn").click(function(){
        var val = $(this).val();
        if (val == 1){
            $("#remark_txt_div").show();
            $("#remark_txt").show();
            $("#remark_txt").attr("required", "true");
        }
        else{
            $("#remark_txt_div").hide();
            $("#remark_txt").hide();
            $("#remark_txt").removeAttr("required");
        }
    })
    function validation() {
        if ($("#guideline_checkbox").val() != 'undefined' && $("#guideline_checkbox").val() != null){
            if ($("#guideline_checkbox").is(":checked")) {
                console.log("success");
            } else {
                $("#guideline_checkbox-error").show();
                return false;
            }
        }
        if ($(".radio_btn").val() != 'undefined' && $(".radio_btn").val() != null){
            if ($(".radio_btn").is(":checked")) {
                var val = $('input[name="financial_radio_btn"]:checked').val();
            if (val == 1){
                if ($('#form_s5').valid()){
                    console.log("success");
                }else{
                    $('#remark_txt-error').html('Please enter the remarks');
                    $('#remark_txt-error').show();
                    return false;
                }
            }
            else{
                return true;
            }
            } else {
                $("#guideline_checkbox-error").show();
                return false;
            }
        }
        else{
            return false;
        }
    return true
}
</script>
{% endblock %}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists