add available stat
This commit is contained in:
@@ -127,6 +127,7 @@ function getStats(order) {
|
||||
let row = document.createElement("tr")
|
||||
row.innerHTML = `\
|
||||
<td>${v.name}</td>
|
||||
<td>${v.available}</td>
|
||||
<td>${v.max_connections}</td>
|
||||
<td>${v.open_connections}</td>
|
||||
<td>${v.connections_in_use}</td>
|
||||
|
@@ -95,7 +95,7 @@ FileManager.prototype.getUserLists = function() {
|
||||
this.setSpinner()
|
||||
|
||||
let getAll = (page) => {
|
||||
let numFiles = 10000
|
||||
let numFiles = 1000
|
||||
fetch(apiEndpoint+"/user/lists?page="+page+"&limit="+numFiles).then(resp => {
|
||||
if (!resp.ok) { Promise.reject("yo") }
|
||||
return resp.json()
|
||||
|
@@ -32,6 +32,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Name</td>
|
||||
<td>Available</td>
|
||||
<td>Max</td>
|
||||
<td>Open</td>
|
||||
<td>In use</td>
|
||||
|
Reference in New Issue
Block a user