]> code.octet-stream.net Git - broadcaster/blobdiff - broadcaster-server/templates/change_password.html
Add licence, etc.
[broadcaster] / broadcaster-server / templates / change_password.html
diff --git a/broadcaster-server/templates/change_password.html b/broadcaster-server/templates/change_password.html
new file mode 100644 (file)
index 0000000..431e2a4
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Broadcaster</title>
+  </head>
+  <body>
+    <main>
+      <h1>Change Password</h1>
+      {{if ne .Message ""}}
+      <p><b>{{.Message}}</b></p>
+      {{end}}
+      {{if .ShowForm}}
+      <form action="/change-password" method="post">
+        <label for="oldPassword">Old Password:</label><br>
+        <input type="password" id="oldPassword" name="oldPassword"><br>
+        <label for="newPassword">New Password:</label><br>
+        <input type="password" id="newPassword" name="newPassword"><br>
+        <input type="submit" value="Change Password">
+      </form>
+      {{end}}
+    </main>
+  </body>
+</html>