aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-03-29 15:22:13 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-03-29 15:30:21 +0200
commit9d823448f6f3bfe00a6c8a44d151e79fb9a41ff4 (patch)
treed6c5a4a106f668f7c8f0073365c4594e08b3e640 /contrib
parent814fb7197fcd4587c97e1699c356c7e96df5a95c (diff)
contrib/notification.html: fix warnings and errors
Checked with W3C validator: https://validator.w3.org/
Diffstat (limited to 'contrib')
-rw-r--r--contrib/notification.d/style.css3
-rw-r--r--contrib/notification.html8
2 files changed, 6 insertions, 5 deletions
diff --git a/contrib/notification.d/style.css b/contrib/notification.d/style.css
index c07de89..f4b34df 100644
--- a/contrib/notification.d/style.css
+++ b/contrib/notification.d/style.css
@@ -34,6 +34,7 @@ pre {
span.link {
color: #863600;
}
-tt {
+span.tag {
+ font-family: monospace;
background-color: #e6e6e6;
}
diff --git a/contrib/notification.html b/contrib/notification.html
index 56cb612..e71c71b 100644
--- a/contrib/notification.html
+++ b/contrib/notification.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="UTF-8">
<title>RouterOS-Scripts Notification Generator</title>
@@ -10,7 +10,7 @@
<h1>RouterOS-Scripts Notification Generator</h1>
<div class="notification">
- <img src="../logo.svg" class="logo" width=48 height=48>
+ <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>
@@ -21,13 +21,13 @@
</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>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://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>
-<p>ℹ️ Open the inspector, select the <tt>div</tt> element, right click and select "<i>Screenshot Node</i>"!</p>
+<p>ℹ️ Open the inspector, select the <span class="tag">div</span> element, right click and select "<i>Screenshot Node</i>"!</p>
</body>
</html>