From 421f9ae5943f84408eb7e74ad97680518650a920 Mon Sep 17 00:00:00 2001
From: Lucas Hinderberger
Date: Tue, 2 Jul 2024 12:46:14 +0200
Subject: [PATCH] SMTP: ReceivedContent refactoring part 5 - Adapting GUI to
new structure
---
internal/smtp/gui.html | 107 ++++++++++++++++++++++-------------------
1 file changed, 57 insertions(+), 50 deletions(-)
diff --git a/internal/smtp/gui.html b/internal/smtp/gui.html
index 673055e..21040d5 100644
--- a/internal/smtp/gui.html
+++ b/internal/smtp/gui.html
@@ -7,13 +7,13 @@
html, body { width: 100%; height: 100%; margin: 0; padding: 0; font-family: monospace; }
body { padding: 20px; box-sizing: border-box; }
noscript { color: red; font-weight: bold; }
-.container { display: flex; flex-direction: row; gap: 20px; max-width: 1600px; margin: auto; }
+.container { display: flex; flex-direction: row; gap: 20px; }
.container nav { flex: 2; }
.container main { flex: 1; }
table, th, td { border: 2px solid grey; border-collapse: collapse; }
th, td { padding: 10px; }
.subject-hdr { width: 100%; }
-pre { background-color: #eee; padding: 10px; box-sizing: border-box; max-width: 400px; overflow-x: auto; }
+pre { background-color: #eee; padding: 10px; box-sizing: border-box; width: 100%; overflow-x: auto; }
main > p:first-of-type { padding-top: 0; margin-top: 0; }
@@ -39,43 +39,14 @@
-
-
- Message Metadata:
-
-
-
-
- Raw Message:
- Download
-
-
-
- Body:
- Show
-
-
-
- Multipart Metadata:
-
-
-
-
- Multiparts:
-
-
-
+