2020-10-22 16:50:40 +00:00
|
|
|
{{ define "form-base" }}
|
|
|
|
<script>
|
2020-12-07 22:46:17 +00:00
|
|
|
window.usernameEnabled = {{ .username }};
|
2021-01-18 22:06:50 +00:00
|
|
|
window.validationStrings = JSON.parse({{ .validationStrings }});
|
|
|
|
window.invalidPassword = "{{ .strings.reEnterPasswordInvalid }}";
|
2020-11-22 16:36:43 +00:00
|
|
|
window.URLBase = "{{ .urlBase }}";
|
2021-01-14 14:22:20 +00:00
|
|
|
window.code = "{{ .code }}";
|
2021-04-07 14:17:15 +00:00
|
|
|
window.language = "{{ .langName }}";
|
2021-01-25 18:01:18 +00:00
|
|
|
window.messages = JSON.parse({{ .notifications }});
|
2021-01-30 19:19:12 +00:00
|
|
|
window.confirmation = {{ .confirmation }};
|
2021-02-28 15:41:06 +00:00
|
|
|
window.userExpiryEnabled = {{ .userExpiry }};
|
2021-04-08 19:43:01 +00:00
|
|
|
window.userExpiryMonths = {{ .userExpiryMonths }};
|
2021-02-28 15:41:06 +00:00
|
|
|
window.userExpiryDays = {{ .userExpiryDays }};
|
|
|
|
window.userExpiryHours = {{ .userExpiryHours }};
|
|
|
|
window.userExpiryMinutes = {{ .userExpiryMinutes }};
|
|
|
|
window.userExpiryMessage = {{ .userExpiryMessage }};
|
2020-10-22 16:50:40 +00:00
|
|
|
</script>
|
2021-01-05 18:16:23 +00:00
|
|
|
<script src="js/form.js" type="module"></script>
|
2020-10-22 16:50:40 +00:00
|
|
|
{{ end }}
|