From c5e0e633e8b84ea8093aa7727bec31d518815029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Sun, 7 Jun 2020 23:15:46 +0200 Subject: [PATCH] BDS: fancier home page --- bds/static/bds/css/bds.css | 22 +++++++-- bds/static/bds/images/logo.svg | 15 ++++++ bds/static/bds/images/logout.svg | 80 ++++++++++++++++++++++++++++++++ bds/templates/bds/home.html | 19 +++++++- bds/templates/bds/nav.html | 25 +++++++--- 5 files changed, 147 insertions(+), 14 deletions(-) create mode 100644 bds/static/bds/images/logo.svg create mode 100644 bds/static/bds/images/logout.svg diff --git a/bds/static/bds/css/bds.css b/bds/static/bds/css/bds.css index 9bce2d92..fe9b2fa2 100644 --- a/bds/static/bds/css/bds.css +++ b/bds/static/bds/css/bds.css @@ -7,16 +7,23 @@ html, body { a { text-decoration: none; - color: inherit; + color: #a82305; } /* header */ nav { - background: #3d2464; - width: 100%; - text-align: center; - padding: 0.4em 0; + display: flex; + flex-flow: row wrap; + justify-content: space-between; + align-items: center; + background: #3e2263; + height: 3em; + padding: 0.4em 1em; +} + +nav a, nav a img { + height: 100%; } input[type="text"] { @@ -24,6 +31,7 @@ input[type="text"] { } #search_autocomplete { + flex: 1; width: 480px; margin: 0; border: 0; @@ -53,6 +61,10 @@ input[type="text"] { background: #e8554e; } +.yourlabs-autocomplete ul li a { + color: inherit; +} + .autocomplete-item { display: block; width: 480px; diff --git a/bds/static/bds/images/logo.svg b/bds/static/bds/images/logo.svg new file mode 100644 index 00000000..15292488 --- /dev/null +++ b/bds/static/bds/images/logo.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/bds/static/bds/images/logout.svg b/bds/static/bds/images/logout.svg new file mode 100644 index 00000000..12489bbd --- /dev/null +++ b/bds/static/bds/images/logout.svg @@ -0,0 +1,80 @@ + + + + + + + + + + +image/svg+xmlOpenclipart diff --git a/bds/templates/bds/home.html b/bds/templates/bds/home.html index 2cf20e4a..1ae76227 100644 --- a/bds/templates/bds/home.html +++ b/bds/templates/bds/home.html @@ -1,7 +1,22 @@ {% extends "bds/base.html" %} {% block content %} -
- Bienvenue sur le site du BDS! +
+ Bienvenue sur GestioBDS ! + +
+
+ + Le site est encore en développement. +
+ Suivez notre avancement sur + + cette milestone sur le gitlab de l'ENS. +
+ Faites vos remarques par mail à + klub-dev@ens.fr + ou en ouvrant une + + issue.
{% endblock %} diff --git a/bds/templates/bds/nav.html b/bds/templates/bds/nav.html index c7dbc70a..e1118caa 100644 --- a/bds/templates/bds/nav.html +++ b/bds/templates/bds/nav.html @@ -1,13 +1,24 @@ {% load i18n %} +{% load static %}