blind-monkeys / templates /register.html
deanpowers's picture
Domain migration to blindmonkeys.org (proxies, sitemap, zone IDs, PSI, links) + sideways Score Required
30ed22f
Raw History Blame Contribute Delete
6.76 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Create Account</title>
<link rel="stylesheet" href="/css/nav.css?v=4">
<style>
* { box-sizing: border-box; }
body { background: #0d1117; color: #e6edf3; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.card { background: #1e2329; border: 2px solid #30363d; border-radius: 14px; padding: 32px 28px; width: 100%; max-width: 440px; }
.brand { font-size: 22px; font-weight: 700; color: #f0b90b; margin: 0 0 4px; }
.tagline { font-size: 12px; color: #8b949e; margin: 0 0 24px; }
h1 { font-size: 20px; margin: 0 0 20px; }
label { display: block; font-size: 12px; color: #8b949e; margin-bottom: 6px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; }
input[type=text], input[type=email], input[type=password] {
width: 100%; padding: 11px 14px; background: #0d1117; border: 2px solid #30363d; border-radius: 8px;
color: #e6edf3; font-size: 15px; margin-bottom: 14px; font-family: inherit;
}
input:focus { outline: none; border-color: #f0b90b; }
.row { display: flex; gap: 12px; }
.row > div { flex: 1; }
.pw-wrap { position: relative; }
.pw-toggle { position: absolute; right: 10px; top: 8px; background: transparent; border: none; color: #8b949e; font-size: 16px; cursor: pointer; }
button[type=submit] {
width: 100%; padding: 12px; margin-top: 6px; background: #f0b90b; color: #0d1117; border: none; border-radius: 8px;
font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
}
button[type=submit]:hover { background: #ffca28; }
.error { background: #3a1a1a; border: 1px solid #f87171; color: #f87171; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.foot { text-align: center; margin-top: 18px; font-size: 13px; color: #8b949e; }
.foot a { color: #f0b90b; text-decoration: none; }
.honeypot { position: absolute; left: -9999px; }
.notice { font-size: 12px; color: #8b949e; margin-top: 12px; line-height: 1.5; }
</style>
<script defer src="https://edgemetry.dean-2b4.workers.dev/em.js" data-domain="blindmonkeys.org"></script>
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
</head>
<body>
<div class="card">
<div class="brand">πŸ™ˆ Blind Monkeys</div>
<div class="tagline"><span style="border-bottom:3px solid #ffffff;padding-bottom:2px;">Don't be a blind monkey.</span></div>
<h1>Create your account</h1>
{% if error %}<div class="error">{{ error }}</div>{% endif %}
<form method="POST" action="/register" autocomplete="off">
<input type="hidden" name="loaded_at" value="{{ loaded_at }}">
<div class="honeypot">
<label>Website</label>
<input type="text" name="website" tabindex="-1" autocomplete="off">
</div>
<div class="row">
<div>
<label>First name</label>
<input type="text" name="first_name" required maxlength="60">
</div>
<div>
<label>Last name</label>
<input type="text" name="last_name" required maxlength="60">
</div>
</div>
<label>Email</label>
<input type="email" name="email" required autocomplete="email" maxlength="200">
<label>Password</label>
<div class="pw-wrap">
<input type="password" name="password" id="pw" required minlength="10">
<button type="button" class="pw-toggle" onclick="togglePw('pw', this)">πŸ‘</button>
</div>
<label>Confirm password</label>
<div class="pw-wrap">
<input type="password" name="password_confirm" id="pw2" required minlength="10">
<button type="button" class="pw-toggle" onclick="togglePw('pw2', this)">πŸ‘</button>
</div>
<label>Message to admin <span style="color:#8b949e;font-weight:400;text-transform:none;letter-spacing:0;">(optional)</span></label>
<textarea name="reg_message" id="reg_message" rows="2" maxlength="80" placeholder="Why do you want access? (80 characters max)" style="width:100%;padding:11px 14px;background:#0d1117;border:2px solid #30363d;border-radius:8px;color:#e6edf3;font-size:15px;margin-bottom:6px;font-family:inherit;resize:vertical;"></textarea>
<div style="text-align:right;font-size:11px;color:#8b949e;margin-bottom:14px;"><span id="reg_msg_count">0</span> / 80</div>
<div class="notice">Minimum 10 characters, including a number or symbol. New accounts require admin approval before you can sign in.</div>
<label style="display:flex;align-items:flex-start;gap:10px;font-size:13px;color:#c9d1d9;text-transform:none;letter-spacing:0;font-weight:400;cursor:pointer;margin-bottom:14px;">
<input type="checkbox" name="agree_terms" id="agree_terms" required style="margin-top:3px;width:16px;height:16px;flex-shrink:0;cursor:pointer;">
<span>By submitting this form, you agree to our <a href="/terms/" target="_blank" style="color:#f0b90b;">Terms of Service</a> and <a href="/privacy/" target="_blank" style="color:#f0b90b;">Privacy Policy</a>.</span>
</label>
<button type="submit">Request Account</button>
</form>
<div class="foot">Already have an account? <a href="/login">Log in</a></div>
</div>
<script>
function togglePw(id, btn) {
var el = document.getElementById(id);
if (el.type === 'password') { el.type = 'text'; btn.textContent = 'πŸ™ˆ'; }
else { el.type = 'password'; btn.textContent = 'πŸ‘'; }
}
document.addEventListener('DOMContentLoaded', function() {
var msg = document.getElementById('reg_message');
var cnt = document.getElementById('reg_msg_count');
if (msg && cnt) {
msg.addEventListener('input', function() {
if (this.value.length > 80) this.value = this.value.slice(0, 80);
cnt.textContent = this.value.length;
});
}
});
</script>
<script>
window.__et = function(name, props) {
try {
if (typeof edgemetry === 'function') {
if (props) edgemetry(name, props); else edgemetry(name);
}
} catch(e) {}
};
</script>
<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true;
s1.src='https://embed.tawk.to/6ad326872ab00434d21793a2/1k54ic9h0';
s1.charset='UTF-8';
s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore(s1,s0);
})();
</script>
<!--End of Tawk.to Script-->
</body>
</html>