bazarr/views/series.html

46 lines
1007 B
HTML
Raw Normal View History

2019-12-27 22:15:56 +00:00
{% extends '_main.html' %}
2019-12-27 22:15:56 +00:00
{% block title %}Series - Bazarr{% endblock %}
2019-12-28 16:43:48 +00:00
{% block head %}
2019-12-27 22:15:56 +00:00
{% endblock head %}
2019-12-28 16:43:48 +00:00
{% block body %}
<table id="series" class="mdl-data-table" style="width:100%">
<thead>
<tr>
<th>Name</th>
<th>Path exist</th>
<th>Audio Language</th>
<th>Subtitles Languages</th>
<th>Hearing-Impaired</th>
<th>Forced</th>
</tr>
</thead>
</table>
2019-12-27 22:15:56 +00:00
{% endblock body %}
2019-12-28 16:43:48 +00:00
{% block tail %}
<script>
$(document).ready(function() {
var table = $('#series').DataTable( {
"processing": true,
"serverSide": true,
"searching": false,
"ordering": false,
"lengthChange": false,
"ajax": "/api/series",
"columns": [
{ "data": "title" },
{ "data": "exist" },
{ "data": "audio_language.name" },
{ "data": "languages[, ].code2" },
{ "data": "hearing_impaired" },
{ "data": "forced" }
]
} );
} );
</script>
2019-12-27 22:15:56 +00:00
{% endblock tail %}