|
|
@ -5,30 +5,49 @@
|
|
|
|
<meta name="viewport"
|
|
|
|
<meta name="viewport"
|
|
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
<title>Document</title>
|
|
|
|
<title>Page d'accueil</title>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
#bandeau {
|
|
|
|
|
|
|
|
display : flex;
|
|
|
|
|
|
|
|
flex-direction : row;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#bandeau:h1 {
|
|
|
|
|
|
|
|
self-align : center;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
<h1>Page Home à faire</h1>
|
|
|
|
<div id="bandeau">
|
|
|
|
|
|
|
|
<h1>IQ Ball</h1>
|
|
|
|
|
|
|
|
<p>Profil</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2> Mes équipes </h2>
|
|
|
|
|
|
|
|
|
|
|
|
<h2> Mes équipes </h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% for team in recentTeam %}
|
|
|
|
{% for team in recentTeam %}
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<p> {{team.name}} </p>
|
|
|
|
<p> {{team.name}} </p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
<h2> Mes strategies </h2>
|
|
|
|
<h2> Mes strategies </h2>
|
|
|
|
|
|
|
|
|
|
|
|
<button onclick="location.pathname = "/tactic/create"> Créer une nouvelle équipe </button>
|
|
|
|
<button onclick="location.pathname='/tactic/create'"> Créer une nouvelle tactique </button>
|
|
|
|
|
|
|
|
|
|
|
|
{% for tactic in recentTactic %}
|
|
|
|
{% if recentTactic != null %}
|
|
|
|
<div onclick="location.pathname = /tactic/edit/{{ strategie.id }}">
|
|
|
|
{% for tactic in recentTactic %}
|
|
|
|
|
|
|
|
<div onclick="location.pathname=/tactic/edit/{{ strategie.id }}">
|
|
|
|
<p> {{tactic.id}} - {{tactic.name}} - {{tactic.creation_date}} </p>
|
|
|
|
<p> {{tactic.id}} - {{tactic.name}} - {{tactic.creation_date}} </p>
|
|
|
|
|
|
|
|
<button onclick="location.pathname='/tactic/edit/{{ tactic.id }}'"> Editer la stratégie {{tactic.id}} </button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<p> Aucune tactique créé !</p>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2>
|
|
|
|
<h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|