From 28242e9670243890b8b772b66ce97690a2592eff Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Thu, 10 Jun 2021 13:36:57 -0700 Subject: [PATCH] Reversed x axes in CPU/Memory graph. #2756 --- package.json | 14 +++++++++++++- views/default.handlebars | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 97775868..e3fe5cc4 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,8 @@ "sample-config-advanced.json" ], "dependencies": { + "archiver": "^4.0.2", + "archiver-zip-encrypted": "^1.0.10", "body-parser": "^1.19.0", "cbor": "~5.2.0", "compression": "^1.7.4", @@ -43,14 +45,24 @@ "express": "^4.17.0", "express-handlebars": "^3.1.0", "express-ws": "^4.0.0", + "image-size": "^1.0.0", "ipcheck": "^0.1.0", + "loadavg-windows": "^1.1.1", "minimist": "^1.2.0", + "mongodb": "^3.6.9", "multiparty": "^4.2.1", "nedb": "^1.8.0", "node-forge": "^0.10.0", + "node-rdpjs-2": "^0.3.5", + "node-windows": "^1.0.0-beta.5", + "otplib": "^10.2.3", + "saslprep": "^1.0.3", + "ssh2": "^1.1.0", + "web-push": "^3.4.4", "ws": "^5.2.0", "xmldom": "^0.5.0", - "yauzl": "^2.10.0" + "yauzl": "^2.10.0", + "yubikeyotp": "^0.2.0" }, "repository": { "type": "git", diff --git a/views/default.handlebars b/views/default.handlebars index b55f31a4..2687efba 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -9709,7 +9709,7 @@ tooltips: { enabled: false }, elements: { line: { cubicInterpolationMode: 'monotone' } }, scales: { - xAxes: [{ type: 'linear', display: true, scaleLabel: { display: false, labelString: '' }, ticks: { min: 0, max: 100 } }], + xAxes: [{ type: 'linear', display: true, scaleLabel: { display: false, labelString: '' }, ticks: { min: 0, max: 100, reverse: true } }], yAxes: [{ type: 'linear', display: true, scaleLabel: { display: false, labelString: '' }, ticks: { min: 0, max: 100 } }] } }