From 988f04f179413647d2d92fd812af47e58bc5f182 Mon Sep 17 00:00:00 2001 From: flifloo Date: Sun, 2 Feb 2020 21:59:29 +0100 Subject: [PATCH] Update front --- app/routes.py | 6 +++++ app/static/css/main.css | 50 ++++++++++++++++++++++++++++++++------ app/templates/cuisine.html | 10 -------- app/templates/pc.html | 1 + 4 files changed, 50 insertions(+), 17 deletions(-) diff --git a/app/routes.py b/app/routes.py index b4b58c4..c9d78dc 100644 --- a/app/routes.py +++ b/app/routes.py @@ -59,3 +59,9 @@ def menu(): @login_required def cuisine(): return render_template("cuisine.html") + + +@app.route("/service") +@login_required +def service(): + return render_template("equipe.html") diff --git a/app/static/css/main.css b/app/static/css/main.css index 5f73ae6..1028cc3 100644 --- a/app/static/css/main.css +++ b/app/static/css/main.css @@ -477,6 +477,7 @@ textarea.input2 + .focus-input2::after { #main-container{ display: flex; flex-wrap: nowrap; + height: 100vh; } .liste button{ @@ -520,13 +521,6 @@ textarea.input2 + .focus-input2::after { display: none; } -.liste .WIP { - background-color: rgb(70, 170, 185); -} - -.liste .finis { - background-color: rgb(185, 176, 30); -} .liste .donnee { background-color: rgb(0, 105, 0); @@ -780,4 +774,46 @@ div#resume{ left: 0; border-radius: 0; } +} + +div#equipes{ + margin-top: 10vh; + width: 90%; + display: flex; + flex-wrap: wrap; +} + +#equipes div{ + margin: auto; +} + +#equipes input{ + margin-right: 1vw; + font-size: 20px; + background-color: grey; + border: 0.1vw solid rgb(0, 0, 0); + display:block; + +} + +#equipes label{ + font-size: 25px; + display:block; + +} + +#gobackpc{ + float: right; +} + +#okequipe{ + background: -webkit-linear-gradient(45deg, rgba(213,0,125), rgba(229,57,53)); + background: -o-linear-gradient(45deg, rgba(213,0,125), rgba(229,57,53)); + background: -moz-linear-gradient(45deg, rgba(213,0,125), rgba(229,57,53)); + background: linear-gradient(45deg, rgba(213,0,125), rgba(229,57,53)); + +} + +#okequipe button{ + font-size: 30px; } \ No newline at end of file diff --git a/app/templates/cuisine.html b/app/templates/cuisine.html index db54bd1..e05aede 100644 --- a/app/templates/cuisine.html +++ b/app/templates/cuisine.html @@ -17,14 +17,4 @@ - - - - {% endblock %} diff --git a/app/templates/pc.html b/app/templates/pc.html index d588cff..79e8812 100644 --- a/app/templates/pc.html +++ b/app/templates/pc.html @@ -5,6 +5,7 @@