diff --git a/contrib/html.sh b/contrib/html.sh index f1ee70c1..bbd8ba86 100755 --- a/contrib/html.sh +++ b/contrib/html.sh @@ -2,12 +2,7 @@ set -e -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" +sed "s|__TITLE__|$(head -n1 "${1}")|" < "${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 18d13206..1b1dd03a 100644 --- a/contrib/html.sh.d/head.html +++ b/contrib/html.sh.d/head.html @@ -1,6 +1,15 @@ - -RouterOS Scripts :: __TITLE__ - - +RouterOS Scripts :: __TITLE__ + + + diff --git a/contrib/logo-color.d/style.css b/contrib/logo-color.d/style.css new file mode 100644 index 00000000..eb2ec6a1 --- /dev/null +++ b/contrib/logo-color.d/style.css @@ -0,0 +1,5 @@ +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 e6bf9621..17942cea 100644 --- a/contrib/logo-color.html +++ b/contrib/logo-color.html @@ -1,14 +1,14 @@ - - -RouterOS Scripts :: Logo Color Changer - - + + + + +RouterOS-Scripts Logo Color Changer + - + + -

Logo Color Changer

- -

⬅️ Go back to main README

+

RouterOS-Scripts Logo Color Changer

You want the logo for your own notifications? But you joined the Telegram Group and want @@ -36,8 +36,5 @@ 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/general/style.css b/contrib/notification.d/style.css similarity index 53% rename from contrib/general/style.css rename to contrib/notification.d/style.css index 0416e45e..648ea23c 100644 --- a/contrib/general/style.css +++ b/contrib/notification.d/style.css @@ -3,28 +3,6 @@ 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; @@ -52,16 +30,6 @@ 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/notification.html b/contrib/notification.html index ac766689..78750362 100644 --- a/contrib/notification.html +++ b/contrib/notification.html @@ -1,14 +1,14 @@ - - -RouterOS Scripts :: Notification Generator - - - - + + + + +RouterOS-Scripts Notification Generator + + + + -

Notification Generator

- -

⬅️ Go back to main README

+

RouterOS-Scripts Notification Generator

@@ -16,8 +16,8 @@

[MikroTik] ℹ️ Subject

Message
-

⏰ 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 oct/18/2022 18:30:48 and may be obsolete.

+

✂️ The message was too long and has been truncated, cut off 13%!

@@ -25,14 +25,11 @@

Subject:

Message:

Show link:

-

Queued since

+

Queued since

Cut-off with percent

Then right-click, click "Take Screenshot" and finally select the notification and download it.

-
- -

⬅️ Go back to main README
-⬆️ Go back to top

- + +