mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2025-10-19 05:28:02 +00:00
Move Code into repo
This commit is contained in:
40
app/templates/bug_reports/index.html.j2
Normal file
40
app/templates/bug_reports/index.html.j2
Normal file
@@ -0,0 +1,40 @@
|
||||
{% extends 'base.html.j2' %}
|
||||
|
||||
{% block title %}
|
||||
{{ status|capitalize }} Bug Reports
|
||||
{% endblock title %}
|
||||
|
||||
{% block content_before %}
|
||||
{{ status|capitalize }} Bug Reports
|
||||
{% endblock content_before %}
|
||||
|
||||
{% block content %}
|
||||
<table class="table" id="accounts_table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Actions</th>
|
||||
<th>Body</th>
|
||||
<th>Client Version</th>
|
||||
<th>Other Player</th>
|
||||
<th>Type</th>
|
||||
<th>Submitted</th>
|
||||
<th>Resolved</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block js %}
|
||||
{{ super () }}
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
let accounts_table = $('#accounts_table').DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "{{ url_for('bug_reports.get', status=status) }}",
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user