Documentation fixes and such
This commit is contained in:
@@ -208,7 +208,9 @@ function getStats(order) {
|
||||
<td>${v.position}</td>
|
||||
<td>${v.reachable}</td>
|
||||
<td>${v.unreachable_count}</td>
|
||||
<td>${v.load_1_min} ${v.load_5_min} ${v.load_15_min}</td>
|
||||
<td>${v.load_1_min}</td>
|
||||
<td>${v.load_5_min}</td>
|
||||
<td>${v.load_15_min}</td>
|
||||
<td>${formatDuration(v.latency)}</td>
|
||||
<td>${formatDataVolume(v.free_space, 3)}</td>
|
||||
<td>${formatDataVolume(v.min_free_space, 3)}</td>`
|
||||
@@ -256,4 +258,4 @@ function getStats(order) {
|
||||
}
|
||||
getStats("calls")
|
||||
|
||||
setInterval(() => { getStats(lastOrder) }, 5000)
|
||||
setInterval(() => { getStats(lastOrder) }, 10000)
|
||||
|
@@ -36,7 +36,7 @@ function drawGraph(element, label, dataType) {
|
||||
position: "left",
|
||||
id: "ax_1",
|
||||
ticks: {
|
||||
callback: function(value, index, values) {
|
||||
callback: function (value, index, values) {
|
||||
if (dataType == "bytes") {
|
||||
return formatDataVolume(value, 3);
|
||||
}
|
||||
@@ -44,7 +44,7 @@ function drawGraph(element, label, dataType) {
|
||||
},
|
||||
beginAtZero: true
|
||||
},
|
||||
gridLines: { display: false },
|
||||
gridLines: { display: true },
|
||||
}
|
||||
],
|
||||
xAxes: [
|
||||
|
@@ -8,7 +8,7 @@ function AudioViewer(viewer, file, next) {
|
||||
this.container.appendChild(document.createElement("br"))
|
||||
|
||||
this.icon = document.createElement("img")
|
||||
this.icon.src = "/res/img/mime/audio.png"
|
||||
this.icon.src = "/api/file/" + this.file.id + "/thumbnail"
|
||||
this.container.appendChild(this.icon)
|
||||
|
||||
this.container.appendChild(document.createElement("br"))
|
||||
|
Reference in New Issue
Block a user