plexpy/data/interfaces/default/sync.html
Tim 349a850451 We're getting our own database!
First code for independent notifications (not linked to PlexWatch).
New notifications panel in Settings (many types still untested).
Standardise the parameters sent to current activity.
Remove notifiers we cannot use.
Styling fixes for sync tables.
2015-07-03 19:50:47 +02:00

73 lines
2.6 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.responsive.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="wellheader-bg">
<div class="dashboard-wellheader-no-chevron">
<h2><i class="fa fa-cloud-download"></i> Synced Items</h2>
</div>
</div>
</div>
</div>
</div>
<div class='container-fluid'>
<div class='row-fluid'>
<div class='span12'>
<div class='table-card-back'>
<table class="display" id="sync_table" width="100%">
<thead>
<tr>
<th class="desktop" align='left' id="state">State</th>
<th class="all" align='left' id="username">Username</th>
<th class="all" align='left' id="title">Title</th>
<th class="desktop" align='left' id="type">Type</th>
<th class="min-tablet" align='left' id="device">Device</th>
<th class="desktop" align='left' id="platform">Platform</th>
<th class="desktop" align='left' id="size">Total Size</th>
<th class="min-tablet" align='left' id="items">Total Items</th>
<th class="desktop" align='left' id="converted">Converted</th>
<th class="desktop" align='left' id="downloaded">Downloaded</th>
<th class="desktop" 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.responsive.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);
});
</script>
</%def>