Merge branch 'home-page' of codefirst.iut.uca.fr:IQBall/Application-Web into settings
continuous-integration/drone/push Build is failing Details

pull/81/head
DahmaneYanis 1 year ago
commit d739d256f5

1
.gitignore vendored

@ -1,4 +1,5 @@
.vs
.vscode
.idea
.code
.vite

@ -1,38 +0,0 @@
{
// Utilisez IntelliSense pour en savoir plus sur les attributs possibles.
// Pointez pour afficher la description des attributs existants.
// Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch built-in server and debug",
"type": "php",
"request": "launch",
"runtimeArgs": [
"-S",
"localhost:8080",
"-t",
"./public"
],
"port": 8080,
"serverReadyAction": {
"action": "openExternally"
}
},
{
"name": "Debug current script in console",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"externalConsole": false,
"port": 9003
},
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003
}
]
}

@ -116,23 +116,26 @@ export default function BendableArrow({
const styleWidth = style?.width ?? ArrowStyleDefaults.width
const computeInternalSegments = useCallback((segments: Segment[]) => {
return segments.map((segment, idx) => {
if (idx == 0) {
const computeInternalSegments = useCallback(
(segments: Segment[]) => {
return segments.map((segment, idx) => {
if (idx == 0) {
return {
start: startPos,
controlPoint: segment.controlPoint ?? null,
end: segment.next,
}
}
const start = segments[idx - 1].next
return {
start: startPos,
start,
controlPoint: segment.controlPoint ?? null,
end: segment.next,
}
}
const start = segments[idx - 1].next
return {
start,
controlPoint: segment.controlPoint ?? null,
end: segment.next,
}
})
}, [segments, startPos])
})
},
[segments, startPos],
)
// Cache the segments so that when the user is changing the segments (it moves an ArrowPoint),
// it does not unwind to this arrow's component parent until validated.
@ -151,8 +154,6 @@ export default function BendableArrow({
const headRef = useRef<HTMLDivElement>(null)
const tailRef = useRef<HTMLDivElement>(null)
/**
* Computes and return the segments edition points
* @param parentBase

@ -1,35 +1,33 @@
#main {
margin-left : 10%;
margin-left: 10%;
margin-right: 10%;
border : solid 2px purple;
border: solid 2px purple;
display: flex;
flex-direction: column;
font-family: Helvetica,;
font-family: Helvetica;
}
.new {
border-radius: 100%;
}
#header {
#header {
text-align: center;
background-color: green;
margin : 0px;
margin: 0px;
}
#body {
display: flex;
flex-direction: row;
border : solid 10px violet;
margin:0px
}
border: solid 10px violet;
margin: 0px;
}
#personal-space {
background-color: orange;
display: flex;
flex-direction: column;
}
#sideMenu {
@ -42,46 +40,44 @@
#sideMenu h2 {
display: inline-block;
margin-right : 5%;
margin-right: 5%;
}
.titreSideMenu {
border-bottom: black solid 2px;
width: 95%;
}
#sideMenu .title {
font-size: 13px;
font-weight: bold;
color : #FFFFFF;
color: #ffffff;
letter-spacing: 1px;
text-transform: uppercase;
background-color: black;
padding : 1.5%;
padding: 1.5%;
margin-bottom: 0px;
}
#bodyPersonalSpace {
width: 95%;
border : 1px red solid;
border: 1px red solid;
align-self: center;
}
#bodyPersonalSpace table{
#bodyPersonalSpace table {
width: 100%;
border-collapse : separate;
border-spacing : 1em;
border-collapse: separate;
border-spacing: 1em;
}
td {
border : 3px solid black;
padding-bottom : 1%;
padding-top : 1%;
border: 3px solid black;
padding-bottom: 1%;
padding-top: 1%;
margin: 80px;
text-align: center;
text-align: center;
}
td:hover {
background-color: red;
}
}

@ -41,7 +41,7 @@ export default function Home({
}
/**
*
*
* @param param0 username
* @returns Header
*/

@ -90,5 +90,5 @@ class TeamGateway {
public function getAll(int $user): array {
return $this->con->fetch("SELECT * FROM Team", []);
}
}

@ -85,7 +85,7 @@ class TeamModel {
* @param integer $user
* @return array<array<string, mixed>>
*/
public function getAll(int $user) : array {
public function getAll(int $user): array {
return $this->teams->getAll($user);
}

Loading…
Cancel
Save