mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 09:24:21 +01:00
a56c491ee1
* few small cleanup in html template (avoid empty tbody, put id between quotes) * switch to tidylib to validate the html instead of the previous hack calling an external service (https://html5.validator.nu/) * remove the previous validator script * add exception for tidylib on empty <span> (these are required by bootstrap)
32 lines
1.1 KiB
Cheetah
32 lines
1.1 KiB
Cheetah
## -*- coding: utf-8 -*-
|
|
<%inherit file="navbar.tmpl"/>
|
|
<%block name="core">
|
|
<div class="row clearfix top-buffer bottom-buffer">
|
|
<div class="col-md-2 column">
|
|
</div>
|
|
<div class="col-md-12 column">
|
|
<div class="well well-sm">
|
|
<form method='POST' autocomplete="off" action='/adduser' role="form" class="form-signin" id="form">
|
|
<fieldset>
|
|
<legend>Fill new user's attributes:</legend>
|
|
${form | n}
|
|
</fieldset>
|
|
<fieldset>
|
|
<legend>Enable/Disable user's roles:</legend>
|
|
${roles | n}
|
|
</fieldset>
|
|
<div class="form-group">
|
|
<div class="input-group">
|
|
<button class="btn btn-default green" type="submit">
|
|
<span class="glyphicon glyphicon-plus-sign"></span> Add User</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<script type="text/javascript" src="/static/js/ppolicy.js"></script>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-2 column">
|
|
</div>
|
|
</div>
|
|
</%block>
|