Fixed some css
This commit is contained in:
@ -53,18 +53,22 @@
|
||||
async function uploadPP(arg){
|
||||
const data = await uploadProfilePicture(arg);
|
||||
ppData = data.url;
|
||||
console.log(ppData);
|
||||
}
|
||||
|
||||
//This functions makes the distinction between a master cursus (year 4 or more) and a bachelor cursus (year 3 or less)
|
||||
function getCursusDisplay(cursus){
|
||||
if (cursus.year <= 3){
|
||||
return "BAB " + cursus.year + " " + cursus.option;
|
||||
return cursus.curriculumId + " BAB " + cursus.year + " " + cursus.option;
|
||||
}else{
|
||||
return "MA" + (parseInt(cursus.year)-3).toString() + " " + cursus.option;
|
||||
return cursus.curriculumId + " MA" + (parseInt(cursus.year)-3).toString() + " " + cursus.option;
|
||||
}
|
||||
}
|
||||
|
||||
//This function return the id of a decorated cursus (decorated by the function up)
|
||||
function parseDecoratedCursus(cursus){
|
||||
let id = cursus.substring(0, cursus.indexOf(" ")+1);
|
||||
return id;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@ -164,7 +168,7 @@
|
||||
changer de cursus/réinscription sinon continuez ici.
|
||||
</p>
|
||||
<div style="align-self:center;" class="inputBox">
|
||||
<button style="margin-top:25px;" @click="page++; register(outputs.firstname, outputs.surname, outputs.birthday, outputs.password, outputs.email, outputs.address, outputs.country, outputs.curriculum, ppData, null, new Date());">
|
||||
<button style="margin-top:25px;" @click="page++; register(outputs.firstname, outputs.surname, outputs.birthday, outputs.password, outputs.email, outputs.address, outputs.country, parseDecoratedCursus(outputs.curriculum), ppData, null, new Date());">
|
||||
{{i18n("login.guest.nextpage")}}
|
||||
</button>
|
||||
</div>
|
||||
@ -249,7 +253,6 @@
|
||||
|
||||
.switchpage{
|
||||
width:100px;
|
||||
background:rgb(255, 0,255);
|
||||
border: none;
|
||||
padding-right:0;
|
||||
padding-top:10px;
|
||||
|
Reference in New Issue
Block a user