diff --git a/app.js b/app.js
index 8803ed5..b84450a 100644
--- a/app.js
+++ b/app.js
@@ -1,5 +1,5 @@
// Kubek version
-global.kubek_version = "v2.1.10";
+global.kubek_version = "v2.1.11";
// Variables and constants initialization
global.pendingTasks = {};
diff --git a/package-lock.json b/package-lock.json
index c7fff1e..c6ba7ff 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "kubek-minecraft-dashboard",
- "version": "2.1.10",
+ "version": "2.1.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "kubek-minecraft-dashboard",
- "version": "2.1.10",
+ "version": "2.1.11",
"license": "ISC",
"dependencies": {
"@sfirew/minecraft-motd-parser": "^1.1.1",
diff --git a/package.json b/package.json
index 003fc17..7eb03aa 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "kubek-minecraft-dashboard",
- "version": "2.1.10",
+ "version": "2.1.11",
"description": "",
"main": "app.js",
"author": "",
diff --git a/www/pages/console.css b/www/pages/console.css
index 9f5e441..3951b21 100644
--- a/www/pages/console.css
+++ b/www/pages/console.css
@@ -14,8 +14,7 @@
grid-template-rows: 0.95fr;
gap: 0px 1em;
grid-auto-flow: row;
- grid-template-areas:
- "main-console additional-blocks";
+ grid-template-areas: "main-console additional-blocks";
}
.console-container .main-console-grid .main-console {
@@ -26,6 +25,10 @@
grid-area: additional-blocks;
}
+.console-container #console-text * {
+ color: rgb(245, 245, 245);
+}
+
/* Micro blocks */
.micro-block {
display: grid;
@@ -55,7 +58,7 @@
grid-area: label;
font-size: 12pt;
font-weight: 400;
- align-self: end;
+ align-self: end;
}
.micro-block .percent {
@@ -78,10 +81,10 @@
.mono-font,
.mono-font span {
- font-family: 'Roboto Mono Regular' !important;
+ font-family: "Roboto Mono Regular" !important;
}
.consolas-font,
.consolas-font span {
- font-family: 'Consolas' !important;
-}
\ No newline at end of file
+ font-family: "Consolas" !important;
+}
diff --git a/www/pages/console.js b/www/pages/console.js
index 79188d2..4a71160 100644
--- a/www/pages/console.js
+++ b/www/pages/console.js
@@ -96,31 +96,10 @@ function setCTFontFamily(fs) {
function refreshConsole(data) {
split = data.split(/\r?\n/);
$("#console-text").html("");
-
+
split.forEach(function (line) {
- line = mineParse(line.replaceAll("<", "<")).parsed.innerHTML;
-
- htmlObject = document.createElement("div");
- htmlObject.innerHTML = line;
- if (htmlObject.firstChild.firstChild != null) {
- html_text =
- htmlObject.firstChild.firstChild.wholeText.replaceAll("<", "<") +
- "
";
- if (htmlObject.firstChild.style.color != "") {
- stl = "color:" + htmlObject.firstChild.style.color + " !important;";
- } else {
- stl = "";
- }
- html_text = linkify(html_text);
- html_text =
- "" +
- html_text +
- "";
-
- $("#console-text").html($("#console-text").html() + html_text);
- }
+ html_text = linkify(mineParse(line).raw) + "
";
+ $("#console-text").html($("#console-text").html() + html_text);
});
if ($("#autoscrollConsoleCheckbox").is(":checked")) {
$("#console-text").scrollTop($("#console-text")[0].scrollHeight);
diff --git a/www/pages/file_manager.html b/www/pages/file_manager.html
index ade080a..2312feb 100644
--- a/www/pages/file_manager.html
+++ b/www/pages/file_manager.html
@@ -118,44 +118,7 @@