generated from nathanwoodburn/python-webserver-template
feat: Add initial code
All checks were successful
Build Docker / BuildImage (push) Successful in 54s
All checks were successful
Build Docker / BuildImage (push) Successful in 54s
This commit is contained in:
33
templates/notifications.html
Normal file
33
templates/notifications.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user