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()
|
header: $('#table-header').html()
|
||||||
},
|
},
|
||||||
columnSelection: false,
|
columnSelection: false,
|
||||||
rowCount: [10,20,50,100,-1],
|
rowCount: [50,100,250,-1],
|
||||||
post: function() {
|
post: function() {
|
||||||
return {
|
return {
|
||||||
id: 'bills',
|
id: 'bills',
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
<script>
|
<script>
|
||||||
var grid = $("#mempool").bootgrid({
|
var grid = $("#mempool").bootgrid({
|
||||||
ajax: true,
|
ajax: true,
|
||||||
rowCount: [25,50,100,250,-1],
|
rowCount: [50,100,250,-1],
|
||||||
post: function ()
|
post: function ()
|
||||||
{
|
{
|
||||||
return {
|
return {
|
||||||
|
@@ -50,7 +50,7 @@ function formatUnits(units,decimals,display,base) {
|
|||||||
|
|
||||||
var grid = $("#ports").bootgrid({
|
var grid = $("#ports").bootgrid({
|
||||||
ajax: true,
|
ajax: true,
|
||||||
rowCount: [25, 50, 100, 250, -1],
|
rowCount: [50, 100, 250, -1],
|
||||||
converters: {
|
converters: {
|
||||||
'duration': {
|
'duration': {
|
||||||
to: function (value) { return moment.duration(value, 'seconds').humanize(); }
|
to: function (value) { return moment.duration(value, 'seconds').humanize(); }
|
||||||
|
Reference in New Issue
Block a user