Blame view

app/main/templates/agents.html 668 Bytes
d6836d5e   hitier   Agents list
1
2
{% extends "base_page.html" %}
{% block content %}
9f86aeea   Anais Amato   Change navbar act...
3
4
5
6

<!-- Invisible span to definte wich ul and a in the navbar are actived -->
<span id="nav_actived" style="display: none">agent,agents</span>

d6836d5e   hitier   Agents list
7
8
9
10
<table class="table table-hover">
  <thead>
  <tr>
    <th scope="col">Nom</th>
2cb0a345   hitier   Add 2 columns in ...
11
12
    <th scope="col">Charge</th>
    <th scope="col">Projets</th>
d6836d5e   hitier   Agents list
13
14
  </tr>
  </thead>
3dae0d18   hitier   Projects list
15
  <tbody>
d6836d5e   hitier   Agents list
16
17
  {% for agent in agents %}
  <tr>
527a6709   hitier   In agents list, L...
18
19
20
21
    <td><a href="{{url_for('main.agent', agent_id=agent.id)}}">
      {{ agent.firstname }}
      {{ agent.secondname }}
    </a></td>
796a5688   hitier   Add % sign in cha...
22
    <td>{{agent.total_charge}} %</td>
2cb0a345   hitier   Add 2 columns in ...
23
    <td>{{agent.num_projects}}</td>
d6836d5e   hitier   Agents list
24
25
  </tr>
  {% endfor %}
3dae0d18   hitier   Projects list
26
  </tbody>
d6836d5e   hitier   Agents list
27
28
</table>
{% endblock %}