index.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {% extends '_layout.html' %}
  2. {% block main %}
  3. <section id="backlog">
  4. <header>
  5. <div class="flex-row">
  6. <h2 class="flex-extend">Backlog</h2>
  7. <a class="button icon fa-plus tool-btn" href="{% url 'epic_create' %}" title="Créer une Epic"></a>
  8. </div>
  9. </header>
  10. <!-- <div class="flex-row flex-space-around" style="margin-bottom: 3em;">
  11. {% if current_sprint %}
  12. <b>En cours: <a href="{% url 'story_index' %}?sprint={{ current_sprint.id }}">{{ current_sprint }}</a></b>
  13. {% else %}
  14. <i>Sprint en cours: (non défini)</i>
  15. {% endif %}
  16. </div> -->
  17. <table class="alt">
  18. <thead>
  19. <th>Epic</th>
  20. <th>Projet</th>
  21. <th>Dim.</th>
  22. <th>Val.</th>
  23. <th>Prog.</th>
  24. </thead>
  25. <tbody>
  26. {% for epic in epics %}
  27. <tr data-url="{% url 'epic_details' epic_id=epic.id %}">
  28. <td><h5>{{ epic.name }}</h5></td>
  29. <td>{{ epic.project.name }}</td>
  30. <td>{{ epic.size }}</td>
  31. <td>{{ epic.value }}</td>
  32. <td>{{ epic.nb_closed_stories }} / {{ epic.nb_stories }}</td>
  33. </tr>
  34. {% endfor %}
  35. </tbody>
  36. </table>
  37. </section>
  38. {% endblock %}