codekasten/htman/templates/password_change.html

46 lines
1.6 KiB
HTML
Raw Normal View History

<!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>
2021-02-10 02:32:09 +01:00
<div py:if="error" class="alert alert-danger" role="alert">${error}</div>
<div py:if="success" class="alert alert-success" role="alert">${success}</div>
2021-02-10 02:32:09 +01:00
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-4 col-sm-offset-3 col-md-offset-4">
<form name="update-passwd" action="password" method="POST">
2021-02-10 02:32:09 +01:00
<div class="form-group">
<label for="zone">Wiki:</label>
<input type="text" name="zone" id="zone" class="form-control" placeholder="e.g. mywiki"/>
</div>
<div class="form-group">
<label for="username">User name:</label>
<input type="text" name="username" id="username" class="form-control"/>
</div>
<div class="form-group">
<label for="old_password">Old password:</label>
<input type="password" name="old_password" id="old_password" class="form-control"/>
</div>
<div class="form-group">
<label for="new_password">New password:</label>
<input type="password" name="new_password" id="new_password" class="form-control"/>
</div>
<div class="form-group">
<label for="new_password2">New password (repeat):</label>
<input type="password" name="new_password2" id="new_password2" class="form-control"/>
</div>
<button type="submit" name="submit" class="btn btn-primary">Change password</button>
</form>
2021-02-10 02:32:09 +01:00
</div>
</div>
</body>
</html>