Marketplace, CSS, iCal and a lot of things... #4

Closed
valentin wants to merge 59 commits from dev into main
2 changed files with 19 additions and 5 deletions
Showing only changes of commit 2cdc4cd0f0 - Show all commits

View File

@ -22,7 +22,25 @@
<h2>Colloscope : {{ periode.libelle }}</h2>
<a href="export.pdf" target="_blank">Exporter le colloscope</a>
<form method="get" action="{% url "colloscope.table" %}">
Changer de période&nbsp;:
<select name="periode" id="periode">
{% for p in periode.classe.periode_set.all %}
{% if p.id == periode.id %}
<option value="{{ p.id }}" selected>{{ p }}</option>
{% else %}
<option value="{{ p.id }}" selected>{{ p }}</option>
{% endif %}
{% endfor %}
</select>
<button type="submit">Valider</button>
</form>
{% if request.GET.periode %}
<a href="export.pdf?periode={{ request.GET.periode }}" target="_blank">Exporter le colloscope</a>
{% else %}
<a href="export.pdf" target="_blank">Exporter le colloscope</a>
{% endif %}
<div class="table-wrapper">
<table>

View File

@ -1,4 +0,0 @@
{% extends "base.html" %}
{% block header %}
{% endblock header %}