|
|
|
@ -3,14 +3,14 @@
|
|
|
|
|
<head>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/base.css">
|
|
|
|
|
{{ template "header.html" . }}
|
|
|
|
|
<title>{{ .lang.pageTitle }}</title>
|
|
|
|
|
<title>{{ .strings.pageTitle }}</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body class="max-w-full overflow-x-hidden section">
|
|
|
|
|
<div id="modal-success" class="modal">
|
|
|
|
|
<div class="modal-content card">
|
|
|
|
|
<span class="heading mb-1">{{ .lang.successHeader }}</span>
|
|
|
|
|
<span class="heading mb-1">{{ .strings.successHeader }}</span>
|
|
|
|
|
<p class="content mb-1">{{ .successMessage }}</p>
|
|
|
|
|
<a class="button ~urge !normal full-width center supra submit" href="{{ .jfLink }}" id="create-success-button">{{ .lang.successContinueButton }}</a>
|
|
|
|
|
<a class="button ~urge !normal full-width center supra submit" href="{{ .jfLink }}" id="create-success-button">{{ .strings.successContinueButton }}</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="notification-box"></div>
|
|
|
|
@ -27,34 +27,34 @@
|
|
|
|
|
<div class="page-container">
|
|
|
|
|
<div class="card ~neutral !low">
|
|
|
|
|
<div class="row baseline">
|
|
|
|
|
<span class="col heading">{{ .lang.createAccountHeader }}</span>
|
|
|
|
|
<span class="col heading">{{ .strings.createAccountHeader }}</span>
|
|
|
|
|
<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">
|
|
|
|
|
{{ .lang.username }}
|
|
|
|
|
<input type="text" class="input ~neutral !high mt-half mb-1" placeholder="{{ .lang.username }}" id="create-username" aria-label="{{ .lang.username }}">
|
|
|
|
|
{{ .strings.username }}
|
|
|
|
|
<input type="text" class="input ~neutral !high mt-half mb-1" placeholder="{{ .strings.username }}" id="create-username" aria-label="{{ .strings.username }}">
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
|
|
<label class="label supra" for="create-email">{{ .lang.emailAddress }}</label>
|
|
|
|
|
<input type="email" class="input ~neutral 1high mt-half mb-1" placeholder="{{ .lang.emailAddress }}" id="create-email" aria-label="{{ .lang.emailAddress }}" value="{{ .email }}">
|
|
|
|
|
<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 }}">
|
|
|
|
|
|
|
|
|
|
<label class="label supra" for="create-password">{{ .lang.password }}</label>
|
|
|
|
|
<input type="password" class="input ~neutral 1high mt-half mb-1" placeholder="{{ .lang.password }}" id="create-password" aria-label="{{ .lang.password }}">
|
|
|
|
|
<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 }}">
|
|
|
|
|
|
|
|
|
|
<label class="label supra" for="create-reenter-password">{{ .lang.reEnterPassword }}</label>
|
|
|
|
|
<input type="password" class="input ~neutral 1high mt-half mb-1" placeholder="{{ .lang.password }}" id="create-reenter-password" aria-label="{{ .lang.reEnterPassword }}">
|
|
|
|
|
<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 }}">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="submit" class="unfocused">
|
|
|
|
|
<span class="button ~urge !normal full-width center supra submit">{{ .lang.createAccountButton }}</span>
|
|
|
|
|
<span class="button ~urge !normal full-width center supra submit">{{ .strings.createAccountButton }}</span>
|
|
|
|
|
</label>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col">
|
|
|
|
|
<div class="card ~neutral !normal">
|
|
|
|
|
<span class="label supra" for="inv-uses">{{ .lang.passwordRequirementsHeader }}</span>
|
|
|
|
|
<span class="label supra" for="inv-uses">{{ .strings.passwordRequirementsHeader }}</span>
|
|
|
|
|
<ul>
|
|
|
|
|
{{ range $key, $value := .requirements }}
|
|
|
|
|
<li class="" id="requirement-{{ $key }}" min="{{ $value }}">
|
|
|
|
@ -70,9 +70,6 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<script>
|
|
|
|
|
window.validationStrings = {{ .lang.validationStrings }};
|
|
|
|
|
</script>
|
|
|
|
|
{{ template "form-base" . }}
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|