2021-01-05 18:16:23 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en" class="{{ .cssClass }}">
|
|
|
|
<head>
|
2021-01-23 18:53:14 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="css/bundle.css">
|
2021-01-05 18:16:23 +00:00
|
|
|
{{ template "header.html" . }}
|
2021-01-18 22:06:50 +00:00
|
|
|
<title>{{ .strings.pageTitle }}</title>
|
2021-01-05 18:16:23 +00:00
|
|
|
</head>
|
|
|
|
<body class="max-w-full overflow-x-hidden section">
|
|
|
|
<div id="modal-success" class="modal">
|
|
|
|
<div class="modal-content card">
|
2021-01-18 22:06:50 +00:00
|
|
|
<span class="heading mb-1">{{ .strings.successHeader }}</span>
|
2021-01-05 18:16:23 +00:00
|
|
|
<p class="content mb-1">{{ .successMessage }}</p>
|
2021-01-18 22:06:50 +00:00
|
|
|
<a class="button ~urge !normal full-width center supra submit" href="{{ .jfLink }}" id="create-success-button">{{ .strings.successContinueButton }}</a>
|
2021-01-05 18:16:23 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="notification-box"></div>
|
2021-01-11 19:17:43 +00:00
|
|
|
<span class="dropdown" tabindex="0" id="lang-dropdown">
|
|
|
|
<span class="button ~urge dropdown-button">
|
|
|
|
<i class="ri-global-line"></i>
|
|
|
|
<span class="ml-1 chev"></span>
|
|
|
|
</span>
|
|
|
|
<div class="dropdown-display">
|
|
|
|
<div class="card ~neutral !low" id="lang-list">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
2021-01-05 18:16:23 +00:00
|
|
|
<div class="page-container">
|
|
|
|
<div class="card ~neutral !low">
|
|
|
|
<div class="row baseline">
|
2021-01-18 22:06:50 +00:00
|
|
|
<span class="col heading">{{ .strings.createAccountHeader }}</span>
|
2021-01-05 18:16:23 +00:00
|
|
|
<span class="col subheading"> {{ .helpMessage }}</span>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<form class="card ~neutral !normal" id="form-create" href="">
|
|
|
|
<label class="label supra">
|
2021-01-18 22:06:50 +00:00
|
|
|
{{ .strings.username }}
|
|
|
|
<input type="text" class="input ~neutral !high mt-half mb-1" placeholder="{{ .strings.username }}" id="create-username" aria-label="{{ .strings.username }}">
|
2021-01-05 18:16:23 +00:00
|
|
|
</label>
|
|
|
|
|
2021-01-18 22:06:50 +00:00
|
|
|
<label class="label supra" for="create-email">{{ .strings.emailAddress }}</label>
|
|
|
|
<input type="email" class="input ~neutral 1high mt-half mb-1" placeholder="{{ .strings.emailAddress }}" id="create-email" aria-label="{{ .strings.emailAddress }}" value="{{ .email }}">
|
2021-01-05 18:16:23 +00:00
|
|
|
|
2021-01-18 22:06:50 +00:00
|
|
|
<label class="label supra" for="create-password">{{ .strings.password }}</label>
|
|
|
|
<input type="password" class="input ~neutral 1high mt-half mb-1" placeholder="{{ .strings.password }}" id="create-password" aria-label="{{ .strings.password }}">
|
2021-01-05 18:16:23 +00:00
|
|
|
|
2021-01-18 22:06:50 +00:00
|
|
|
<label class="label supra" for="create-reenter-password">{{ .strings.reEnterPassword }}</label>
|
|
|
|
<input type="password" class="input ~neutral 1high mt-half mb-1" placeholder="{{ .strings.password }}" id="create-reenter-password" aria-label="{{ .strings.reEnterPassword }}">
|
2021-01-05 18:16:23 +00:00
|
|
|
<label>
|
|
|
|
<input type="submit" class="unfocused">
|
2021-01-18 22:06:50 +00:00
|
|
|
<span class="button ~urge !normal full-width center supra submit">{{ .strings.createAccountButton }}</span>
|
2021-01-05 18:16:23 +00:00
|
|
|
</label>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="col">
|
|
|
|
<div class="card ~neutral !normal">
|
2021-01-18 22:06:50 +00:00
|
|
|
<span class="label supra" for="inv-uses">{{ .strings.passwordRequirementsHeader }}</span>
|
2021-01-05 18:16:23 +00:00
|
|
|
<ul>
|
|
|
|
{{ range $key, $value := .requirements }}
|
|
|
|
<li class="" id="requirement-{{ $key }}" min="{{ $value }}">
|
|
|
|
<span class="badge lg ~positive requirement-valid"></span> <span class="content requirement-content"></span>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2021-01-09 00:07:19 +00:00
|
|
|
{{ if .contactMessage }}
|
2021-01-05 18:16:23 +00:00
|
|
|
<aside class="col aside sm ~info">{{ .contactMessage }}</aside>
|
2021-01-09 00:07:19 +00:00
|
|
|
{{ end }}
|
2021-01-05 18:16:23 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ template "form-base" . }}
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|