From ac41c80a071d595ca0ad49b7ac08f9fe0870f766 Mon Sep 17 00:00:00 2001
From: Christian Hesse
Date: Wed, 29 Oct 2025 14:31:17 +0100
Subject: [PATCH 1/7] contrib/{logo-color,notification}: use a single style
---
contrib/{notification.d => general}/style.css | 0
contrib/logo-color.d/style.css | 5 -----
contrib/logo-color.html | 2 +-
contrib/notification.html | 4 ++--
4 files changed, 3 insertions(+), 8 deletions(-)
rename contrib/{notification.d => general}/style.css (100%)
delete mode 100644 contrib/logo-color.d/style.css
diff --git a/contrib/notification.d/style.css b/contrib/general/style.css
similarity index 100%
rename from contrib/notification.d/style.css
rename to contrib/general/style.css
diff --git a/contrib/logo-color.d/style.css b/contrib/logo-color.d/style.css
deleted file mode 100644
index eb2ec6a..0000000
--- a/contrib/logo-color.d/style.css
+++ /dev/null
@@ -1,5 +0,0 @@
-body {
- font-family: fira-sans, sans-serif;
- font-size: 10pt;
- background-color: transparent;
-}
diff --git a/contrib/logo-color.html b/contrib/logo-color.html
index 17942ce..802e36c 100644
--- a/contrib/logo-color.html
+++ b/contrib/logo-color.html
@@ -3,7 +3,7 @@
RouterOS-Scripts Logo Color Changer
-
+
diff --git a/contrib/notification.html b/contrib/notification.html
index 7875036..49bf8bd 100644
--- a/contrib/notification.html
+++ b/contrib/notification.html
@@ -3,8 +3,8 @@
RouterOS-Scripts Notification Generator
-
-
+
+
From 19d1d0fd559fc5585c6a967812bd2f1f326c666e Mon Sep 17 00:00:00 2001
From: Christian Hesse
Date: Wed, 29 Oct 2025 14:46:01 +0100
Subject: [PATCH 2/7] contrib/html.sh: include stylesheet via link
---
contrib/general/style.css | 32 ++++++++++++++++++++++++++++++++
contrib/html.sh | 6 +++++-
contrib/html.sh.d/head.html | 11 +----------
3 files changed, 38 insertions(+), 11 deletions(-)
diff --git a/contrib/general/style.css b/contrib/general/style.css
index 648ea23..0416e45 100644
--- a/contrib/general/style.css
+++ b/contrib/general/style.css
@@ -3,6 +3,28 @@ body {
font-size: 10pt;
background-color: transparent;
}
+h2 {
+ border-bottom: 1px solid #ccc;
+ color: #000;
+}
+a {
+ text-decoration: none;
+}
+a:hover {
+ text-decoration: underline;
+}
+blockquote {
+ border-left: 4px solid #ccc;
+ padding: 0 10px;
+ color: #777;
+}
+code {
+ margin: 0 2px;
+ padding: 2px 5px;
+ border: 1px solid #ccc;
+ background-color: #f8f8f8;
+ border-radius: 3px;
+}
div.notification {
position: relative;
float: right;
@@ -30,6 +52,16 @@ p.hint {
pre {
font-family: fira-mono, monospace;
white-space: pre-wrap;
+ background-color: #f8f8f8;
+ border: 1px solid #ccc;
+ overflow: auto;
+ padding: 6px 10px;
+ border-radius: 3px;
+}
+pre code {
+ margin: 0;
+ padding: 0;
+ border: 0;
}
span.link {
color: #863600;
diff --git a/contrib/html.sh b/contrib/html.sh
index bbd8ba8..194a7cd 100755
--- a/contrib/html.sh
+++ b/contrib/html.sh
@@ -2,7 +2,11 @@
set -e
-sed "s|__TITLE__|$(head -n1 "${1}")|" < "${0}.d/head.html"
+RELTO="$(dirname "${1}")"
+sed \
+ -e "s|__TITLE__|$(head -n1 "${1}")|" \
+ -e "s|__STYLE__|$(realpath --relative-to="${RELTO}" contrib/general/style.css)|" \
+ < "${0}.d/head.html"
markdown -f toc,idanchor "${1}" | sed \
-e 's/href="\([-_\./[:alnum:]]*\)\.md"/href="\1.html"/g' \
-e '/| id="\L\1">|'
diff --git a/contrib/html.sh.d/head.html b/contrib/html.sh.d/head.html
index 1b1dd03..50653ae 100644
--- a/contrib/html.sh.d/head.html
+++ b/contrib/html.sh.d/head.html
@@ -1,15 +1,6 @@
RouterOS Scripts :: __TITLE__
-
+
From 90a59986b9c51e7ef69427afea3f2ab1b9cc55c0 Mon Sep 17 00:00:00 2001
From: Christian Hesse
Date: Wed, 29 Oct 2025 14:55:00 +0100
Subject: [PATCH 3/7] contrib/html.sh: link the logo with relative path
---
contrib/html.sh | 1 +
contrib/html.sh.d/head.html | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/html.sh b/contrib/html.sh
index 194a7cd..f1ee70c 100755
--- a/contrib/html.sh
+++ b/contrib/html.sh
@@ -6,6 +6,7 @@ RELTO="$(dirname "${1}")"
sed \
-e "s|__TITLE__|$(head -n1 "${1}")|" \
-e "s|__STYLE__|$(realpath --relative-to="${RELTO}" contrib/general/style.css)|" \
+ -e "s|__LOGO__|$(realpath --relative-to="${RELTO}" logo.png)|" \
< "${0}.d/head.html"
markdown -f toc,idanchor "${1}" | sed \
-e 's/href="\([-_\./[:alnum:]]*\)\.md"/href="\1.html"/g' \
diff --git a/contrib/html.sh.d/head.html b/contrib/html.sh.d/head.html
index 50653ae..fffa58d 100644
--- a/contrib/html.sh.d/head.html
+++ b/contrib/html.sh.d/head.html
@@ -2,5 +2,5 @@
RouterOS Scripts :: __TITLE__
-
+
From 3edac71c0d975d522511e90c6b661f05324f5bdb Mon Sep 17 00:00:00 2001
From: Christian Hesse
Date: Wed, 29 Oct 2025 15:19:32 +0100
Subject: [PATCH 4/7] contrib/*: unify html code
---
contrib/html.sh.d/head.html | 4 ++--
contrib/logo-color.html | 17 +++++++----------
contrib/notification.html | 17 +++++++----------
3 files changed, 16 insertions(+), 22 deletions(-)
diff --git a/contrib/html.sh.d/head.html b/contrib/html.sh.d/head.html
index fffa58d..18d1320 100644
--- a/contrib/html.sh.d/head.html
+++ b/contrib/html.sh.d/head.html
@@ -1,6 +1,6 @@
-RouterOS Scripts :: __TITLE__
-
+
+RouterOS Scripts :: __TITLE__
diff --git a/contrib/logo-color.html b/contrib/logo-color.html
index 802e36c..f6b4a55 100644
--- a/contrib/logo-color.html
+++ b/contrib/logo-color.html
@@ -1,14 +1,12 @@
-
-
-
-
-RouterOS-Scripts Logo Color Changer
+
+
+RouterOS Scripts :: Logo Color Changer
+
-
-
+
-RouterOS-Scripts Logo Color Changer
+Logo Color Changer
You want the logo for your own notifications? But you joined the
Telegram Group and want
@@ -36,5 +34,4 @@ for other browsers may differ.)
Set
a profile photo for your Telegram bot.
-
-
+
diff --git a/contrib/notification.html b/contrib/notification.html
index 49bf8bd..5530805 100644
--- a/contrib/notification.html
+++ b/contrib/notification.html
@@ -1,14 +1,12 @@
-
-
-
-
-RouterOS-Scripts Notification Generator
+
+
+RouterOS Scripts :: Notification Generator
+
-
-
+
-RouterOS-Scripts Notification Generator
+Notification Generator

@@ -31,5 +29,4 @@
Then right-click, click "Take Screenshot" and finally select the
notification and download it.
-
-
+
From b3412b2228f5a573f165ecb9246be5a144e76772 Mon Sep 17 00:00:00 2001
From: Christian Hesse
Date: Wed, 29 Oct 2025 15:35:14 +0100
Subject: [PATCH 5/7] contrib/{logo-color,notification}: add navigation
structure
---
contrib/logo-color.html | 6 ++++++
contrib/notification.html | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/contrib/logo-color.html b/contrib/logo-color.html
index f6b4a55..e6bf962 100644
--- a/contrib/logo-color.html
+++ b/contrib/logo-color.html
@@ -8,6 +8,8 @@
Logo Color Changer
+⬅️ Go back to main README
+
You want the logo for your own notifications? But you joined the
Telegram Group and want
something that differentiates? Color it!
@@ -34,4 +36,8 @@ for other browsers may differ.)
Set
a profile photo for your Telegram bot.
+
+
+⬅️ Go back to main README
+⬆️ Go back to top
diff --git a/contrib/notification.html b/contrib/notification.html
index 5530805..ee299a9 100644
--- a/contrib/notification.html
+++ b/contrib/notification.html
@@ -8,6 +8,8 @@
Notification Generator
+⬅️ Go back to main README
+
@@ -29,4 +31,8 @@
Then right-click, click "Take Screenshot" and finally select the
notification and download it.
+
+
+
⬅️ Go back to main README
+⬆️ Go back to top
From 68c2d1d1da743c698388264deb7c4a7d12b55248 Mon Sep 17 00:00:00 2001
From: Christian Hesse
Date: Wed, 29 Oct 2025 16:06:42 +0100
Subject: [PATCH 6/7] contrib/notification: update date format
---
contrib/notification.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/notification.html b/contrib/notification.html
index ee299a9..bdfa482 100644
--- a/contrib/notification.html
+++ b/contrib/notification.html
@@ -16,7 +16,7 @@
[MikroTik] ℹ️ Subject
Message
🔗 https://eworm.de/
- ⏰ This message was queued since oct/18/2022 18:30:48 and may be obsolete.
+ ⏰ This message was queued since 2025-10-29 16:06:18 and may be obsolete.
✂️ The message was too long and has been truncated, cut off 13%!
@@ -25,7 +25,7 @@
Subject:
Message:
Show link:
- Queued since
+ Queued since
Cut-off with percent
Then right-click, click "Take Screenshot" and finally select the
From 99170cc163994967349d6dab24e1784b6e002b65 Mon Sep 17 00:00:00 2001
From: Christian Hesse
Date: Wed, 29 Oct 2025 16:11:23 +0100
Subject: [PATCH 7/7] contrib/notification: format the values italic
---
contrib/notification.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/notification.html b/contrib/notification.html
index bdfa482..ac76668 100644
--- a/contrib/notification.html
+++ b/contrib/notification.html
@@ -16,8 +16,8 @@
[MikroTik] ℹ️ Subject
Message
🔗 https://eworm.de/
- ⏰ This message was queued since 2025-10-29 16:06:18 and may be obsolete.
- ✂️ The message was too long and has been truncated, cut off 13%!
+ ⏰ This message was queued since 2025-10-29 16:06:18 and may be obsolete.
+ ✂️ The message was too long and has been truncated, cut off 13%!