bazarr/views/historyseries.html

61 lines
1.8 KiB
HTML
Raw Normal View History

2019-12-28 16:43:48 +00:00
{% extends '_main.html' %}
2018-05-02 10:25:42 +00:00
2019-12-28 16:43:48 +00:00
{% block title %}History (Series) - Bazarr{% endblock %}
2018-05-02 10:25:42 +00:00
2020-01-01 22:15:50 +00:00
{% 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 %}
2018-05-02 10:25:42 +00:00
2020-01-01 22:15:50 +00:00
{% 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 %}
2018-05-02 10:25:42 +00:00
2019-12-28 16:43:48 +00:00
{% block body %}
2020-01-01 22:15:50 +00:00
<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>
2019-12-28 16:43:48 +00:00
{% endblock body %}
2018-05-02 10:25:42 +00:00
2019-12-28 16:43:48 +00:00
{% block tail %}
2019-12-29 10:56:34 +00:00
<script>
$(document).ready(function () {
var table = $('#history_series').DataTable({
2020-01-01 22:15:50 +00:00
"dom":
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
2019-12-29 10:56:34 +00:00
"processing": true,
"serverSide": true,
"searching": false,
"ordering": false,
2020-01-01 22:15:50 +00:00
"lengthChange": true,
"pageLength": {{ settings.general.page_size }},
2019-12-29 10:56:34 +00:00
"ajax": "{{ url_for('api.historyseries') }}",
"columns": [
{"data": "action"},
{"data": "seriesTitle"},
{"data": "episode_number"},
{"data": "episodeTitle"},
{"data": "timestamp"},
{"data": "description"}
]
});
});
</script>
2019-12-28 16:43:48 +00:00
{% endblock tail %}