Browse Source

Redesign servant change_form for bootstrap

producao
Marcio Mazza 10 years ago
parent
commit
4ac8e18b64
  1. 54
      sigi/apps/servidores/templates/admin/servidores/servidor/change_form.html

54
sigi/apps/servidores/templates/admin/servidores/servidor/change_form.html

@ -2,25 +2,41 @@
{% block form_top %} {% block form_top %}
{% if adminform.form.instance.user %} {% if adminform.form.instance.user %}
<fieldset class="module aligned"> <fieldset style="background:transparent" id="fieldset-2" class="_module _aligned">
<h2>Dados do servidor LDAP</h2> <legend>
<div class="form-row"> Dados do LDAP
<div> </legend>
<label>Primeiro Nome:</label> <div class="fields">
<p>{{adminform.form.instance.user.first_name}}</p> <div class="row"><div class="control-group">
</div> <div class="col-md-12 form-group ">
</div> <div class="control-label col-md-3">
<div class="form-row"> <label>Primeiro Nome:</label>
<div> </div>
<label>Último Nome:</label> <div class="controls col-md-9">
<p>{{adminform.form.instance.user.last_name}}</p> <p class="form-control-static">{{adminform.form.instance.user.first_name}}</p>
</div> </div>
</div> </div>
<div class="form-row"> </div></div>
<div> <div class="row"><div class="control-group">
<label>Email Principal:</label> <div class="col-md-12 form-group ">
<p>{{adminform.form.instance.user.email}}</p> <div class="control-label col-md-3">
</div> <label>Último Nome:</label>
</div>
<div class="controls col-md-9">
<p class="form-control-static">{{adminform.form.instance.user.last_name}}</p>
</div>
</div>
</div></div>
<div class="row"><div class="control-group">
<div class="col-md-12 form-group ">
<div class="control-label col-md-3">
<label>Email Principal:</label>
</div>
<div class="controls col-md-9">
<p class="form-control-static">{{adminform.form.instance.user.email}}</p>
</div>
</div>
</div></div>
</div> </div>
</fieldset> </fieldset>
{% endif %} {% endif %}

Loading…
Cancel
Save