Blame view

app/main/templates/projects.html 681 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>
02118cc9   hitier   Show projects cat...
21
22
23
24
    {% for c in project[2:-1] %}
    <td>{{c}}</td>
    {% endfor %}
    <td>{{ project[-1] }} %</td>
3dae0d18   hitier   Projects list
25
26
27
28
29
  </tr>
  {% endfor %}
  </tbody>
</table>
{% endblock %}