From 399e5ca16d10f3f7afecaf77e30b5db5776c237d Mon Sep 17 00:00:00 2001 From: Evarin Date: Fri, 10 Feb 2017 20:42:54 +0100 Subject: [PATCH] Jolie mise en page pour les demandes de petit cours Closes #6 --- gestioncof/static/css/cof.css | 5 +++++ gestioncof/templates/demande-petit-cours-raw.html | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/gestioncof/static/css/cof.css b/gestioncof/static/css/cof.css index b8f6e7f8..9b888c4f 100644 --- a/gestioncof/static/css/cof.css +++ b/gestioncof/static/css/cof.css @@ -1088,3 +1088,8 @@ tr.awesome{ color: white; padding: 20px; } + +.petitcours-raw { + padding:20px; + background:#fff; +} diff --git a/gestioncof/templates/demande-petit-cours-raw.html b/gestioncof/templates/demande-petit-cours-raw.html index c2fcf85a..f9bafd8e 100644 --- a/gestioncof/templates/demande-petit-cours-raw.html +++ b/gestioncof/templates/demande-petit-cours-raw.html @@ -1,11 +1,19 @@ +{% extends "base.html" %} + +{% load bootstrap %} + +{% block content %} +
{% if success %}

Votre demande a été enregistrée avec succès !

{% else %}
{% csrf_token %} - {{ form.as_table }} + {{ form | bootstrap }}
{% endif %} +
+{% endblock %}