mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-14 06:10:10 +00:00
20 lines
828 B
HTML
20 lines
828 B
HTML
{{ define "form-base" }}
|
|
<script>
|
|
window.usernameEnabled = {{ .username }};
|
|
window.validationStrings = JSON.parse({{ .validationStrings }});
|
|
window.invalidPassword = "{{ .strings.reEnterPasswordInvalid }}";
|
|
window.URLBase = "{{ .urlBase }}";
|
|
window.code = "{{ .code }}";
|
|
window.language = "{{ .langName }}";
|
|
window.messages = JSON.parse({{ .notifications }});
|
|
window.confirmation = {{ .confirmation }};
|
|
window.userExpiryEnabled = {{ .userExpiry }};
|
|
window.userExpiryMonths = {{ .userExpiryMonths }};
|
|
window.userExpiryDays = {{ .userExpiryDays }};
|
|
window.userExpiryHours = {{ .userExpiryHours }};
|
|
window.userExpiryMinutes = {{ .userExpiryMinutes }};
|
|
window.userExpiryMessage = {{ .userExpiryMessage }};
|
|
</script>
|
|
<script src="js/form.js" type="module"></script>
|
|
{{ end }}
|