mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-26 11:38:36 +02:00
contrib/notification.html: add and load the script
This commit is contained in:
parent
9d823448f6
commit
3d0107ed2c
2 changed files with 7 additions and 0 deletions
6
contrib/notification.d/script.js
Normal file
6
contrib/notification.d/script.js
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
function visible(cb, element) {
|
||||||
|
document.getElementById(element).style.display = cb.checked ? "block" : "none";
|
||||||
|
}
|
||||||
|
function update(cb, element) {
|
||||||
|
document.getElementById(element).innerHTML = cb.value;
|
||||||
|
}
|
|
@ -4,6 +4,7 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>RouterOS-Scripts Notification Generator</title>
|
<title>RouterOS-Scripts Notification Generator</title>
|
||||||
<link rel="stylesheet" type="text/css" href="notification.d/style.css">
|
<link rel="stylesheet" type="text/css" href="notification.d/style.css">
|
||||||
|
<script src="notification.d/script.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue