Project

General

Profile

Download (1.02 KB) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / templates / calebasse / homepage.html @ 54318d2c

1 c15cd5d6 Benjamin Dauvergne
{% extends "calebasse/base.html" %}
2
{% load url from future %}
3
4
{% block page-title %}
5
APS42 - Accueil
6
{% endblock %}
7
8
{% block header %}
9
{{ block.super }}
10
<span>{{service_name}}</span>
11
{% endblock %}
12
13
{% block appbar %}
14
  <h2>Bienvenue</h2>
15
{% endblock %}
16
17
{% block content %}
18
    <div id="user-info">
19 589dcfbd Frédéric Péters
      Bienvenue sur le logiciel de gestion de l'Association Prévention Soins.
20
      (<a href="{% url 'password_change' %}">changer votre mot de passe</a>)
21 c15cd5d6 Benjamin Dauvergne
    </div>
22
23
    <div id="service-links">
24
      {% for name,slug in services %}
25
      <a class="{{ slug }}{% if slug == service %} active{% endif %}"
26
        href="{% url 'homepage' service=slug %}">{{ name }}</a>
27
      {% endfor %}
28
    </div>
29
30
    <ul id="apps">
31 87abc503 Mikaël Ates
      {% for name, slug, restriction in applications %}
32 2e7629a1 Mikaël Ates
        {% if not restriction or 'validator' in role %}<li id="{{slug}}" class="apps"><a id="img" href="/{{service}}/{{slug}}/"/><a href="/{{service}}/{{slug}}/">{{name}}</a></li>{% endif %}
33 c15cd5d6 Benjamin Dauvergne
      {% endfor %}
34
    </ul>
35
36
    <br style="clear: both;"/>
37
{% endblock %}