mirror of https://github.com/hrfee/jfa-go
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.7 KiB
46 lines
1.7 KiB
<!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">
|
|
<div class="card ~neutral @low mb-4">
|
|
<span class="heading mb-4">
|
|
{{ if .success }}
|
|
{{ .strings.passwordReset }}
|
|
{{ else }}
|
|
{{ .strings.resetFailed }}
|
|
{{ end }}
|
|
</span>
|
|
<p class="content mb-4">
|
|
{{ if .success }}
|
|
{{ if .ombiEnabled }}
|
|
{{ .strings.youCanLoginOmbi }}
|
|
{{ else }}
|
|
{{ .strings.youCanLogin }}
|
|
{{ end }}
|
|
{{ else }}
|
|
{{ .strings.tryAgain }}
|
|
{{ end }}
|
|
</p>
|
|
{{ if .success }}
|
|
<aside class="aside ~warning">
|
|
{{ .strings.changeYourPassword }}
|
|
</aside>
|
|
<span class="button ~urge @low full-width center supra p-4 mt-4" id="pin" title="{{ .strings.copy }}">{{ .pin }}</span>
|
|
{{ end }}
|
|
</div>
|
|
<i class="content">{{ .contactMessage }}</i>
|
|
</div>
|
|
<script src="{{ .urlBase }}/js/pwr-pin.js" type="module"></script>
|
|
</body>
|
|
</html>
|