renamed "htname" to "zone"
added users to change their passwords (without admin access)
This commit is contained in:
parent
4c7ed4b7be
commit
d58d3c35ca
5 changed files with 131 additions and 25 deletions
39
templates/password_change.html
Normal file
39
templates/password_change.html
Normal file
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html xml:lang="de" lang="de"
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:py="http://genshi.edgewall.org/">
|
||||
<xi:include href="layout.html" />
|
||||
|
||||
<head/>
|
||||
|
||||
<body>
|
||||
<h2>Change user password</h2>
|
||||
|
||||
<div py:if="error" class="error">${error}</div>
|
||||
<div py:if="success" class="success">${success}</div>
|
||||
|
||||
<form name="update-passwd" action="password" method="POST">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td><label for="zone">Zone:</label></td>
|
||||
<td><input type="text" size="20" name="zone" id="zone" /></td>
|
||||
</tr><tr>
|
||||
<td><label for="username">User name:</label></td>
|
||||
<td><input type="text" size="20" name="username" id="username" /></td>
|
||||
</tr><tr>
|
||||
<td><label for="old_password">Old password:</label></td>
|
||||
<td><input type="password" size="20" name="old_password" id="old_password" /></td>
|
||||
</tr><tr>
|
||||
<td><label for="new_password">New password:</label></td>
|
||||
<td><input type="password" size="20" name="new_password" id="new_password" /></td>
|
||||
</tr><tr>
|
||||
<td><label for="new_password2">New password (repeat):</label></td>
|
||||
<td><input type="password" size="20" name="new_password2" id="new_password2" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="submit" name="submit" value="Change password" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue