Add vertical scrollbar to recent uploads table

This commit is contained in:
Duncan Sommerville 2015-09-01 14:27:54 -04:00
parent 46e126145e
commit f283d69481
4 changed files with 7 additions and 9 deletions

View file

@ -68,10 +68,8 @@
</form>
</div>
<H2><?php echo _("Recent Uploads")?></H2>
<div class="dataTables_scrolling">
<table id="recent_uploads_table" class="datatable lib-content ui-widget ui-widget-content block-shadow"
cellpadding="0" cellspacing="0"></table>
</div>
</div>
<div style="clear: both;"></div>
</div>

View file

@ -1,9 +1,8 @@
@CHARSET "UTF-8";
#recent_uploads > .dataTables_scrolling
#recent_uploads .dataTables_scrolling
{
top: 41px;
bottom: 8px;
top: 0;
}
#recent_uploads_wrapper
@ -25,9 +24,10 @@
position: absolute;
left: 8px;
right: 8px;
bottom: 0;
top: 0;
bottom: 8px;
top: 41px;
border: 1px solid #5b5b5b;
overflow-x: hidden;
}
#recent_uploads_table_wrapper > .fg-toolbar

View file

@ -708,7 +708,7 @@ var AIRTIME = (function(AIRTIME) {
"url": sSource,
"data": aoData,
"success": fnCallback,
"error": handleAjaxError,
"error": handleAjaxError
});
},
"fnRowCallback": AIRTIME.library.fnRowCallback,

View file

@ -185,7 +185,7 @@ $(document).ready(function () {
"bFilter": false,
"bSort": false,
//"sDom": '<"H">frtip<"F"l>',
"sDom": 'frt<"F"lip>',
"sDom": '<"dataTables_scrolling"frt><"F"lip>',
"bPaginate": true,
"sPaginationType": "full_numbers",
"oLanguage": getDatatablesStrings({