diff options
author | Markus Krogh <markus@nordu.net> | 2018-06-08 08:01:06 +0200 |
---|---|---|
committer | Markus Krogh <markus@nordu.net> | 2018-06-08 08:01:06 +0200 |
commit | fc2455cdbf8c64c98a8f7104ae7e7acdcff1337c (patch) | |
tree | a80e94c6bbe7fbd768379dd940a269ae0920e744 /templates/changepw.html | |
parent | 16fe3880782e38a1adaa157f26b788049bcc3205 (diff) |
Go impl of pwman, first draft
Diffstat (limited to 'templates/changepw.html')
-rw-r--r-- | templates/changepw.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/changepw.html b/templates/changepw.html new file mode 100644 index 0000000..a7c1dc6 --- /dev/null +++ b/templates/changepw.html @@ -0,0 +1,28 @@ +{{ define "title" }}Change {{.Pwtype}} password{{ end }} + +{{ define "content" }} +<form method="post" autocomplete="off" class="column"> + <h2>Change {{ .Pwtype }} password</h2> + <p>When thinking of a new password you need to remember to use:</p> + <ul class="indented"> + <li>no fewer than ten characters</li> + <li>at least one upper case and one lower case letter</li> + <li>three or more numbers or special characters i.e. <pre>,.][!@#$%^&*?_()-</pre></li> + </ul> + <br> + {{ .CsrfField }} + <label class="form-element-wrapper">New password + <input type="password" name="new_password" class="form-element form-field" /> + </label> + <label class="form-element-wrapper">Repeat password + <input type="password" name="new_password_again" class="form-element form-field" /> + </label> + <div class="form-element-wrapper"> + <input type="submit" value="Change password" class="form-element form-button" /> + </div> +</form> + + <div class="column full"> + <a href=".">Back</a> + </div> +{{ end }} |