From 1e6e0646e256c4acb9f8470853d0699286af010e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 6 Mar 2023 16:54:41 +0100 Subject: add the notification generator --- contrib/notification.d/style.css | 39 +++++++++++++++++++++++++++++++++++++++ contrib/notification.html | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 contrib/notification.d/style.css create mode 100644 contrib/notification.html diff --git a/contrib/notification.d/style.css b/contrib/notification.d/style.css new file mode 100644 index 0000000..c07de89 --- /dev/null +++ b/contrib/notification.d/style.css @@ -0,0 +1,39 @@ +body { + font-family: fira-sans, sans; + font-size: 10pt; + background-color: transparent; +} +div.notification { + position: relative; + float: right; + width: 600px; + border: 3px outset #6c5d53; + /* border-radius: 5px; */ + padding: 10px; + background-color: #e6e6e6; +} +div.content { + padding-left: 60px; +} +img.logo { + float: left; + border-radius: 50%; +} +p.heading { + margin: 0px; + font-weight: bold; + text-decoration: underline; +} +p.hint { + display: none; +} +pre { + font-family: fira-mono, mono; + white-space: pre-wrap; +} +span.link { + color: #863600; +} +tt { + background-color: #e6e6e6; +} diff --git a/contrib/notification.html b/contrib/notification.html new file mode 100644 index 0000000..56cb612 --- /dev/null +++ b/contrib/notification.html @@ -0,0 +1,33 @@ + + + + +RouterOS-Scripts Notification Generator + + + + +

RouterOS-Scripts Notification Generator

+ +
+ +
+

[MikroTik] ℹ️ Subject

+
Message
+ +

⏰ 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%!

+
+
+ +

Hostname:

+

Subject:

+

Message:

+

Show link:

+

Queued since

+

Cut-off with percent

+ +

ℹ️ Open the inspector, select the div element, right click and select "Screenshot Node"!

+ + + -- cgit v1.2.3-70-g09d2