Ajout d'un sélecteur de date.
This commit is contained in:
parent
c70d9b0415
commit
495da01be9
@ -103,6 +103,7 @@
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
transition: background 0.1s;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
input[type="submit"]:hover {
|
||||
|
24
templates/date-select.html
Normal file
24
templates/date-select.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>UniSquat</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
<meta name="viewport" content="width=300, initial-scale=1" />
|
||||
</head>
|
||||
<body>
|
||||
{% include "base.html" %}
|
||||
<main>
|
||||
<form action="/app/free-rooms" method="get">
|
||||
<div class="flex">
|
||||
<label for="froom-date">Choisisssez une date :</label>
|
||||
<input type="date" id="froom-date" name="froom-date">
|
||||
</div>
|
||||
<div class="flex">
|
||||
<input type="submit" value="Valider">
|
||||
</div>
|
||||
</form>
|
||||
</main>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
@ -9,7 +9,6 @@
|
||||
<body>
|
||||
{% include "base.html" %}
|
||||
<main>
|
||||
|
||||
<div class="flex"><p>Sélectionnez des départements dans la liste :</p></div>
|
||||
<form action="/app/free-rooms" method="get">
|
||||
<div class="flex">
|
||||
|
@ -11,8 +11,12 @@
|
||||
<main>
|
||||
Départements sélectionnés :
|
||||
<b>{{ depts_str }}</b>
|
||||
<br>
|
||||
<br>
|
||||
<form action="/app/date-select" method="get">
|
||||
{% for d in dident_list : %}
|
||||
<span style="display: none;"><input type="text" name="dept" value="{{ d }}"/></span>
|
||||
{% endfor %}
|
||||
<input type="submit" value="Choisir une date"/>
|
||||
</form>
|
||||
<h1>Disponibles maintenant</h1>
|
||||
<div class="flex-container">
|
||||
<ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user