bazarr/views/historymovies.html

57 lines
1.7 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_movies" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>action</th>
<th>title</th>
<th>timestamp</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_movies').DataTable({
2020-01-01 22:15:50 +00:00
"dom":"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
"processing": false,
2019-12-29 10:56:34 +00:00
"serverSide": true,
"searching": false,
"ordering": false,
2020-01-01 22:15:50 +00:00
"responsive": true,
"lengthChange": true,
"pageLength": {{ settings.general.page_size }},
2019-12-29 10:56:34 +00:00
"ajax": "{{ url_for('api.historymovies') }}",
"columns": [
{"data": "action"},
{"data": "title"},
{"data": "timestamp"},
{"data": "description"}
]
});
});
</script>
2019-12-28 16:43:48 +00:00
{% endblock tail %}