From a41f597827071e67c86bf71773b82409df312d84 Mon Sep 17 00:00:00 2001 From: champeno Date: Wed, 23 Sep 2015 00:03:57 +0200 Subject: [PATCH] Affichage de la recherche --- monstage/static/style.css | 43 ++++++++++++++++++++++ monstage/templates/monstage/search.html | 49 ++++++++++++++++++++++--- monstage/views.py | 2 +- 3 files changed, 87 insertions(+), 7 deletions(-) diff --git a/monstage/static/style.css b/monstage/static/style.css index 9fe6b48..caa820f 100644 --- a/monstage/static/style.css +++ b/monstage/static/style.css @@ -334,4 +334,47 @@ ul.bigger li:hover{ .failure { padding:5px; background:#f99; +} + +/* Recherche */ +form.recherche p { + background:none; +} +form.recherche { + background:#ddd; + padding:5px; +} + +form.recherche .criteria { + display:table; + width:100%; +} +form.recherche .criteria p { + display:table-cell; +} + +form.recherche .lieu { + display:table; +} + +form.recherche .lieu div { + display:table-cell; +} + +#map_searchlieu { + width:50%; +} + +.stagefound { + background:#fff; + padding:10px; + margin:10px 0; +} + +.stagefound h3 { + margin-top:0; +} + +.stagefound p { + margin-bottom:0px; } \ No newline at end of file diff --git a/monstage/templates/monstage/search.html b/monstage/templates/monstage/search.html index 1e8e9af..e4441df 100644 --- a/monstage/templates/monstage/search.html +++ b/monstage/templates/monstage/search.html @@ -10,16 +10,53 @@ {% block content %}

Rechercher des stages