Sindbad~EG File Manager
<div class="container table-responsive py-3 mobile-responsive">
<table class="table table-bordered table-striped" id="save_table1">
<thead class="text-center thead-dark">
<th scope="col">MEMBERSHIP NO</th>
<th scope="col">AUTHOR NAME</th>
<th scope="col">EMAIL</th>
<th scope="col">MOBILE</th>
<th scope="col">DELETE</th>
</thead>
{% if co_data %}
{% for i in co_data %}
<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>
<td data-label="DELETE">
<button class="btn btn-primary deletebtn" type="button" title="Delete" value="{{i.topic_id}}"> <span class="iconify" data-icon="carbon:delete" style="color: white;" data-width="15" data-height="15"></span></button></td>
</tr>
{% endfor %}
{% endif %}
</tbody>
</table>
</div>
<div class="col-12" style="text-align: center;">
<input type="button" name="search" id="search" onclick="" class="btn btn-danger"{% if limit == 0 %} hidden {% endif %} value="Click Here To Search The Co Author Details" />
</div>
{% block script %}
<script type="text/javascript">
var BaseUrl = document.location.origin
$(document).ready(function() {
$("#search").click(function() {
$("#searchcoinst").modal('show');
});
$(".deletebtn").click(function() {
var conf_id = $("#conf_id").val();
var conf_key = $("#conf_key").val();
var topic_id = ($(this).val());
var r = confirm("confirm to delete!");
if (r == true) {
$.ajax({
type: 'GET',
url: BaseUrl +"/step3deleteauthor/"+conf_id+"/"+conf_key,
data: {
'topic_id': topic_id
},
dataType: 'html',
success: function(data) {
// alert(data);
getauthordata();
}
});
} else {
}
});
});
</script>
{% endblock %}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists