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-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 00:44:28 +00:00
|
|
|
window.userDurationEnabled = {{ .userDuration }};
|
|
|
|
window.userDurationDays = {{ .userDurationDays }};
|
|
|
|
window.userDurationHours = {{ .userDurationHours }};
|
|
|
|
window.userDurationMinutes = {{ .userDurationMinutes }};
|
|
|
|
window.userDurationMessage = {{ .userDurationMessage }};
|
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 }}
|