1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-25 18:54:29 +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="col-md-12 column">
<div class="well well-sm"> <div class="well well-sm">
<form method='POST' action='/adduser' role="form" class="form-signin" data-toggle="validator"> <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} ${form}
<h2 class="h3">Enable/Disable user's roles:</h2> </fieldset>
<fieldset>
<legend>Enable/Disable user's roles:</legend>
${roles} ${roles}
</fieldset>
<div class="form-group"> <div class="form-group">
<div class="input-group"> <div class="input-group">
<button class="btn btn-default green" type="submit"> <button class="btn btn-default green" type="submit">

View File

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

View File

@ -6,8 +6,9 @@
<div class="col-md-12 column"> <div class="col-md-12 column">
<div class="well well-sm"> <div class="well well-sm">
<form method='POST' action='/selfmodify' role="form" class="form-signin" data-toggle="validator"> <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} ${form}
</fieldset>
<div class="form-group"> <div class="form-group">
<div class="input-group"> <div class="input-group">
<button type="submit" class="btn btn-default blue"> <button type="submit" class="btn btn-default blue">