Sindbad~EG File Manager
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item p-1">
<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-1">
<button type="button" class="nav-link nav_btn_gray" value="2" onclick="jump_step(2)">Step 2</button>
</li>
<li class="nav-item p-1">
<button type="button" class="nav-link nav_btn_gray" value="3" onclick="jump_step(3)">Step 3</button>
</li>
<li class="nav-item p-1">
<button type="button" class="nav-link active nav_btn_gray" value="4">Step 4</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',abs_id=abs_id,abs_type=abs_type,conf_id=conf_id,conf_key=conf_key)}}" id="form_s4">
<h3 class="text-center font-weight-bold text-danger">Verify Your Abstract Before Submission</h3>
<!-- step 1 -->
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 form-group">
<label><b>Chief Instructor Membership Number</b></label><br>
<span>{{data.membership_no or 'Non-Member' }}</span>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 form-group">
<label><b>Chief Instructor Name</b></label><br>
<span>{{data.full_name or '' }}</span>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 form-group">
<label><b>Section</b></label><br>
<span>{{data.display_name or '' }}</span>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 form-group">
<label><b>Duration of course</b></label><br>
<span>{{data.duration or '' }} minutes</span>
</div>
</div>
<!-- end step 1 -->
<!-- step 2 -->
<div class="row">
<div class="col form-group">
<label><b>Title of the Course: </b></label>
<textarea name="title" id="title" class="form-control" disabled placeholder="Enter the title" value="">{{data.title or '' }}</textarea>
</div>
</div>
<div class="row">
<div class="col form-group">
<label><b>Synopsis:</b></label>
<textarea name="Synopsis" id="Synopsis" class="form-control" disabled cols="50" rows="5" placeholder="Enter Synopsis" value="">{{data.synopsis or '' }}</textarea>
</div>
</div>
<div class="row">
<div class="col form-group">
<label><b>Brief "RESUME" of the chief instructor (not to reveal the identity) with relevance to the topic of this IC: </b></label>
<textarea name="resume" id="resume" class="form-control" cols="50" disabled rows="7" placeholder="Enter the Resume" value="">{{data.resume or '' }}</textarea>
</div>
</div>
<!-- end step 2-->
<!-- step 3-->
<div class="row">
<div class="col form-group">
<label><b>Following are the list of Co-Instructor(s) you have selected :</b></label>
<div class="table-responsive mobile-responsive ">
<table class="table table-bordered text-center" id="save_table1">
<thead class="thead-dark">
<th scope="col">ORDER NO</th>
<th scope="col">INSTRUCTOR DETAILS</th>
<th scope="col">TOPIC</th>
<th scope="col">DURATION</th>
<th scope="col">CONSENT</th>
</thead>
{% if data1 %} {% for i in data1 %}
<tbody class="text-center">
<tr>
<td data-label="ORDER NO">{{i.order_no or '' }}</td>
<td data-label="INSTRUCTOR DETAILS">{{i.full_name or '' }}( {{i.membership_no or 'Non-Member' }} ),{{i.email or '' }},{{i.mobile or '' }}</td>
<td data-label="TOPIC">{{i.topic or '' }}</td>
<td data-label="DURATION">{{i.duration or '' }}</td>
<td data-label="CONCENT">{% if i.consent_status_id == 2 %} yes{% elif i.consent_status_id == 3 %}No{% else %}pending{% endif %}</td>
</tr>
{% endfor %} {% endif %}
<tr>
<td colspan="3" style="text-align: center;">Total duration(include panel discussion : {{data.panel_discussion or '0' }} Mins)</td>
<td data-label="DURATION">{{data.total_duration or '0' }} Mins</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- end step 3-->
<div class="row">
<div class="col form-group">
<label class="font-weight-bold">NOTE</label>
<ul class="ml-3" style="line-height: 25px">
<li>Online submission will be taken as signed by the Chief Instructor</li>
<li>This presentation may be recorded by the conference & 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>
</ul>
<input type="checkbox" name="guideline_checkbox" id="guideline_checkbox" value="1" /><label for="guideline_checkbox">  I have read & understood the <a target="_blank" href="{{ data.setting_value or '#'}}">Guidelines</a></label> <br />
<label id="guideline_checkbox-error" class="error" for="guideline_checkbox">Please, accept terms & conditions</label>
</div>
</div>
<div class="row">
<div class="col">
<input type="hidden" name="abs_id" id="abs_id" value="{{data.abs_id or '' }}" />
<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(4,0)" />
</div>
<div class="col">
<button class="float-right btn btn-primary" id="submit">Submit</button>
</div>
</div>
</form>
</div>
{% block script %}
<script type="text/javascript">
$("#guideline_checkbox-error").hide();
$("#submit").click(function () {
if (validation()) {
var r = confirm(
"It is not possible to edit your abstract after submission . Do you want to submit it ? Click OK to confirm." +
"\n" +
"\n" +
"While submitting, please do not press ‘Back‘ button or Close the window. Please wait patiently until the submission is complete"
);
if (r == false) {
// alert("false");
return false;
} else {
// alert("true");
return true;
// $("form").submit();
}
} else {
return false;
}
});
function validation() {
if ($("#guideline_checkbox").is(":checked")) {
return true;
} else {
$("#guideline_checkbox-error").show();
return false;
}
// $("form").validate({
// rules: {
// checkbox: {
// required: true,
// },
// },
// messages: {
// checkbox: "Please, accept terms & conditions",
// },
// });
}
</script>
{% endblock %}
</div>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists