Update brave ad

This commit is contained in:
2020-11-04 20:51:39 +01:00
parent 829fb47951
commit a8a5c5e906
19 changed files with 304 additions and 14 deletions

View File

@@ -187,6 +187,13 @@ function getStats(order) {
resp.stats_watcher_listeners / resp.stats_watcher_threads
).toPrecision(3);
document.getElementById("cache_files").innerText = resp.cache_files;
document.getElementById("cache_size").innerText = formatDataVolume(resp.cache_size_total, 3);
document.getElementById("cache_max").innerText = formatDataVolume(resp.cache_size_max, 3);
document.getElementById("cache_reads").innerText = resp.cache_reads;
document.getElementById("disk_reads").innerText = resp.disk_reads;
document.getElementById("remote_reads").innerText = resp.remote_reads;
let c = document.getElementById("tconnstat_body")
c.innerHTML = ""
resp.db_connection_stats.forEach(v => {

View File

@@ -189,7 +189,7 @@ DirectoryElement.prototype.createFileButton = function(file, index) {
let el = document.createElement("a")
el.classList = "node"
el.href = file.href
// el.target = "_blank"
el.target = "_blank"
el.title = file.name
el.setAttribute("fileindex", index)