Compare commits
	
		
			4 Commits
		
	
	
		
			tonitch/fi
			...
			7b77b88477
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 7b77b88477 | |||
| 2536423b4c | |||
| 9944a45f17 | |||
| 5b6d9c6713 | 
@ -7,10 +7,12 @@
 | 
				
			|||||||
  // Liste des apps
 | 
					  // Liste des apps
 | 
				
			||||||
  import LoginPage from './Apps/Login.vue'
 | 
					  import LoginPage from './Apps/Login.vue'
 | 
				
			||||||
  import Inscription from "./Apps/Inscription.vue"
 | 
					  import Inscription from "./Apps/Inscription.vue"
 | 
				
			||||||
 | 
					  import Profil from "./Apps/Profil.vue"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const apps = {
 | 
					  const apps = {
 | 
				
			||||||
  	'/login': LoginPage,
 | 
					  	'/login': LoginPage,
 | 
				
			||||||
	'/inscription': Inscription
 | 
						'/inscription': Inscription,
 | 
				
			||||||
 | 
					  '/profil': Profil
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  const currentPath = ref(window.location.hash)
 | 
					  const currentPath = ref(window.location.hash)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -18,6 +20,9 @@
 | 
				
			|||||||
    currentPath.value = window.location.hash
 | 
					    currentPath.value = window.location.hash
 | 
				
			||||||
  })
 | 
					  })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  function refreshPage() {
 | 
				
			||||||
 | 
					  window.location.reload();}
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
  const currentView = computed(() => {
 | 
					  const currentView = computed(() => {
 | 
				
			||||||
    return apps[currentPath.value.slice(1) || '/']
 | 
					    return apps[currentPath.value.slice(1) || '/']
 | 
				
			||||||
  })
 | 
					  })
 | 
				
			||||||
@ -26,8 +31,7 @@
 | 
				
			|||||||
  const notifications=ref(i18n("app.notifications"))
 | 
					  const notifications=ref(i18n("app.notifications"))
 | 
				
			||||||
  const settings=ref(i18n("app.settings"))
 | 
					  const settings=ref(i18n("app.settings"))
 | 
				
			||||||
  const login=ref(i18n("app.login"))
 | 
					  const login=ref(i18n("app.login"))
 | 
				
			||||||
  
 | 
					  const active=ref(false)
 | 
				
			||||||
 | 
					 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -37,29 +41,41 @@
 | 
				
			|||||||
    <div class="topBar">
 | 
					    <div class="topBar">
 | 
				
			||||||
      <ul class="horizontal">
 | 
					      <ul class="horizontal">
 | 
				
			||||||
        <li title=home>
 | 
					        <li title=home>
 | 
				
			||||||
            <a href="#home">
 | 
					            <a class="icon" href="#home">
 | 
				
			||||||
                <img @click="draw" src="./assets/Clyde.png" style="width: 40px; height: auto; margin-top:4px">
 | 
					                <img @click="draw" src="./assets/Clyde.png" style="width: 40px; height: auto; margin-top:4px">
 | 
				
			||||||
            </a></li>
 | 
					            </a></li>
 | 
				
			||||||
        <li title=home>
 | 
					        <li title=home>
 | 
				
			||||||
            <a href="#home">
 | 
					            <a class="icon" href="#home">
 | 
				
			||||||
                <div class=" fa-solid fa-house" style="margin-top: 7px; margin-bottom: 3px;"></div>
 | 
					                <div class=" fa-solid fa-house" style="margin-top: 7px; margin-bottom: 3px;"></div>
 | 
				
			||||||
            </a></li>
 | 
					            </a></li>
 | 
				
			||||||
        <li style="float: right;" title=login>
 | 
					        <li style="float: right;" title=login>
 | 
				
			||||||
            <a href="#/login">
 | 
					            <a class="icon" href="#/login">
 | 
				
			||||||
                <div class="fa-solid fa-user"  style="margin-top: 7px; margin-bottom: 3px;"></div>
 | 
					                <div class="fa-solid fa-user"  style="margin-top: 7px; margin-bottom: 3px;"></div>
 | 
				
			||||||
            </a></li>
 | 
					            </a></li>
 | 
				
			||||||
        <li style="float: right;" title=notifications>
 | 
					        <li style="float: right;" title=notifications>
 | 
				
			||||||
            <a href="#Notifications">
 | 
					            <a class="icon" href="#Notifications">
 | 
				
			||||||
                <div class="fa-solid fa-bell"  style="margin-top: 7px; margin-bottom: 3px;"></div>
 | 
					                <div class="fa-solid fa-bell"  style="margin-top: 7px; margin-bottom: 3px;"></div>
 | 
				
			||||||
            </a></li>
 | 
					            </a></li>
 | 
				
			||||||
        <li style="float: right;" title=settings>
 | 
					        <li @click="active=!active"  class="option"style="float: right;" title=settings>
 | 
				
			||||||
            <a href="#Options">
 | 
					            <a class="icon" >
 | 
				
			||||||
                <div  class="fa-solid fa-gear"  style="margin-top: 7px; margin-bottom: 3px;"></div>
 | 
					                <div  class="fa-solid fa-gear"  style="margin-top: 7px; margin-bottom: 3px;"></div>
 | 
				
			||||||
            </a></li>
 | 
					                <div v-if="active"class="dropdown">
 | 
				
			||||||
 | 
					                  <div class="dropdown-content">Langage</div>
 | 
				
			||||||
 | 
					                  <ul style="list-style-type:none;">
 | 
				
			||||||
 | 
					                    <li style=" margin-bottom:10px;margin-right:20px;float:left; font-size:10px; color:black;">
 | 
				
			||||||
 | 
					                      <button @:click="setLang('en');refreshPage();" href="#home">EN</button>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <li style="float:right; margin-top:7.5px;" title="Language">
 | 
					                    </li>
 | 
				
			||||||
            <input type="checkbox" @:click="setLang( toggle? 'fr' : 'en' )" v-model="toggle" class="theme-checkbox">
 | 
					                    <li style="float:left;font-size:10px; color:black;"><button @:click="setLang('fr');refreshPage();" href="#home">FR</button></li>
 | 
				
			||||||
        </li>
 | 
					                  </ul>
 | 
				
			||||||
 | 
					                  <div style='align-items:center;'>
 | 
				
			||||||
 | 
					                  <a style="cursor:pointer;font-size:20px;" href="#/profil" class="dropdown-content">
 | 
				
			||||||
 | 
					                    Manage Profile
 | 
				
			||||||
 | 
					                  </a>
 | 
				
			||||||
 | 
					                  </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                </div>
 | 
				
			||||||
 | 
					            </a></li>
 | 
				
			||||||
      </ul>
 | 
					      </ul>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -122,8 +138,37 @@
 | 
				
			|||||||
  .leftBar{
 | 
					  .leftBar{
 | 
				
			||||||
    grid-area:leftBar;
 | 
					    grid-area:leftBar;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					.option {
 | 
				
			||||||
 | 
					  position: relative;
 | 
				
			||||||
 | 
					  display: block;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.dropdown {
 | 
				
			||||||
 | 
					  margin-top:55px;
 | 
				
			||||||
 | 
					  width:160px;
 | 
				
			||||||
 | 
					  display: inline-block;
 | 
				
			||||||
 | 
					  height:110px;
 | 
				
			||||||
 | 
					  font-size: 13px;
 | 
				
			||||||
 | 
					  position: absolute;
 | 
				
			||||||
 | 
					  z-index: 1;
 | 
				
			||||||
 | 
					  background-color:white;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.dropdown-content { 
 | 
				
			||||||
 | 
					  min-width: 160px;
 | 
				
			||||||
 | 
					  text-align: center;
 | 
				
			||||||
 | 
					  margin-bottom: 10px;
 | 
				
			||||||
 | 
					  right:0;
 | 
				
			||||||
 | 
					  color:rgb(50,50,50);
 | 
				
			||||||
 | 
					  text-decoration: none;
 | 
				
			||||||
 | 
					  font-size:24px
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  .dropdown-content div{
 | 
				
			||||||
 | 
					    display:block;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ul.vertical{
 | 
						ul.vertical{
 | 
				
			||||||
		list-style-type: none;
 | 
							list-style-type: none;
 | 
				
			||||||
		margin-top: 61px;
 | 
							margin-top: 61px;
 | 
				
			||||||
@ -176,7 +221,6 @@
 | 
				
			|||||||
		position: fixed;
 | 
							position: fixed;
 | 
				
			||||||
		height:61px;
 | 
							height:61px;
 | 
				
			||||||
		width: 100%;
 | 
							width: 100%;
 | 
				
			||||||
		overflow: hidden;
 | 
					 | 
				
			||||||
		background-color: rgb(24, 24, 24);
 | 
							background-color: rgb(24, 24, 24);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -187,7 +231,7 @@
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ul.horizontal li a:hover:not(.active){
 | 
						ul.horizontal li a.icon:hover:not(.active){
 | 
				
			||||||
		background-color: black;
 | 
							background-color: black;
 | 
				
			||||||
		border-radius:6px;
 | 
							border-radius:6px;
 | 
				
			||||||
		color:white;
 | 
							color:white;
 | 
				
			||||||
@ -221,51 +265,5 @@
 | 
				
			|||||||
		transition-duration: .3s;
 | 
							transition-duration: .3s;
 | 
				
			||||||
		padding-left: 5px;
 | 
							padding-left: 5px;
 | 
				
			||||||
	  }
 | 
						  }
 | 
				
			||||||
    .theme-checkbox {
 | 
					 | 
				
			||||||
    --toggle-size: 16px;
 | 
					 | 
				
			||||||
    -webkit-appearance: none;
 | 
					 | 
				
			||||||
    -moz-appearance: none;
 | 
					 | 
				
			||||||
    appearance: none;
 | 
					 | 
				
			||||||
    width: 80px;
 | 
					 | 
				
			||||||
    height: 40px;
 | 
					 | 
				
			||||||
    background: -webkit-gradient(linear, left top, right top, color-stop(50%, #efefef), color-stop(50%, #2a2a2a)) no-repeat;
 | 
					 | 
				
			||||||
    background: -o-linear-gradient(left, #efefef 50%, rgb(239, 60, 168) 50%) no-repeat;
 | 
					 | 
				
			||||||
    background: linear-gradient(to right, #efefef 50%, rgb(239, 60, 168) 50%) no-repeat;
 | 
					 | 
				
			||||||
    background-size: 205%;
 | 
					 | 
				
			||||||
    background-position: 0;
 | 
					 | 
				
			||||||
    -webkit-transition: 0.4s;
 | 
					 | 
				
			||||||
    -o-transition: 0.4s;
 | 
					 | 
				
			||||||
    transition: 0.4s;
 | 
					 | 
				
			||||||
    border-radius: 99em;
 | 
					 | 
				
			||||||
    position: relative;
 | 
					 | 
				
			||||||
    cursor: pointer;
 | 
					 | 
				
			||||||
    font-size: var(--toggle-size);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    .theme-checkbox::before {
 | 
					 | 
				
			||||||
    content: "";
 | 
					 | 
				
			||||||
    width: 35px;
 | 
					 | 
				
			||||||
    height: 35px;
 | 
					 | 
				
			||||||
    position: absolute;
 | 
					 | 
				
			||||||
    top: 2px;
 | 
					 | 
				
			||||||
    left: 3px;
 | 
					 | 
				
			||||||
    background: -webkit-gradient(linear, left top, right top, color-stop(50%, #efefef), color-stop(50%, #2rgb(239, 60, 168))) no-repeat;
 | 
					 | 
				
			||||||
    background: -o-linear-gradient(left, #efefef 50%, rgb(239, 60, 168) 50%) no-repeat;
 | 
					 | 
				
			||||||
    background: linear-gradient(to right, #efefef 50%, rgb(239, 60, 168) 50%) no-repeat;
 | 
					 | 
				
			||||||
    background-size: 205%;
 | 
					 | 
				
			||||||
    background-position: 100%;
 | 
					 | 
				
			||||||
    border-radius: 50%;
 | 
					 | 
				
			||||||
    -webkit-transition: 0.4s;
 | 
					 | 
				
			||||||
    -o-transition: 0.4s;
 | 
					 | 
				
			||||||
    transition: 0.4s;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    .theme-checkbox:checked::before {
 | 
					 | 
				
			||||||
    left: calc(100% - 35px - 3px);
 | 
					 | 
				
			||||||
    background-position: 0;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    .theme-checkbox:checked {
 | 
					 | 
				
			||||||
    background-position: 100%;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
</style>
 | 
					</style>
 | 
				
			||||||
 | 
				
			|||||||
@ -27,7 +27,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
    <div class="logBoxCenterer">
 | 
					 | 
				
			||||||
      <div class='loginBox'>
 | 
					      <div class='loginBox'>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div v-if="loginPage">
 | 
					        <div v-if="loginPage">
 | 
				
			||||||
@ -121,7 +120,6 @@
 | 
				
			|||||||
          </form>
 | 
					          </form>
 | 
				
			||||||
         </div>
 | 
					         </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<style scoped>
 | 
					<style scoped>
 | 
				
			||||||
@ -142,14 +140,6 @@
 | 
				
			|||||||
  transform: translate(0px ,1px);
 | 
					  transform: translate(0px ,1px);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.logBoxCenterer {
 | 
					 | 
				
			||||||
  width: 100%;
 | 
					 | 
				
			||||||
  height:  100%;
 | 
					 | 
				
			||||||
  display: flex;
 | 
					 | 
				
			||||||
  align-items: center;
 | 
					 | 
				
			||||||
  justify-content: center; 
 | 
					 | 
				
			||||||
  overflow: hidden;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
.loginBox {
 | 
					.loginBox {
 | 
				
			||||||
  background-color: rgb(24,24,24);
 | 
					  background-color: rgb(24,24,24);
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										242
									
								
								frontend/src/Apps/Profil.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										242
									
								
								frontend/src/Apps/Profil.vue
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,242 @@
 | 
				
			|||||||
 | 
					<script setup>
 | 
				
			||||||
 | 
					  import {reactive} from 'vue'
 | 
				
			||||||
 | 
					  import {getUser,register} from '../rest/Users.js'
 | 
				
			||||||
 | 
					 /* 
 | 
				
			||||||
 | 
					  const user = getUser(); 
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					 const user =reactive({
 | 
				
			||||||
 | 
					  profilPicture:"../assets/clyde.png",
 | 
				
			||||||
 | 
					  lastName:"Ghost",
 | 
				
			||||||
 | 
					  firstName:"Clyde",
 | 
				
			||||||
 | 
					  role:"student",
 | 
				
			||||||
 | 
					  address: "Radiator Springs",
 | 
				
			||||||
 | 
					  email:"ClydeGhost@gmail.com",
 | 
				
			||||||
 | 
					  cursus:{
 | 
				
			||||||
 | 
					  cours1:{  "id": 12,
 | 
				
			||||||
 | 
					  "name": "Math pour l'info",
 | 
				
			||||||
 | 
					  "credits": 11,
 | 
				
			||||||
 | 
					  "faculty": "science",
 | 
				
			||||||
 | 
					  "teacher": 42,
 | 
				
			||||||
 | 
					  "Assistants": []},
 | 
				
			||||||
 | 
					  cours2:{ 
 | 
				
			||||||
 | 
					  "id": 42,
 | 
				
			||||||
 | 
					  "name": "Fonctionnement des ordinateurs",
 | 
				
			||||||
 | 
					  "credits": 11,
 | 
				
			||||||
 | 
					  "faculty": "science",
 | 
				
			||||||
 | 
					  "teacher": 42,
 | 
				
			||||||
 | 
					  "Assistants": []},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  option:"IT",
 | 
				
			||||||
 | 
					  degree:"BAC1",
 | 
				
			||||||
 | 
					  })
 | 
				
			||||||
 | 
					  /*
 | 
				
			||||||
 | 
					  Teacher user
 | 
				
			||||||
 | 
					  const user =reactive({
 | 
				
			||||||
 | 
					  profilPicture:"../assets/clyde.png",
 | 
				
			||||||
 | 
					  lastName:"Ghost",
 | 
				
			||||||
 | 
					  firstName:"Clyde",
 | 
				
			||||||
 | 
					  role:"teacher",
 | 
				
			||||||
 | 
					  address: "Radiator Springs",
 | 
				
			||||||
 | 
					  email:"ClydeGhost@gmail.com",
 | 
				
			||||||
 | 
					  coursesOwned:{
 | 
				
			||||||
 | 
					  cours1:{  
 | 
				
			||||||
 | 
					  "id": 12,
 | 
				
			||||||
 | 
					  "name": "Math pour l'info",
 | 
				
			||||||
 | 
					  "faculty": "science",
 | 
				
			||||||
 | 
					  "teacher": 42,
 | 
				
			||||||
 | 
					  "Assistants": []},
 | 
				
			||||||
 | 
					  cours2:{ 
 | 
				
			||||||
 | 
					  "id": 42,
 | 
				
			||||||
 | 
					  "name": "Fonctionnement des ordinateurs",
 | 
				
			||||||
 | 
					  "credits": 11,
 | 
				
			||||||
 | 
					  "faculty": "science",
 | 
				
			||||||
 | 
					  "teacher": 42,
 | 
				
			||||||
 | 
					  "Assistants": []},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  faculty:"Science",
 | 
				
			||||||
 | 
					  })*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<template>
 | 
				
			||||||
 | 
					  <div class="body">
 | 
				
			||||||
 | 
					  <div class="container">
 | 
				
			||||||
 | 
					    <div class="profilPic">
 | 
				
			||||||
 | 
					      <img class="subContainter" src="../assets/Clyde.png">
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					      <div class="globalInfos">
 | 
				
			||||||
 | 
					        <div  class="infosContainer" >
 | 
				
			||||||
 | 
					          <div>
 | 
				
			||||||
 | 
					            {{user.firstName}} {{user.lastName.toUpperCase()}}   
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
					          <div>
 | 
				
			||||||
 | 
					            E-mail: {{user.email}}      
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
					          <div v-if="user.role==='student'">
 | 
				
			||||||
 | 
					            {{user.option}} {{user.role.toUpperCase()}} 
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
					          <div v-else>
 | 
				
			||||||
 | 
					            Faculty: {{user.faculty}} 
 | 
				
			||||||
 | 
					            Role: {{user.role}}
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
					          <div>
 | 
				
			||||||
 | 
					            <button> Modifier données personnelles </button>
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
					          <div v-if="(user.role==='student')">
 | 
				
			||||||
 | 
					            <button>Réinscription</button>
 | 
				
			||||||
 | 
					            <button style="float:right;background-color:rgb(150,0,0);">Désinscription</button>
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					      <div class="moreInfos">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <div v-if="(user.role==='student')">
 | 
				
			||||||
 | 
					          <div class="listTitle">
 | 
				
			||||||
 | 
					           Liste des cours
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
					        <div  class="listElement "
 | 
				
			||||||
 | 
					          v-for="item in user.cursus">
 | 
				
			||||||
 | 
					          <div class=" containerElement">
 | 
				
			||||||
 | 
					            <div class="name"> {{item.name}} </div>
 | 
				
			||||||
 | 
					            <div class="teacher">{{item.teacher}}</div> 
 | 
				
			||||||
 | 
					            <div class="credits">Credits:{{item.credits}}</div>  
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					        <div>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					      <div v-if="(user.role==='teacher')">
 | 
				
			||||||
 | 
					          <div class="listTitle">
 | 
				
			||||||
 | 
					           Liste des cours
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
					          <div class="listElement " v-for="item in user.coursesOwned">
 | 
				
			||||||
 | 
					          {{item.name}}       
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					        <div>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					  </div>
 | 
				
			||||||
 | 
					</div>
 | 
				
			||||||
 | 
					</template>
 | 
				
			||||||
 | 
					<style scoped>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.container{
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  display:grid;
 | 
				
			||||||
 | 
					  grid-template-columns:200px 900px;
 | 
				
			||||||
 | 
					  grid-template-rows:200px auto;
 | 
				
			||||||
 | 
					  column-gap:30px;
 | 
				
			||||||
 | 
					  row-gap:25px;
 | 
				
			||||||
 | 
					  grid-template-areas:
 | 
				
			||||||
 | 
					  "profilPic globalInfos"
 | 
				
			||||||
 | 
					  "minfos minfos";
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.profilPic{
 | 
				
			||||||
 | 
					  grid-area:profilPic;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.globalInfos {
 | 
				
			||||||
 | 
					  grid-area:globalInfos;
 | 
				
			||||||
 | 
					  align-self :center;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.subContainter{
 | 
				
			||||||
 | 
					  width:100%;
 | 
				
			||||||
 | 
					  background-color:rgb(50,50,50);
 | 
				
			||||||
 | 
					  border-radius:20px;
 | 
				
			||||||
 | 
					  border:4px solid black;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.moreInfos {
 | 
				
			||||||
 | 
					  grid-area:minfos;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.body {
 | 
				
			||||||
 | 
					    width:100%;
 | 
				
			||||||
 | 
					    margin-bottom:10px;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					 .containerElement{ 
 | 
				
			||||||
 | 
					   justify-content:center;
 | 
				
			||||||
 | 
					    display:grid;
 | 
				
			||||||
 | 
					    grid-template-columns:350px 350px 200px;
 | 
				
			||||||
 | 
					    grid-template-areas:
 | 
				
			||||||
 | 
					    "name teacher credits"; 
 | 
				
			||||||
 | 
					    column-gap:10px;
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  .name {
 | 
				
			||||||
 | 
					    grid-area:name;
 | 
				
			||||||
 | 
					    align-self:center;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  .teacher{
 | 
				
			||||||
 | 
					    grid-area:teacher;
 | 
				
			||||||
 | 
					    align-self:center;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  .credits{
 | 
				
			||||||
 | 
					    grid-area:credits;
 | 
				
			||||||
 | 
					    align-self:center;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.listTitle{
 | 
				
			||||||
 | 
					    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;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.listElement{
 | 
				
			||||||
 | 
					  border:2px solid black;
 | 
				
			||||||
 | 
					  font-size:25px;
 | 
				
			||||||
 | 
					  color:white;
 | 
				
			||||||
 | 
					  padding:20px;
 | 
				
			||||||
 | 
					  background-color:rgb(50,50,50);
 | 
				
			||||||
 | 
					  border-radius:20px;
 | 
				
			||||||
 | 
					  margin-bottom:10px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.infosContainer {
 | 
				
			||||||
 | 
					padding-bottom:50px;
 | 
				
			||||||
 | 
					border:2px solid black;
 | 
				
			||||||
 | 
					font-size:25px;
 | 
				
			||||||
 | 
					color:white;
 | 
				
			||||||
 | 
					padding:20px;
 | 
				
			||||||
 | 
					background-color:rgb(50,50,50);
 | 
				
			||||||
 | 
					border-radius:20px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					button{
 | 
				
			||||||
 | 
					  border:none;
 | 
				
			||||||
 | 
					  background-color:rgb(239, 60, 168);
 | 
				
			||||||
 | 
					  border-radius:10px;
 | 
				
			||||||
 | 
					  height:35px;
 | 
				
			||||||
 | 
					  margin-top:10px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					button:hover{
 | 
				
			||||||
 | 
					  opacity:0.8;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					</style>
 | 
				
			||||||
@ -32,7 +32,7 @@
 | 
				
			|||||||
  .container{
 | 
					  .container{
 | 
				
			||||||
    color:white;
 | 
					    color:white;
 | 
				
			||||||
    height:100px;
 | 
					    height:100px;
 | 
				
			||||||
    font-size:20px;
 | 
					  font-size:20px;
 | 
				
			||||||
    display:grid;
 | 
					    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-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:
 | 
					    grid-template-areas:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user