2019-12-27 22:15:56 +00:00
|
|
|
{% extends '_main.html' %}
|
2018-12-09 20:23:51 +00:00
|
|
|
|
2019-12-27 22:15:56 +00:00
|
|
|
{% block title %}Series - Bazarr{% endblock %}
|
2018-12-09 20:23:51 +00:00
|
|
|
|
2019-12-28 16:43:48 +00:00
|
|
|
{% block head %}
|
2018-12-09 20:23:51 +00:00
|
|
|
|
2019-12-27 22:15:56 +00:00
|
|
|
{% endblock head %}
|
2018-12-09 20:23:51 +00:00
|
|
|
|
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 %}
|
2018-12-09 20:23:51 +00:00
|
|
|
|
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 %}
|