lain.church-fe/static/account.html
2019-01-30 16:14:59 +11:00

50 lines
1.3 KiB
HTML

<head>
<style>
#redeem {
display: none;
}
#redeem:target {
display:block;
}
#gencode {
display: none;
}
#gencode:target {
display:block;
}
#changepass {
display: none;
}
#changepass:target {
display:block;
}
</style>
</head>
<body>
<a href="#redeem">Redeem invite code</a> <a href="#gencode">Generate invite code</a> <a href="#changepass">Change password</a>
<div id="redeem">
<form action="/redeemcode.cgi" method="post">
Invite code: <input type="text" name="key"><br>
Username: <input type="text" name="username"><br>
Password: <input type="password" name="password"><br>
Email: <input type="text" name="email"><br>
<input type="submit" value="Redeem">
</form>
</div>
<div id="gencode">
<form action="/gencode.cgi" method="post">
Username: <input type="text" name="username"><br>
Password: <input type="password" name="password"><br>
<input type="submit" value="Generate code">
</form>
</div>
<div id="changepass">
<form action="/changepass.cgi" method="post">
Username: <input type="text" name="username"><br>
Password: <input type="password" name="password"><br>
New Password: <input type="password" name="newpass"><br>
<input type="submit" value="Change password">
</form>
</div>
</body>