i18n try
This commit is contained in:
parent
2a558e40cb
commit
34a36f8b1e
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user