Project

General

Profile

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

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

1
{% 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
      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
    </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
      {% for name, slug, restriction in applications %}
32
        {% 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
      {% endfor %}
34
    </ul>
35

    
36
    <br style="clear: both;"/>
37
{% endblock %}
(6-6/8)