smallnet/templates/users.html

29 lines
814 B
HTML
Raw Normal View History

2015-11-04 12:46:20 -05:00
{% extends "base.html" %}
{% block title %}Usuarios{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block content %}
<div class="row"><h3>Usuarios de <code>dpto2</code>:</h3></div>
<div class="well well-lg">
<div class="users-tree">
{% for edges, username in users %}
<span>
{% if username == "" %}
&nbsp;&nbsp;<i>Ilúvatar</i>
{% else %}
<span class="edges">{{ edges|replace(" ","&nbsp;")|safe }}</span>
{{ username }}
{% endif %}
</span><br>
{% endfor %}
</div>
</div>
<div class="row"><a href="{{ url_for('admin') }}">Administrar usuarios</a></div>
<div class="row"><a href="{{ url_for('logout') }}">Cerrar sesión</a></div>
{% endblock %}