Skip to content

Commit

Permalink
using html fieldset
Browse files Browse the repository at this point in the history
  • Loading branch information
kakwa committed Jun 23, 2015
1 parent 117d18b commit 965ad84
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
8 changes: 6 additions & 2 deletions resources/templates/adduser.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
12 changes: 9 additions & 3 deletions resources/templates/modify.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -47,6 +52,7 @@
% endfor
</tbody>
</table>
</fieldset>
% endif
<div class="form-group">
<div class="input-group">
Expand Down
3 changes: 2 additions & 1 deletion resources/templates/selfmodify.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 965ad84

Please sign in to comment.