80 lines
3.1 KiB
HTML
80 lines
3.1 KiB
HTML
|
{{define "title"}}Please complete your profile{{end}}
|
||
|
{{define "content"}}
|
||
|
<div class="container">
|
||
|
<section class="hero is-light is-bold">
|
||
|
<div class="hero-body">
|
||
|
<div class="container">
|
||
|
<h1 class="title">
|
||
|
<i class="fa fa-address-card mr-2"></i>
|
||
|
Please complete your profile
|
||
|
</h1>
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
|
||
|
<div class="block p-4">
|
||
|
<div class="columns is-centered">
|
||
|
<div class="column is-half">
|
||
|
|
||
|
<div class="card" style="width: 100%; max-width: 640px">
|
||
|
<header class="card-header has-background-link">
|
||
|
<p class="card-header-title has-text-light">
|
||
|
<span class="icon"><i class="fa-regular fa-calendar mr-2"></i></span>
|
||
|
Your birthdate is requested
|
||
|
</p>
|
||
|
</header>
|
||
|
<div class="card-content content">
|
||
|
|
||
|
<form action="/settings/age-gate" method="POST">
|
||
|
{{InputCSRF}}
|
||
|
|
||
|
<p>
|
||
|
To continue using {{PrettyTitle}}, please enter your date of birth below so we can
|
||
|
store it in your profile settings. Going forward, we are asking for this on all new
|
||
|
account signups but your account was created before we began doing so, and it is
|
||
|
needed now.
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
Your birthdate is <strong>not</strong> displayed to other members on this site, and
|
||
|
is used only to show your current age on your profile page.
|
||
|
<strong>Please enter your correct birthdate.</strong>
|
||
|
</p>
|
||
|
|
||
|
<div class="field block">
|
||
|
<label class="label" for="dob">Date of birth:</label>
|
||
|
<input type="date" class="input"
|
||
|
placeholder="password"
|
||
|
name="dob"
|
||
|
id="dob"
|
||
|
required>
|
||
|
</div>
|
||
|
|
||
|
<div class="field has-text-centered">
|
||
|
<button type="submit" class="button is-success">
|
||
|
Save and continue
|
||
|
</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
window.addEventListener("DOMContentLoaded", (event) => {
|
||
|
let $file = document.querySelector("#file"),
|
||
|
$fileName = document.querySelector("#fileName");
|
||
|
|
||
|
$file.addEventListener("change", function() {
|
||
|
let file = this.files[0];
|
||
|
$fileName.innerHTML = file.name;
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
{{end}}
|