This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
neuf-userinfo/templates/private/profile.html
T
2011-11-30 01:53:47 +01:00

43 lines
1.2 KiB
HTML

{% extends "base.html" %}
{% block headinc %}
<script type="text/javascript" src="/static/js/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="/static/js/status.js"></script>
{% endblock %}
{%block header%}
{% include "nav.html" with active="profile" %}
{%endblock%}
{% block content %}
<section class="column">
<h2>Om deg</h2>
<ul>
<li><strong>Brukernavn:</strong> {{ldap_user.username}}</li>
<li><strong>Navn:</strong> {{ldap_user.full_name}}</li>
<li><strong>Mail:</strong> {{ldap_user.email}}</li>
</ul>
</section>
<section class="column">
<h2>Dine grupper</h2>
<ul>
{% if groups %}
<li>{{ private_group }}</li>
{% for group in groups %}
{% if group = "dns-aktiv" %}
<li title="Du har tilgang til foreningsmaskinene.">{{ group }}</li>
{% else %}
<li>{{ group }}</li>
{% endif %}
{% endfor %}
{% else %}
<li>Ingen grupper.</li>
{% endif %}
</ul>
</section>
<section class="column last">
<h2>Dine tjenester</h2>
<ul>
<li>Trådløst nettverk<span id="wireless_status"></span></li>
<li>Foreningsmaskiner<span id="client_status"></span></li>
</ul>
</section>
{%endblock%}