Browse Source

adicionando informacao do ldap nos servidores

diagnosticos
Felipe Vieira 13 years ago
parent
commit
e26b7625a9
  1. 4
      sigi/templates/admin/diagnosticos/diagnostico/change_form.html
  2. 27
      sigi/templates/admin/servidores/servidor/change_form.html

4
sigi/templates/admin/diagnosticos/diagnostico/change_form.html

@ -1,6 +1,6 @@
{% extends 'admin/change_form.html' %} {% extends 'admin/change_form.html' %}
{% block extrahead %} {% block extrastyle %}
{{ block.super }} {{ block.super }}
<link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}css/admin/diagnosticos/diagnostico/change_form.css"> <link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}css/admin/diagnosticos/diagnostico/change_form.css">
{% endblock %} {% endblock %}

27
sigi/templates/admin/servidores/servidor/change_form.html

@ -0,0 +1,27 @@
{% extends 'admin/change_form.html' %}
{% block form_top %}
{% if adminform.form.instance.user %}
<fieldset class="module aligned">
<h2>Dados do servidor LDAP</h2>
<div class="form-row">
<div>
<label>Primeiro Nome:</label>
<p>{{adminform.form.instance.user.first_name}}</p>
</div>
</div>
<div class="form-row">
<div>
<label>Último Nome:</label>
<p>{{adminform.form.instance.user.last_name}}</p>
</div>
</div>
<div class="form-row">
<div>
<label>Email Principal:</label>
<p>{{adminform.form.instance.user.email}}</p>
</div>
</div>
</fieldset>
{% endif %}
{% endblock %}
Loading…
Cancel
Save