mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -07:00
Set datatables stateSave to true as default Remove some old images. Change button on edit user modal
72 lines
2.5 KiB
HTML
72 lines
2.5 KiB
HTML
<%inherit file="base.html"/>
|
|
<%!
|
|
from plexpy import helpers
|
|
%>
|
|
|
|
<%def name="headIncludes()">
|
|
<link rel="stylesheet" href="interfaces/default/css/plexwatch-tables.css">
|
|
<link rel="stylesheet" href="interfaces/default/css/dataTables.colVis.css">
|
|
<style>
|
|
td {word-wrap: break-word}
|
|
</style>
|
|
</%def>
|
|
|
|
<%def name="headerIncludes()">
|
|
</%def>
|
|
|
|
<%def name="body()">
|
|
<div class='container-fluid'>
|
|
<div class='row-fluid'>
|
|
<div class='span12'>
|
|
<div class='table-card-back'>
|
|
<div class="header-bar">
|
|
<h2><i class="fa fa-cloud-download"></i> Synced Items</h2>
|
|
</div>
|
|
<div class="colvis-button-bar hidden-phone">
|
|
</div>
|
|
</div>
|
|
<div class='table-card-back'>
|
|
<table class="display" id="sync_table" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th align='left' id="state">State</th>
|
|
<th align='left' id="username">Username</th>
|
|
<th align='left' id="title">Title</th>
|
|
<th align='left' id="type">Type</th>
|
|
<th align='left' id="device">Device</th>
|
|
<th align='left' id="platform">Platform</th>
|
|
<th align='left' id="size">Total Size</th>
|
|
<th align='left' id="items">Total Items</th>
|
|
<th align='left' id="converted">Converted</th>
|
|
<th align='left' id="downloaded">Downloaded</th>
|
|
<th align='left' id="percent_complete">Complete</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</%def>
|
|
|
|
<%def name="javascriptIncludes()">
|
|
<script src="interfaces/default/js/jquery.dataTables.min.js"></script>
|
|
<script src="interfaces/default/js/dataTables.colVis.js"></script>
|
|
<script src="interfaces/default/js/jquery.dataTables.bootstrap.pagination.integration.js"></script>
|
|
<script src="interfaces/default/js/tables/sync_table.js"></script>
|
|
<script>
|
|
$(document).ready(function() {
|
|
sync_table_options.ajax = {
|
|
"url": "get_sync"
|
|
}
|
|
sync_table = $('#sync_table').DataTable(sync_table_options);
|
|
|
|
var colvis = new $.fn.dataTable.ColVis( sync_table );
|
|
$( colvis.button() ).appendTo('div.colvis-button-bar');
|
|
});
|
|
</script>
|
|
</%def>
|