2022-01-16 18:22:00 +00:00
|
|
|
{% extends 'base.html.j2' %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
Activity Log
|
|
|
|
{% endblock title %}
|
|
|
|
|
|
|
|
{% block content_before %}
|
|
|
|
Activity Log
|
|
|
|
{% endblock content_before %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% if message %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col text-center">
|
|
|
|
<h3>{{ message }}</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
{% endif %}
|
2022-01-17 02:24:47 +00:00
|
|
|
<table class="table table-dark table-striped table-bordered table-hover" id="command_table">
|
2022-01-16 18:22:00 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>Account:Character</th>
|
2022-11-28 19:05:52 +00:00
|
|
|
<th>Activity</th>
|
|
|
|
<th>Time</th>
|
|
|
|
<th>Map</th>
|
2022-01-16 18:22:00 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody></tbody>
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block js %}
|
|
|
|
{{ super () }}
|
|
|
|
<script>
|
|
|
|
$(document).ready(function(){
|
|
|
|
let command_table = $('#command_table').DataTable({
|
|
|
|
"order": [[0, "desc"]],
|
|
|
|
"processing": true,
|
|
|
|
"serverSide": true,
|
2022-11-28 19:05:52 +00:00
|
|
|
"ajax": "{{ url_for('log.get_activities') }}",
|
2022-01-16 18:22:00 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|