1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-22 09:24:21 +01:00

using html fieldset

This commit is contained in:
kakwa 2015-06-24 00:58:32 +02:00
parent 117d18bc92
commit 965ad84b7a
3 changed files with 17 additions and 6 deletions

View File

@ -6,10 +6,14 @@
<div class="col-md-12 column">
<div class="well well-sm">
<form method='POST' action='/adduser' role="form" class="form-signin" data-toggle="validator">
<h2 class="h3">Fill new user's attributes:</h2>
<fieldset>
<legend>Fill new user's attributes:</legend>
${form}
<h2 class="h3">Enable/Disable user's roles:</h2>
</fieldset>
<fieldset>
<legend>Enable/Disable user's roles:</legend>
${roles}
</fieldset>
<div class="form-group">
<div class="input-group">
<button class="btn btn-default green" type="submit">

View File

@ -6,12 +6,17 @@
<div class="col-md-12 column">
<div class="well well-sm">
<form method='POST' action='/modify' role="form" class="form-signin" data-toggle="validator">
<h2 class="h3">Modify user's attributes:</h2>
<fieldset>
<legend>Modify user's attributes:</legend>
${form}
<h2 class="h3">Enable/Disable user's roles:</h2>
</fieldset>
<fieldset>
<legend>Enable/Disable user's roles:</legend>
${roles}
</fieldset>
% if len(standalone_groups) != 0:
<h2 class="h3">Delete user's individual groups:</h2>
<fieldset>
<legend>Delete user's individual groups:</legend>
<table id="RecordTable" class="table table-hover table-condensed tablesorter">
<thead>
<tr>
@ -47,6 +52,7 @@
% endfor
</tbody>
</table>
</fieldset>
% endif
<div class="form-group">
<div class="input-group">

View File

@ -6,8 +6,9 @@
<div class="col-md-12 column">
<div class="well well-sm">
<form method='POST' action='/selfmodify' role="form" class="form-signin" data-toggle="validator">
<h2 class="h3">Modify your attributes:</h2>
<legend>Modify your attributes:</legend>
${form}
</fieldset>
<div class="form-group">
<div class="input-group">
<button type="submit" class="btn btn-default blue">