From bf34f23aa77731e4a8c8bf6ece51cd2cb72c0024 Mon Sep 17 00:00:00 2001 From: Mohammad Foroughi Date: Sun, 30 Oct 2022 00:52:47 +0330 Subject: [PATCH] update: add a select box to select lang --- web/html/login.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/web/html/login.html b/web/html/login.html index 554fb318..5138f15e 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -26,6 +26,12 @@ padding-left: 50px; } + .selectLang{ + display: flex; + text-align: center; + justify-content: center; + } + @@ -53,6 +59,29 @@ {{ i18n "login" }} + + + + + Language : + + + + + +    + + + + + + + + @@ -73,6 +102,10 @@ data: { loading: false, user: new User(), + lang : "" + }, + created(){ + this.lang = getLang(); }, methods: { async login() {