Register
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user