1
0
Fork 0

Update front

This commit is contained in:
Ethanell 2020-02-02 21:59:29 +01:00
parent a1d88c7a6e
commit 988f04f179
4 changed files with 50 additions and 17 deletions

View file

@ -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")

View file

@ -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;
}

View file

@ -17,14 +17,4 @@
<script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/2.2.0/socket.io.js" integrity="sha256-yr4fRk/GU1ehYJPAs8P4JlTgu0Hdsp4ZKrx8bDEDC3I=" crossorigin="anonymous"></script>
<script src="{{ url_for('static', filename='js/kitchen.js') }}"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-23581568-13"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-23581568-13');
</script>
{% endblock %}

View file

@ -5,6 +5,7 @@
<ul>
<a href="{{ url_for('stocks') }}"><li>Stocks</li></a>
<a href="{{ url_for('menu') }}"><li>Menu</li></a>
<a href="{{ url_for('service') }}"><li>Equipes</li></a>
<a href="#popup"><li id="deco">Se déconnecter</li></a>
</ul>
</nav>