mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-11 01:07:36 +08:00
WIP
This commit is contained in:
parent
b88763af3a
commit
cd3d1ada49
2 changed files with 13 additions and 4 deletions
|
@ -140,10 +140,10 @@
|
|||
<div class="dropdown-menu dropdown-menu-right scale-up">
|
||||
<ul class="dropdown-user">
|
||||
<li><a id="restart"><i class="fas fa-redo"></i> Restart</a></li>
|
||||
<li><a id="shutdown""><i class="fas fa-power-off"></i>
|
||||
Shutdown</a></li>
|
||||
<li><a href="{{ url_for('logout') }}"><i class="fas fa-sign-out-alt"></i> Logout</a>
|
||||
</li>
|
||||
<li><a id="shutdown"><i class="fas fa-power-off"></i> Shutdown</a></li>
|
||||
{% if settings.auth.type != 'None' %}
|
||||
<li><a href="{{ url_for('logout') }}"><i class="fas fa-sign-out-alt"></i> Logout</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
@ -339,6 +339,15 @@
|
|||
responsive: true,
|
||||
pageLength: {{ settings.general.page_size }},
|
||||
ajax: "{{ url_for('api.episodes') }}?seriesid={{id}}",
|
||||
initComplete: function() {
|
||||
$('.dtrg-start').each( function(i, item) {
|
||||
if (i > 0) {
|
||||
var name = $(item).data('name');
|
||||
collapsedGroups[name] = !collapsedGroups[name];
|
||||
table.draw(false);
|
||||
}
|
||||
})
|
||||
},
|
||||
rowGroup: {
|
||||
dataSrc: 'season',
|
||||
startRender: function (rows, group) {
|
||||
|
|
Loading…
Reference in a new issue