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>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Twig view</title>
|
||||
<style>
|
||||
.square{
|
||||
width:50px;
|
||||
height:50px;
|
||||
}
|
||||
|
||||
#mainColor{
|
||||
background-color: {{ team.mainColor.getValue() }};
|
||||
}
|
||||
#secondColor{
|
||||
background-color: {{ team.secondColor.getValue() }};
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<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 %}
|
||||
|
||||
</body>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Twig view</title>
|
||||
<style>
|
||||
body{
|
||||
background-color: #f1f1f1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
section{
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.square{
|
||||
width:50px;
|
||||
height:50px;
|
||||
}
|
||||
|
||||
#mainColor{
|
||||
background-color: {{ team.mainColor.getValue() }};
|
||||
}
|
||||
#secondColor{
|
||||
background-color: {{ team.secondColor.getValue() }};
|
||||
}
|
||||
|
||||
.container{
|
||||
background-color: #fff;
|
||||
}
|
||||
.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>
|
Loading…
Reference in new issue