mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
webui: standardised all rowCount parameters for tables (#5067)
This commit is contained in:
@@ -159,7 +159,7 @@ include 'includes/modal/new_bill.inc.php';
|
||||
header: $('#table-header').html()
|
||||
},
|
||||
columnSelection: false,
|
||||
rowCount: [10,20,50,100,-1],
|
||||
rowCount: [50,100,250,-1],
|
||||
post: function() {
|
||||
return {
|
||||
id: 'bills',
|
||||
|
@@ -15,7 +15,7 @@
|
||||
<script>
|
||||
var grid = $("#mempool").bootgrid({
|
||||
ajax: true,
|
||||
rowCount: [25,50,100,250,-1],
|
||||
rowCount: [50,100,250,-1],
|
||||
post: function ()
|
||||
{
|
||||
return {
|
||||
|
@@ -50,7 +50,7 @@ function formatUnits(units,decimals,display,base) {
|
||||
|
||||
var grid = $("#ports").bootgrid({
|
||||
ajax: true,
|
||||
rowCount: [25, 50, 100, 250, -1],
|
||||
rowCount: [50, 100, 250, -1],
|
||||
converters: {
|
||||
'duration': {
|
||||
to: function (value) { return moment.duration(value, 'seconds').humanize(); }
|
||||
|
Reference in New Issue
Block a user