diff --git a/octoprint_klipper/__init__.py b/octoprint_klipper/__init__.py
index 2948dc5..183ce0e 100644
--- a/octoprint_klipper/__init__.py
+++ b/octoprint_klipper/__init__.py
@@ -70,7 +70,7 @@ class KlipperPlugin(
def on_parse_gcode(self, comm, line, *args, **kwargs):
if "//" in line:
self._parsingResponse = True
- self._message = self._message + line.strip('/') + "
"
+ self._message = self._message + line.strip('/')
else:
if self._parsingResponse:
self._parsingResponse = False
diff --git a/octoprint_klipper/static/css/klipper.css b/octoprint_klipper/static/css/klipper.css
index cd966f7..28be358 100644
--- a/octoprint_klipper/static/css/klipper.css
+++ b/octoprint_klipper/static/css/klipper.css
@@ -1,18 +1,34 @@
-.plugin_klipper_log {
- padding: 0.5em;
+.plugin-klipper-log {
+ padding: 3px;
overflow-y: scroll;
height: 400px;
- background-color: #efefef;
- border: 1px #eee;
+ border: 1px solid #eee;
+}
+
+.plugin-klipper-log .log-item {
+ margin: 2px auto 0 auto;
+ border: 1px solid #ddd;
border-radius: 3px;
+ background-color: #eeeeef;
}
-.plugin_klipper_log .log-item {
- margin: 0 auto 0 auto;
+.plugin-klipper-log .error {
+ color: #b94a48;
}
-.plugin_klipper_log .error {
- color: red;
+.plugin-klipper-log .log-item .ts {
+ display: inline-block;
+ width: 13%;
+ height: 100%;
+ vertical-align: top;
+ font-size: 0.8em;
+ padding: 3px;
+}
+
+.plugin-klipper-log .log-item .msg {
+ display: inline-block;
+ width: 84%;
+ height: 100%;
}
.clear-btn {
diff --git a/octoprint_klipper/templates/klipper_tab_main.jinja2 b/octoprint_klipper/templates/klipper_tab_main.jinja2
index c4c8796..84f3f22 100644
--- a/octoprint_klipper/templates/klipper_tab_main.jinja2
+++ b/octoprint_klipper/templates/klipper_tab_main.jinja2
@@ -1,8 +1,11 @@