You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/views/historyseries.html

61 lines
1.8 KiB

5 years ago
{% extends '_main.html' %}
5 years ago
{% block title %}History (Series) - Bazarr{% endblock %}
5 years ago
{% block bcleft %}
<div class="d-flex">
<button class="btn btn-outline">
<i class="fas fa-sync align-top text-themecolor text-center" aria-hidden="true"></i>
<span class="align-bottom">Update</span>
</button>
</div>
{% endblock bcleft %}
5 years ago
{% block bcright %}
<div class="d-flex m-t-5 justify-content-end">
<h5 class="m-t-0 text-themecolor">Some page settings</h5>
</div>
{% endblock bcright %}
5 years ago
{% block body %}
5 years ago
<table id="history_series" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>Action</th>
<th>Name</th>
<th>Episode</th>
<th>Episode Title</th>
<th>Date</th>
<th>Description</th>
</tr>
</thead>
</table>
5 years ago
{% endblock body %}
5 years ago
{% block tail %}
5 years ago
<script>
$(document).ready(function () {
var table = $('#history_series').DataTable({
5 years ago
"dom":
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
5 years ago
"processing": true,
"serverSide": true,
"searching": false,
"ordering": false,
5 years ago
"lengthChange": true,
"pageLength": {{ settings.general.page_size }},
5 years ago
"ajax": "{{ url_for('api.historyseries') }}",
"columns": [
{"data": "action"},
{"data": "seriesTitle"},
{"data": "episode_number"},
{"data": "episodeTitle"},
{"data": "timestamp"},
{"data": "description"}
]
});
});
</script>
5 years ago
{% endblock tail %}