Some small UI fixes.

pull/427/head
Louis Vézina 5 years ago
parent 07c37b8254
commit aba93482b0

@ -3,7 +3,6 @@
<head> <head>
<script src="{{base_url}}static/jquery/jquery-latest.min.js"></script> <script src="{{base_url}}static/jquery/jquery-latest.min.js"></script>
<script src="{{base_url}}static/semantic/semantic.min.js"></script> <script src="{{base_url}}static/semantic/semantic.min.js"></script>
<script src="{{base_url}}static/jquery/tablesort.js"></script>
<link rel="stylesheet" href="{{base_url}}static/semantic/semantic.min.css"> <link rel="stylesheet" href="{{base_url}}static/semantic/semantic.min.css">
<link rel="apple-touch-icon" sizes="120x120" href="{{base_url}}static/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="120x120" href="{{base_url}}static/apple-touch-icon.png">
@ -53,16 +52,16 @@
<div class="ui basic buttons"> <div class="ui basic buttons">
<button id="movieseditor" class="ui button"><i class="configure icon"></i>Movies Editor</button> <button id="movieseditor" class="ui button"><i class="configure icon"></i>Movies Editor</button>
</div> </div>
<table id="tablemovies" class="ui very basic selectable table"> <table id="tablemovies" class="ui very basic selectable stackable table">
<thead> <thead>
<tr> <tr>
<th></th> <th></th>
<th class="sorted ascending">Name</th> <th>Name</th>
<th>Path</th> <th>Path</th>
<th>Audio<br>language</th> <th>Audio<br>language</th>
<th>Subtitles<br>languages</th> <th>Subtitles<br>languages</th>
<th>Hearing-<br>impaired</th> <th>Hearing-<br>impaired</th>
<th class="no-sort"></th> <th></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -224,8 +223,6 @@
sessionStorage.clear(); sessionStorage.clear();
} }
$('table').tablesort();
$('a, button:not(.cancel)').on('click', function(){ $('a, button:not(.cancel)').on('click', function(){
$('#loader').addClass('active'); $('#loader').addClass('active');
}); });

@ -75,7 +75,7 @@
%import ast %import ast
%import os %import os
%for row in rows: %for row in rows:
<tr> <tr class="selectable">
<td><a href="{{base_url}}episodes/{{row[5]}}">{{row[1]}}</a></td> <td><a href="{{base_url}}episodes/{{row[5]}}">{{row[1]}}</a></td>
<td> <td>
%if os.path.isdir(row[2]): %if os.path.isdir(row[2]):

Loading…
Cancel
Save