Blame view

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