2023-03-06 15:54:41 +00:00
|
|
|
|
<!DOCTYPE html>
|
2023-03-29 13:22:13 +00:00
|
|
|
|
<html lang="en">
|
2023-03-06 15:54:41 +00:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<title>RouterOS-Scripts Notification Generator</title>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="notification.d/style.css">
|
2023-03-29 13:35:07 +00:00
|
|
|
|
<script src="notification.d/script.js"></script>
|
2023-03-06 15:54:41 +00:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<h1>RouterOS-Scripts Notification Generator</h1>
|
|
|
|
|
|
|
|
|
|
<div class="notification">
|
2023-03-29 13:22:13 +00:00
|
|
|
|
<img src="../logo.svg" alt="logo" class="logo" width=48 height=48>
|
2023-03-06 15:54:41 +00:00
|
|
|
|
<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://eworm.de/</span></p>
|
|
|
|
|
<p id="queued" class="hint">⏰ This message was queued since <span id="queued-since">oct/18/2022 18:30:48</span> and may be obsolete.</p>
|
|
|
|
|
<p id="cut" class="hint">✂️ The message was too long and has been truncated, cut off <span id="cut-percent">13</span>%!</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<p>Hostname: <input type="text" value="MikroTik" onchange="update(this, 'hostname')"></p>
|
2023-03-29 13:22:13 +00:00
|
|
|
|
<p>Subject: <input type="text" size=50 value="ℹ️ Subject" onchange="update(this, 'subject')"></p>
|
2023-03-06 15:54:41 +00:00
|
|
|
|
<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://eworm.de/" onchange="update(this, 'link-text')"></p>
|
|
|
|
|
<p><input type="checkbox" onclick="visible(this, 'queued')"> Queued since <input type="text" value="oct/18/2022 18:30:48" 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>
|
|
|
|
|
|
2023-05-26 08:07:37 +00:00
|
|
|
|
<p>Then right-click, click "<i>Take Screenshot</i>" and finally select the
|
|
|
|
|
notification and download it.</p>
|
2023-03-06 15:54:41 +00:00
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|