WIP update the tactic research

pull/81/head
DahmaneYanis 1 year ago committed by d_yanis
parent 232299b1bd
commit 2f8fef9bfc

@ -1,11 +1,11 @@
#main {
margin-left : 2%;
margin-right: 2%;
margin-left : 10%;
margin-right: 10%;
border : solid 2px purple;
display: flex;
flex-direction: column;
font-family: Helvetica,;
}
.new {
@ -30,8 +30,7 @@
}
#sideMenu {
background-color: blue;
background-color: grey;
}
#ps-title {
@ -42,3 +41,20 @@
display: inline-block;
margin-right : 5%;
}
.titreSideMenu {
border-bottom: black solid 2px;
width: 95%;
}
#sideMenu .title {
font-size: 13px;
font-weight: bold;
color : #FFFFFF;
letter-spacing: 1px;
text-transform: uppercase;
background-color: black;
padding : 1.5%;
margin-bottom: 0px;
}

@ -115,7 +115,6 @@ export function Team() {
return (
<div className="titreSideMenu">
<h2 className="title">Mes équipes</h2>
<button className="new" onClick={() => location.pathname="/tactic/new"}>+</button>
</div>
)

@ -26,6 +26,7 @@ class UserController {
$limitNbTactics = 5;
$lastTactics = $this->tactics->getLast($limitNbTactics, $session->getAccount()->getId());
$allTactics = $this->tactics->getAll($session->getAccount()->getId());
return ViewHttpResponse::react("views/Home.tsx", [
"lastTactics" => $lastTactics,
"allTactics" => $allTactics

Loading…
Cancel
Save