hns-email/templates/notifications.html
Nathan Woodburn 039a24bc64
All checks were successful
Build Docker / BuildImage (push) Successful in 54s
feat: Add initial code
2024-10-04 20:43:58 +10:00

33 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Notifications | HNS Login Email</title>
<link rel="icon" href="/assets/img/favicon.png" type="image/png">
<link rel="stylesheet" href="/assets/css/index.css">
</head>
<body>
<header style="display: inline;">
<h1>HNS Login Email</h1> <span style="float:right">{{email}} | <a href="/inbox">Inbox</a> | <a
href="/logout">Logout</a></span>
</header>
<div class="centre">
<form action="/notifications" method="post">
<!-- Discord webhook url -->
<label for="webhook">Discord Webhook URL</label>
<input type="text" name="webhook" placeholder="https://discord.com/api/webhooks/..." value="{{webhook}}">
<!-- Email -->
<br>
<label for="email">Email Notification</label>
<input type="email" name="email" placeholder="example@example.com" value="{{email_alert}}">
<br>
<input class="button" type="submit" value="Submit">
</form>
</div>
</body>
</html>