Profil Menu #83

Merged
Wal merged 9 commits from wal/front/profilMenu into master 2024-03-12 09:55:27 +01:00
Showing only changes of commit 2536423b4c - Show all commits

View File

@ -13,14 +13,15 @@
"name": "Math pour l'info",
"credits": 11,

ha et cursus doit être une liste donc normalement [] et pas {}

ha et cursus doit être une liste donc normalement [] et pas {}
"faculty": "science",
"Teacher": 42,
"teacher": 42,
"Assistants": []},
cours2:{ "id": 42,
cours2:{
"id": 42,
"name": "Fonctionnement des ordinateurs",
"credits": 11,
"faculty": "science",
"Teacher": 42,
"Assistants": []}
"teacher": 42,
"Assistants": []},
},
option:"IT",
@ -37,8 +38,8 @@
<img class="subContainter" src="../assets/Clyde.png">
</div>
<div class="globalInfos">
<div style="border:2px solid black;font-size:25px;color:white;padding:20px;background-color:rgb(50,50,50);border-radius:20px;" >
<div >
<div style="padding-bottom:50px;border:2px solid black;font-size:25px;color:white;padding:20px;background-color:rgb(50,50,50);border-radius:20px;" >
<div>
{{example.firstName}} {{example.lastName.toUpperCase()}}
</div>
<div>
@ -50,8 +51,17 @@
</div>
</div>
<div class="moreInfos">
<div style="border:2px solid black;font-size:25px;color:white;padding:20px;background-color:rgb(50,50,50);border-radius:20px;margin-bottom:10px;" v-for="item in example.cursus
"></div>
<div v-if="(example.role==='student')">
<div style="display: flex;
justify-content: center;
align-items: center;width:200px;margin-left:auto;margin-right:auto;border:2px solid black;font-size:25px;color:white;padding:20px;background-color:rgb(50,50,50);border-radius:20px;margin-bottom:10px;">
Liste des cours
</div>
<div style="border:2px solid black;font-size:25px;color:white;padding:20px;background-color:rgb(50,50,50);border-radius:20px;margin-bottom:10px;"
v-for="item in example.cursus">
{{item.name}} Teacher: {{item.teacher}} Credits:{{item.credits}}
</div>
</div>
</div>
</div>
</div>