1
0
forked from PGL/Clyde

Profil Student Prototype

This commit is contained in:
Wawilski 2024-03-10 12:34:44 +01:00 committed by Wal
parent 07e5fb3a73
commit 3cf5153e79

View File

@ -13,14 +13,15 @@
"name": "Math pour l'info",
"credits": 11,
"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,7 +38,7 @@
<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 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>
@ -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>