1
0
forked from PGL/Clyde
This commit is contained in:
2024-03-17 23:19:36 +01:00
parent 7e7cec2f6c
commit 8ff29ca34e
20 changed files with 114 additions and 122 deletions

View File

@ -20,7 +20,7 @@
const email=ref("")
const address=ref("")
const country=ref("")
const curriculum=ref("")
let curriculum;
const imageSaved = ref(false)
const ppData = ref(false)
@ -29,7 +29,6 @@
function goBackHome(){
setTimeout(() => {
console.log("Delayed for 1 second.");
window.location.href="#/home";
}, "500");
}
@ -48,6 +47,8 @@
disconnect();
window.location.reload();}
</script>
@ -129,14 +130,14 @@
<input type="file" :disabled="imageSaved" @change="ppData = uploadProfilePicture($event.target.files); imageSaved = true;" accept="image/*">
</form>
<div class="inputBox">
<p>{{i18n("curriculum").toUpperCase()}}</p>
<p>{{i18n("Curriculum").toUpperCase()}}</p>
<select v-model="curriculum">
<option v-for="item in curricula">{{item.option}}</option>
<option v-for="item in curricula">{{item.curriculumId}}</option>
</select>
</div>
<div style="align-self:center;" class="inputBox">
<button style="margin-top:25px;" @click="console.log(outputs);register(firstname, surname, birthday, password, mail, address, country, curriculum);goBackHome();">
<button style="margin-top:25px;" @click="console.log(curriculum);register(firstname, surname, birthday, password, mail, address, country, curriculum);">
{{i18n("login.guest.submit")}}
</button>
</div>