Ajout register + quelques options #63

Merged
tonitch merged 14 commits from wal/frontend/Register into master 2024-03-08 21:24:11 +01:00
Showing only changes of commit 34a36f8b1e - Show all commits

View File

@ -2,11 +2,10 @@
import { ref } from 'vue' import { ref } from 'vue'
import i18n from './i18n.js' import i18n from './i18n.js'
const formname = i18n(login.guest.forname)
const login= ref(true) const login= ref(true)
const page = ref(0) const page = ref(0)
const message = ref("") const message = ref(i18n("login.guest.login") )
</script> </script>
@ -19,8 +18,7 @@
<div class="form"> <div class="form">
<h1 style="color:rgb(239,60,168); font-family: sans-serif;">SIGN IN</h1> <h1 style="color:rgb(239,60,168); font-family: sans-serif;">SIGN IN</h1>
<div class="inputBox"> <div class="inputBox">
<p>USERNAME</p> <p>USERNAME</p>
<input type="text" required> <input type="text" required>
</div> </div>
<div class="inputBox"> <div class="inputBox">
@ -40,13 +38,13 @@
<div class="form"> <div class="form">
<h1 style="color:rgb(239,60,168); font-family: sans-serif; text-align:center;">WELCOME TO THE UNIVERSITY</h1> <h1 style="color:rgb(239,60,168); font-family: sans-serif; text-align:center;">WELCOME TO THE UNIVERSITY</h1>
<div v-if="page=== 0"> <div v-if="page === 0">
<div class="inputBox"> <div class="inputBox">
<p>LASTNAME</p> <p>LASTNAME</p>
<input type="text" required> <input type="text" required>
</div> </div>
<div class="inputBox"> <div class="inputBox">
<p>{{ forname }}</p> <p>{{ message }}</p>
<input type="text" required> <input type="text" required>
</div> </div>
<div class="inputBox"> <div class="inputBox">