Updated documentation + started to add some documentation
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d824f17ea7
commit
1b9a873cdc
@ -1,32 +1,58 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Twig view</title>
|
<title>Twig view</title>
|
||||||
<style>
|
<style>
|
||||||
.square{
|
body{
|
||||||
width:50px;
|
background-color: #f1f1f1;
|
||||||
height:50px;
|
display: flex;
|
||||||
}
|
flex-direction: column;
|
||||||
|
}
|
||||||
#mainColor{
|
|
||||||
background-color: {{ team.mainColor.getValue() }};
|
section{
|
||||||
}
|
width: 80%;
|
||||||
#secondColor{
|
}
|
||||||
background-color: {{ team.secondColor.getValue() }};
|
|
||||||
}
|
.square{
|
||||||
</style>
|
width:50px;
|
||||||
</head>
|
height:50px;
|
||||||
<body>
|
}
|
||||||
|
|
||||||
<h1>{{ team.name }}</h1>
|
#mainColor{
|
||||||
<img src="{{ team.picture }}" alt="Logo d'équipe">
|
background-color: {{ team.mainColor.getValue() }};
|
||||||
<div class="square" id="mainColor"></div>
|
}
|
||||||
<div class="square" id="secondColor"></div>
|
#secondColor{
|
||||||
|
background-color: {{ team.secondColor.getValue() }};
|
||||||
{% for m in team.members %}
|
}
|
||||||
<p> m.id </p>
|
|
||||||
{% endfor %}
|
.container{
|
||||||
|
background-color: #fff;
|
||||||
</body>
|
}
|
||||||
|
.team{
|
||||||
|
border-color: darkgrey;
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<h1><a href="/">IQBall</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<section class="container">
|
||||||
|
|
||||||
|
<div class="team">
|
||||||
|
<h1>{{ team.name }}</h1>
|
||||||
|
<img src="{{ team.picture }}" alt="Logo d'équipe">
|
||||||
|
<div class="square" id="mainColor"></div>
|
||||||
|
<div class="square" id="secondColor"></div>
|
||||||
|
|
||||||
|
{% for m in team.members %}
|
||||||
|
<p> m.id </p>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in new issue