diff options
Diffstat (limited to 'contrib/notification.html')
| -rw-r--r-- | contrib/notification.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/contrib/notification.html b/contrib/notification.html new file mode 100644 index 00000000..baa659c3 --- /dev/null +++ b/contrib/notification.html @@ -0,0 +1,57 @@ +<!DOCTYPE html><html lang="en"> +<!-- static html //--> +<head><meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<title>RouterOS Scripts :: Notification Generator</title> +<link rel="stylesheet" type="text/css" href="../general/style.css"> +<link rel="icon" type="image/png" href="../logo.png"> +<script src="notification.d/script.js"></script> +</head><body> + +<table><tr> + <td><img src="../general/eworm-meadow.avif" alt="eworm on meadow" /></td> + <td><img src="../general/qr-code.png" alt="QR code: rsc.eworm.de" /></td> + <td class="head"><span class="top">RouterOS Scripts</span><br /> + <span class="bottom">a collection of scripts for MikroTik RouterOS</span></td> +</tr></table> +<hr /> + +<h1>Notification Generator</h1> + +<!-- badges here //--> + +<p><a href="../README.md">⬅️ Go back to main README</a></p> + +<blockquote style="/* display */"><p>💡️ <strong>Hint</strong>: This site or links +on it may be broken on code hosting sites. Use +<a href="https://rsc.eworm.de/main/contrib/notification.html">Notification Generator</a> +instead.</p></blockquote> + +<div class="notification"> + <img src="../logo.svg" alt="logo" class="logo" width=48 height=48> + <div class="content"> + <p id="heading" class="heading">[<span id="hostname">MikroTik</span>] <span id="subject">ℹ️ Subject</span></p> + <pre id="message">Message</pre> + <p id="link" class="hint">🔗 <span id="link-text" class="link">https://rsc.eworm.de/</span></p> + <p id="queued" class="hint">⏰ This message was queued since <i><span id="queued-since">2025-10-29 16:06:18</span></i> and may be obsolete.</p> + <p id="cut" class="hint">✂️ The message was too long and has been truncated, cut off <i><span id="cut-percent">13</span>%</i>!</p> + </div> +</div> + +<p>Hostname: <input type="text" value="MikroTik" onchange="update(this, 'hostname')"></p> +<p>Subject: <input type="text" size=50 value="ℹ️ Subject" onchange="update(this, 'subject')"></p> +<p>Message: <textarea id="w3review" name="w3review" rows="4" cols="50" onchange="update(this, 'message')">Message</textarea></p> +<p><input type="checkbox" onclick="visible(this, 'link')"> Show link: <input type="text" value="https://rsc.eworm.de/" onchange="update(this, 'link-text')"></p> +<p><input type="checkbox" onclick="visible(this, 'queued')"> Queued since <input type="text" value="2025-10-29 16:06:18" onchange="update(this, 'queued-since')"></p> +<p><input type="checkbox" onclick="visible(this, 'cut')"> Cut-off with <input type="number" min=1 max=99 value=13 onchange="update(this, 'cut-percent')"> percent</p> + +<p>Then right-click, click "<i>Take Screenshot</i>" and finally select the +notification and download it.</p> + +<hr /> + +<p><a href="../README.md">⬅️ Go back to main README</a><br/> +<a href="#top">⬆️ Go back to top</a></p> + +<p class="foot">Copyright © 2013-2025 Christian Hesse <mail@eworm.de></p> + +</body></html> |