Blame view

app/main/templates/projects.html 720 Bytes
3dae0d18   hitier   Projects 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">projet,projects</span>

3dae0d18   hitier   Projects list
7
8
9
<table class="table table-hover">
  <thead>
  <tr>
02118cc9   hitier   Show projects cat...
10
11
12
    {% for c_title in projects[0][1:] %}
    <th scope="col">{{c_title}}</th>
    {% endfor %}
3dae0d18   hitier   Projects list
13
14
15
  </tr>
  </thead>
  <tbody>
02118cc9   hitier   Show projects cat...
16
  {% for project in projects[1:] %}
3dae0d18   hitier   Projects list
17
  <tr>
02118cc9   hitier   Show projects cat...
18
19
    <td><a href="{{url_for('main.project', project_id=project[0])}}">
      {{ project[1] }}</a>
f8e1465a   hitier   New projects list...
20
    </td>
40126f91   hitier   Update project ro...
21
    {#the category cells#}
02118cc9   hitier   Show projects cat...
22
    {% for c in project[2:-1] %}
40126f91   hitier   Update project ro...
23
    <td>{{c|join(',')}}</td>
02118cc9   hitier   Show projects cat...
24
    {% endfor %}
a7537589   hitier   Display charges i...
25
    <td>{{ project[-1] /100}}</td>
3dae0d18   hitier   Projects list
26
27
28
29
30
  </tr>
  {% endfor %}
  </tbody>
</table>
{% endblock %}