Sindbad~EG File Manager
<div class="container">
<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 active " value="2">Step 2</button>
</li>
</ul>
</div>
<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_s2">
<h4 class="alert alert-primary text-center">
Please review the details provided by you before submitting.<br />
CHANGES CANNOT BE MADE ONCE SUBMITTED.
</h4>
<h3 class="text-center font-weight-bold text-danger">Verify your title and format before registration</h3>
<hr />
<!-- step 1 -->
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 from-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 from-group">
<label class="font-weight-bold">Presenting Author Name :</label>
<div>{{data.full_name or ''}}</div>
</div>
</div>
<br>
<div class="row">
<div class="col from-group">
<label class="font-weight-bold">Ophthalmic Photography:</label>
</div>
</div>
<div class="row">
<div class="col from-group">
<img src="{{ data.path or '' }}{{ data.file_name or '' }}" width="500px">
</div>
</div>
<br>
<div class="row">
<div class="col from-group">
<label class="font-weight-bold">Section</label>
<div>{{ data.display_name or '' }}</div>
<br>
</div>
</div>
<br>
<div class="row">
<div class="col from-group">
<label class="font-weight-bold">Title of the Photography </label>
</div>
</div>
<div class="row">
<div class="col from-group">
<textarea name="title" id="title" class="form-control" disabled placeholder="Enter the title" value="">{{data.title}}</textarea>
</div>
</div>
<br>
<div class="row">
<div class="col from-group">
<label class="font-weight-bold">A brief description of photograph:</label>
</div>
</div>
<div class="row">
<div class="col from-group">
<textarea name="Synopsis" id="Synopsis" class="form-control" disabled cols="50" rows="5" placeholder="Enter Synopsis" value="">{{data.synopsis}}</textarea>
</div>
</div>
<br>
<!-- end step 2-->
<!-- step 3-->
{% if data1 %}
<label class="font-weight-bold">Following are the list of co-author(s) you have selected :</label>
<div class="container-sm-12 table-responsive py-3">
<table class="table table-bordered table-striped">
<thead class="thead-dark text-center">
<th scope="col">MEMBERSHIP NO</th>
<th scope="col">NAME</th>
<th scope="col">EMAIL</th>
<th scope="col">MOBILE</th>
</thead>
{% for i in data1 %}
<tbody>
<tr class="text-center">
<td data-label="MEMBERSHIP NO">{{i.membership_no or ''}}</td>
<td data-label="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>
<!-- end step 3-->
<div>
{% endif %}
<!-- end step 4-->
<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 class="row">
<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="3">
<input type="hidden" name="is_next" id="is_next" value="1">
<input type="button" name="Previous" id="Previous" class="btn btn-primary" value="Previous" onclick="move(2,0)" />
</div>
<input type="submit" name="submit" id="submit" class="btn btn-primary float-right" value="Submit">
</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;
}
}
</script>
{% endblock %}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists