Merci pour votre message !
{% endif %} + {% if request.GET.feedback_error %}Erreur lors de l'envoi du message.
{% endif %} {% block content %}{% endblock %}diff --git a/monstage/static/index.css b/monstage/static/index.css index 6b51f11..0fa9c9c 100644 --- a/monstage/static/index.css +++ b/monstage/static/index.css @@ -4,7 +4,7 @@ text-align:center; } -.entrer a { +.entrer a, a.btn { display:inline-block; background:#FFA41E; color:#fff; @@ -13,6 +13,16 @@ border-radius:5px; } + a.btn { + display:inline-block; + background:#FFA41E; + color:#fff; + font-size:1.2em; + padding:10px; + margin-top:12px; + border-radius:5px; +} + .explications { background:#348d68; display:table-row; @@ -28,4 +38,25 @@ padding:20px; font-size:1.1em; text-align:center; +} + +.homeh1 p { + float:right; +} + +.homeh1 h1 { + display:inline-block; + margin-bottom:3px; +} + +.homeh1 { + border-bottom:1px solid #888; + overflow:hidden; + margin-bottom:15px; +} + +.betacadre { + background:#bbb; + padding:20px; + margin:20px 0; } \ No newline at end of file diff --git a/monstage/static/style.css b/monstage/static/style.css index 63566f9..9fe6b48 100644 --- a/monstage/static/style.css +++ b/monstage/static/style.css @@ -72,6 +72,14 @@ header .username { font-weight:normal; } +.footer { + clear:both; + font-size:14px; + color:#555; + text-align:right; + margin-top:25px; +} + #content { width:80%; max-width:700px; @@ -112,6 +120,10 @@ form textarea, form input, form select { float:right; } +form textarea { + resize:vertical; +} + form textarea { width:90%; } @@ -256,4 +268,70 @@ ul.bigger li:hover{ .changestage { color:#B8741A; +} + +/* feedback */ + +#feedback_bg { + display:none; + position:fixed; + width:100%; + height:100%; + background:rgba(0,0,0,0.6); + z-index:300; + top:0; + left:0; +} + +#feedback_centrer { + display:table-cell; + vertical-align:middle; + text-align:center; + overflow-y:auto; +} + +#feedback_close { + float:right; +} + +#feedback_win { + text-align:left; + display:inline-block; + padding:0; + max-width:500px; + background:#fff; +} + +#feedback_win h2 { + background:#000; + color:#fff; + padding:20px; + margin-top:0; +} + +#feedback_win textarea { + min-height:150px; +} + +#feedback_btn { + position:fixed; + top:65%; + left:0; + z-index:40; + background:#000; + color:#fff; + padding:20px; + transform:rotate(-90deg); + font-weight:bold; + transform-origin:top left; +} + +.success { + background:#9f9; + padding:5px; +} + +.failure { + padding:5px; + background:#f99; } \ No newline at end of file diff --git a/monstage/templates/monstage/index.html b/monstage/templates/monstage/index.html index 225ab66..bb281d9 100644 --- a/monstage/templates/monstage/index.html +++ b/monstage/templates/monstage/index.html @@ -6,19 +6,29 @@ {% endblock %} {% block content %} -
Partagez vos expériences de stages !
+Partagez vos expériences de stages !
+Connexion via le serveur central d'authentification ENS (identifiants clipper)
Ne partez plus en stage en terre inconnue : nourrissez-vous de l'expérience de {{ stats.num_stages }} stages effectués par la communauté normalienne, repérez les bons plans, et ne faites pas les mêmes erreurs !
+Ne partez plus en stage en terre inconnue : nourrissez-vous de l'expérience de {{ stats.num_stages }} stages effectués par la communauté normalienne, repérez les bons plans, et ne faites pas les mêmes erreurs !
+ {% if user.username %}
Rechercher des stages{% endif %}
Vous revenez du bout du monde (ou de la rue d'à côté) ? N'attendez plus, rédigez un avis sur votre stage pour que votre expérience profite à d'autres !
+Vous revenez du bout du monde (ou de la rue d'à côté) ? N'attendez plus, rédigez un avis sur votre stage pour que votre expérience profite à d'autres !
+ {% if user.username %}
Partager ses stages{% endif %}
Merci pour votre message !
{% endif %} + {% if request.GET.feedback_error %}Erreur lors de l'envoi du message.
{% endif %} {% block content %}{% endblock %}