Little corrections
This commit is contained in:
		@ -1,6 +1,6 @@
 | 
			
		||||
<script setup>
 | 
			
		||||
  import {reactive, ref} from 'vue'
 | 
			
		||||
  import {getUser,register} from '../rest/Users.js'
 | 
			
		||||
  import {getUser} from '../rest/Users.js'
 | 
			
		||||
 /* 
 | 
			
		||||
  const user = getUser(); 
 | 
			
		||||
*/
 | 
			
		||||
@ -11,14 +11,15 @@
 | 
			
		||||
  role:"student",
 | 
			
		||||
  address: "Radiator Springs",
 | 
			
		||||
  email:"ClydeGhost@gmail.com",
 | 
			
		||||
  cursus:{
 | 
			
		||||
  cours1:{  "id": 12,
 | 
			
		||||
  cursus:[
 | 
			
		||||
  {
 | 
			
		||||
  "id": 12,
 | 
			
		||||
  "name": "Math pour l'info",
 | 
			
		||||
  "credits": 11,
 | 
			
		||||
  "faculty": "science",
 | 
			
		||||
  "teacher": 42,
 | 
			
		||||
  "Assistants": []},
 | 
			
		||||
  cours2:{ 
 | 
			
		||||
  {
 | 
			
		||||
  "id": 42,
 | 
			
		||||
  "name": "Fonctionnement des ordinateurs",
 | 
			
		||||
  "credits": 11,
 | 
			
		||||
@ -26,7 +27,7 @@
 | 
			
		||||
  "teacher": 42,
 | 
			
		||||
  "Assistants": []},
 | 
			
		||||
 | 
			
		||||
  },
 | 
			
		||||
  ],
 | 
			
		||||
  option:"IT",
 | 
			
		||||
  degree:"BAC1",
 | 
			
		||||
  password:"CeciEstUnMotDePasse123",
 | 
			
		||||
@ -41,14 +42,14 @@
 | 
			
		||||
  role:"teacher",
 | 
			
		||||
  address: "Radiator Springs",
 | 
			
		||||
  email:"ClydeGhost@gmail.com",
 | 
			
		||||
  coursesOwned:{
 | 
			
		||||
  cours1:{  
 | 
			
		||||
  coursesOwned:[
 | 
			
		||||
  {  
 | 
			
		||||
  "id": 12,
 | 
			
		||||
  "name": "Math pour l'info",
 | 
			
		||||
  "faculty": "science",
 | 
			
		||||
  "teacher": 42,
 | 
			
		||||
  "Assistants": []},
 | 
			
		||||
  cours2:{ 
 | 
			
		||||
  { 
 | 
			
		||||
  "id": 42,
 | 
			
		||||
  "name": "Fonctionnement des ordinateurs",
 | 
			
		||||
  "credits": 11,
 | 
			
		||||
@ -56,7 +57,7 @@
 | 
			
		||||
  "teacher": 42,
 | 
			
		||||
  "Assistants": []},
 | 
			
		||||
 | 
			
		||||
  },
 | 
			
		||||
  ],
 | 
			
		||||
  faculty:"Science",
 | 
			
		||||
  })*/
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,7 @@
 | 
			
		||||
  .container{
 | 
			
		||||
    color:white;
 | 
			
		||||
    height:100px;
 | 
			
		||||
  font-size:20px;
 | 
			
		||||
    font-size:20px;
 | 
			
		||||
    display:grid;
 | 
			
		||||
    grid-template-columns:[firstCol-start]100px[firstCol-end secondCol-start]150px[secondCol-end thirdCol-start]200px[thirdCol-end fourthCol-start]150px[fourthCol-end]150px[fifthCol-end]150px[sixthCol-end]150px[endCol];
 | 
			
		||||
    grid-template-areas:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user