Numerous styling changes. Please refresh browser cache after update.
Add option on tables to show/hide columns. Add option in settings to manually check for updates. Add option in config to toggle github update checks. Remove the hidden danger zone link to wipe database.
This commit is contained in:
@@ -5,6 +5,7 @@ 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">
|
||||
<link rel="stylesheet" href="interfaces/default/css/dataTables.responsive.css">
|
||||
<style>
|
||||
td {word-wrap: break-word}
|
||||
@@ -15,20 +16,16 @@ from plexpy import helpers
|
||||
</%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'>
|
||||
<div style="float: left;">
|
||||
<h2><i class="fa fa-cloud-download"></i> Synced Items</h2>
|
||||
</div>
|
||||
<div style="float: right;" class="button-bar">
|
||||
</div>
|
||||
</div>
|
||||
<div class='table-card-back'>
|
||||
<table class="display" id="sync_table" width="100%">
|
||||
<thead>
|
||||
@@ -59,6 +56,7 @@ from plexpy import helpers
|
||||
|
||||
<%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/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>
|
||||
@@ -68,6 +66,9 @@ from plexpy import helpers
|
||||
"url": "get_sync"
|
||||
}
|
||||
sync_table = $('#sync_table').DataTable(sync_table_options);
|
||||
|
||||
var colvis = new $.fn.dataTable.ColVis( sync_table );
|
||||
$( colvis.button() ).appendTo('div.button-bar');
|
||||
});
|
||||
</script>
|
||||
</%def>
|
||||
|
Reference in New Issue
Block a user