mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-05 09:50:11 +00:00
Harvey Tindall
0a71d5b216
For #103. Enable in Settings > Password Resets. Also changes the user's ombi password.
46 lines
1.7 KiB
HTML
46 lines
1.7 KiB
HTML
<!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 !normal mb-1">
|
|
<span class="heading mb-1">
|
|
{{ if .success }}
|
|
{{ .strings.passwordReset }}
|
|
{{ else }}
|
|
{{ .strings.resetFailed }}
|
|
{{ end }}
|
|
</span>
|
|
<p class="content mb-1">
|
|
{{ 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 !normal full-width center supra p-1 mt-1" 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>
|