2024-03-15 15:12:01 +01:00
|
|
|
<script setup>
|
|
|
|
import i18n from "@/i18n.js"
|
|
|
|
import { reactive } from 'vue'
|
|
|
|
|
|
|
|
const users =[{
|
2024-03-15 20:23:33 +01:00
|
|
|
status: "Inscrit",
|
|
|
|
profilPicture:"/Clyde.png",
|
2024-03-15 15:12:01 +01:00
|
|
|
lastName:"Ghost",
|
|
|
|
firstName:"Clyde",
|
|
|
|
role:"student",
|
|
|
|
address: "Radiator Springs",
|
|
|
|
email:"ClydeGhost@gmail.com",
|
|
|
|
cursus:[
|
|
|
|
{
|
|
|
|
"id": 12,
|
|
|
|
"name": "Math pour l'info",
|
|
|
|
"credits": 11,
|
|
|
|
"faculty": "science",
|
|
|
|
"teacher": 42,
|
|
|
|
"Assistants": []},
|
|
|
|
{
|
|
|
|
"id": 42,
|
|
|
|
"name": "Fonctionnement des ordinateurs",
|
|
|
|
"credits": 11,
|
|
|
|
"faculty": "science",
|
|
|
|
"teacher": 42,
|
|
|
|
"Assistants": []},
|
|
|
|
|
|
|
|
],
|
|
|
|
option:"IT",
|
|
|
|
degree:"BAC1",
|
|
|
|
password:"CeciEstUnMotDePasse123",},
|
|
|
|
{
|
2024-03-15 20:23:33 +01:00
|
|
|
status: "En attente",
|
|
|
|
profilPicture:"/Clyde.png",
|
2024-03-15 15:12:01 +01:00
|
|
|
lastName:"Ghost",
|
|
|
|
firstName:"Clyde",
|
|
|
|
role:"student",
|
|
|
|
address: "Radiator Springs",
|
|
|
|
email:"ClydeGhost@gmail.com",
|
|
|
|
cursus:[
|
|
|
|
{
|
|
|
|
"id": 12,
|
|
|
|
"name": "Math pour l'info",
|
|
|
|
"credits": 11,
|
|
|
|
"faculty": "science",
|
|
|
|
"teacher": 42,
|
|
|
|
"Assistants": []},
|
|
|
|
{
|
|
|
|
"id": 42,
|
|
|
|
"name": "Fonctionnement des ordinateurs",
|
|
|
|
"credits": 11,
|
|
|
|
"faculty": "science",
|
|
|
|
"teacher": 42,
|
|
|
|
"Assistants": []},
|
|
|
|
|
|
|
|
],
|
|
|
|
option:"IT",
|
|
|
|
degree:"BAC1",
|
|
|
|
password:"CeciEstUnMotDePasse123",
|
|
|
|
}]
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<div v-for="item in users">
|
|
|
|
<div class="bodu">
|
|
|
|
<div class="container">
|
2024-03-15 20:23:33 +01:00
|
|
|
<div class="status"><a style="margin-left:30px">{{item.status}}</a></div>
|
|
|
|
<div class="option"><a>{{item.option}}</a></div>
|
2024-03-15 15:12:01 +01:00
|
|
|
<div class="surname"><a>{{item.lastName}}</a></div>
|
|
|
|
<div class="firstname"><a>{{item.firstName}}</a></div>
|
|
|
|
<div class="infos"><button style="background-color:rgb(105,05,105);" >{{i18n("request.moreInfos")}} </button></div>
|
2024-03-15 20:23:33 +01:00
|
|
|
</div>
|
2024-03-15 15:12:01 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.container{
|
|
|
|
color:white;
|
|
|
|
height:100px;
|
2024-03-15 20:23:33 +01:00
|
|
|
font-size:30px;
|
2024-03-15 15:12:01 +01:00
|
|
|
display:grid;
|
2024-03-15 20:23:33 +01:00
|
|
|
grid-template-columns:250px 250px 250px 250px 150px;
|
2024-03-15 15:12:01 +01:00
|
|
|
grid-template-areas:
|
2024-03-15 20:23:33 +01:00
|
|
|
"status option surname firstname infos";
|
2024-03-15 15:12:01 +01:00
|
|
|
column-gap:10px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.infos {
|
|
|
|
grid-area:infos;
|
|
|
|
align-self:center;
|
|
|
|
}
|
|
|
|
|
2024-03-15 20:23:33 +01:00
|
|
|
.option{
|
|
|
|
grid-area:option;
|
2024-03-15 15:12:01 +01:00
|
|
|
align-self:center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.refuse{
|
|
|
|
grid-area:refuse;
|
|
|
|
align-self:center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.titles {
|
|
|
|
grid-area:titles;
|
|
|
|
background-color:rgb(215,215,215);
|
|
|
|
}
|
|
|
|
.id{
|
|
|
|
grid-area:id;
|
|
|
|
margin-left:40px;
|
|
|
|
align-self:center;
|
|
|
|
}
|
|
|
|
|
2024-03-15 20:23:33 +01:00
|
|
|
.status{
|
|
|
|
grid-area:status;
|
2024-03-15 15:12:01 +01:00
|
|
|
align-self:center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.surname{
|
|
|
|
grid-area:surname;
|
|
|
|
align-self:center;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow:ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.firstname{
|
|
|
|
grid-area:firstname;
|
|
|
|
align-self:center;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow:ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
button{
|
|
|
|
font-size:15px;
|
|
|
|
height:50px;
|
|
|
|
width:100px;
|
|
|
|
border:none;
|
|
|
|
border-radius:20px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.bodu {
|
|
|
|
width:100%;
|
|
|
|
margin-bottom:10px;
|
|
|
|
border:2px solid black;
|
|
|
|
border-radius:9px;
|
|
|
|
background-color:rgb(50,50,50);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|