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