projects.html 683 Bytes
{% extends "base_page.html" %}
{% block content %}

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

<table class="table table-hover">
  <thead>
  <tr>
    {% for c_title in projects[0][1:] %}
    <th scope="col">{{c_title}}</th>
    {% endfor %}
  </tr>
  </thead>
  <tbody>
  {% for project in projects[1:] %}
  <tr>
    <td><a href="{{url_for('main.project', project_id=project[0])}}">
      {{ project[1] }}</a>
    </td>
    {% for c in project[2:-1] %}
    <td>{{c}}</td>
    {% endfor %}
    <td>{{ project[-1] /100}}</td>
  </tr>
  {% endfor %}
  </tbody>
</table>
{% endblock %}