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/series.html

46 lines
1007 B

{% extends '_main.html' %}
{% block title %}Series - Bazarr{% endblock %}
5 years ago
{% block head %}
{% endblock head %}
5 years ago
{% 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>
{% endblock body %}
5 years ago
{% 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>
{% endblock tail %}