2021-03-30 21:41:28 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en" class="{{ .cssClass }}">
|
|
|
|
<head>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/bundle.css">
|
|
|
|
{{ template "header.html" . }}
|
|
|
|
<title>{{ .strings.passwordReset }} - jfa-go</title>
|
|
|
|
</head>
|
|
|
|
<body class="section">
|
|
|
|
{{ if .success }}
|
|
|
|
<div id="notification-box">
|
|
|
|
<span id="copy-notification" class="unfocused">{{ .strings.copied }}</span>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
<div class="page-container">
|
2021-12-31 00:22:28 +00:00
|
|
|
<div class="card ~neutral @low mb-4">
|
|
|
|
<span class="heading mb-4">
|
2021-03-30 21:41:28 +00:00
|
|
|
{{ if .success }}
|
|
|
|
{{ .strings.passwordReset }}
|
|
|
|
{{ else }}
|
|
|
|
{{ .strings.resetFailed }}
|
|
|
|
{{ end }}
|
|
|
|
</span>
|
2021-12-31 00:22:28 +00:00
|
|
|
<p class="content mb-4">
|
2021-03-30 21:41:28 +00:00
|
|
|
{{ if .success }}
|
2021-05-02 12:23:59 +00:00
|
|
|
{{ if .ombiEnabled }}
|
|
|
|
{{ .strings.youCanLoginOmbi }}
|
|
|
|
{{ else }}
|
2021-03-30 21:41:28 +00:00
|
|
|
{{ .strings.youCanLogin }}
|
2021-05-02 12:23:59 +00:00
|
|
|
{{ end }}
|
2021-03-30 21:41:28 +00:00
|
|
|
{{ else }}
|
|
|
|
{{ .strings.tryAgain }}
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
{{ if .success }}
|
|
|
|
<aside class="aside ~warning">
|
|
|
|
{{ .strings.changeYourPassword }}
|
|
|
|
</aside>
|
2021-12-31 00:22:28 +00:00
|
|
|
<span class="button ~urge @low full-width center supra p-4 mt-4" id="pin" title="{{ .strings.copy }}">{{ .pin }}</span>
|
2021-03-30 21:41:28 +00:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
<i class="content">{{ .contactMessage }}</i>
|
|
|
|
</div>
|
2021-06-07 12:46:46 +00:00
|
|
|
<script src="{{ .urlBase }}/js/pwr-pin.js" type="module"></script>
|
2021-03-30 21:41:28 +00:00
|
|
|
</body>
|
|
|
|
</html>
|