renamed "htname" to "zone"
added users to change their passwords (without admin access)
This commit is contained in:
parent
9266f5c789
commit
ef4f638797
5 changed files with 131 additions and 25 deletions
|
@ -8,9 +8,10 @@
|
|||
<head/>
|
||||
|
||||
<body>
|
||||
<h2>Manage user access for <i>${htname}</i></h2>
|
||||
<h2>Manage user access for <i>${zone}</i></h2>
|
||||
|
||||
<div py:if="error" class="error">${error}</div>
|
||||
<div py:if="success" class="success">${success}</div>
|
||||
|
||||
<h3>Add user</h3>
|
||||
<form name="add-passwd" action="" method="POST">
|
||||
|
@ -20,7 +21,7 @@
|
|||
<label for="password_add">Password:</label>
|
||||
<input type="password" size="20" name="password" id="password_add" />
|
||||
<input type="hidden" name="action" value="new" />
|
||||
<input type="hidden" name="htname" value="${htname}"/>
|
||||
<input type="hidden" name="zone" value="${zone}"/>
|
||||
<input type="submit" name="submit" value="Add user" />
|
||||
</form>
|
||||
|
||||
|
@ -37,7 +38,7 @@
|
|||
<label for="password_update">New password:</label>
|
||||
<input type="password" size="20" name="password" id="password_update" />
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input type="hidden" name="htname" value="${htname}"/>
|
||||
<input type="hidden" name="zone" value="${zone}"/>
|
||||
<input type="submit" name="submit" value="Change password" />
|
||||
</form>
|
||||
|
||||
|
@ -50,7 +51,7 @@
|
|||
<option py:for="username in usernames">${username}</option>
|
||||
</select>
|
||||
<input type="hidden" name="action" value="del" />
|
||||
<input type="hidden" name="htname" value="${htname}"/>
|
||||
<input type="hidden" name="zone" value="${zone}"/>
|
||||
<input type="submit" name="submit" value="Delete user" />
|
||||
</form>
|
||||
</py:if>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue