diff --git a/src/app/components/login/login.component.html b/src/app/components/login/login.component.html index 0f6cae32..476cf420 100644 --- a/src/app/components/login/login.component.html +++ b/src/app/components/login/login.component.html @@ -1,17 +1,30 @@
-

Login

-
-
- - +
+
+ +

Welcome to VoteMonitor

+ +
{{ 'LOGIN' | translate }}:
+
+
+ + +
+
+ + +
+

+ {{'CREDENTIALS_INVALID' | translate}} +

+ +
-
- - -
-

- Credentials are invalid -

- - +
diff --git a/src/app/components/login/login.component.scss b/src/app/components/login/login.component.scss index e69de29b..672f5bf8 100644 --- a/src/app/components/login/login.component.scss +++ b/src/app/components/login/login.component.scss @@ -0,0 +1,37 @@ +.container { + .header{ + height: 70vh; + h4 { + margin:2rem 0; + } + .logo { + background: #fbd844; + border-radius: 50%; + height:200px; + width:200px; + img { + width:200px; + } + } + } + form { + background-color:#fff; + -webkit-box-shadow: 0px 0px 15px 5px rgba(204,204,204,1); + -moz-box-shadow: 0px 0px 15px 5px rgba(204,204,204,1); + box-shadow: 0px 0px 15px 5px rgba(204,204,204,1); + border-radius: 0.5rem; + width:450px; + + hr { + width: calc(100% + 3rem); + margin-left: -1.5rem; + margin-right: -1.5rem; + } + + label { + color:rgba(0, 0, 0, 0.7); + } + + + } +} \ No newline at end of file diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 3fbb3afb..f3cc387e 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -1,4 +1,5 @@ { + "LOGIN": "Login", "PHONE_NUMBER": "Phone Number", "ARRIVAL_TIME": "Arrival Time", "DEPARTURE_TIME": "Departure Time", @@ -74,9 +75,11 @@ "SEND_NOTIFICATIONS_TO": "Send notification to", "SEND_NOTIFICATIONS_TO_ALL": "Send notification to all", "RESET": "Clear filter", + "PASSWORD": "Password", "ENTER_NEW_PASSWORD": "Enter new pin for observer: ", "RESET_PASSWORD": "Reset password", "DOWNLOAD_ANSWERS": "Download answers", + "CREDENTIALS_INVALID": "Credentials are invalid", "FROM": "From", "TO": "To", "ANSWERS_DOWNLOAD_CONFIRMATION": "Are you sure you want to launch a data download request?", diff --git a/src/assets/i18n/ro.json b/src/assets/i18n/ro.json index 42785242..7593ca2e 100644 --- a/src/assets/i18n/ro.json +++ b/src/assets/i18n/ro.json @@ -1,4 +1,5 @@ { + "LOGIN": "Autentificare", "PHONE_NUMBER": "Numar de telefon", "ARRIVAL_TIME": "Ora sosirii", "DEPARTURE_TIME": "Ora plecarii", @@ -75,5 +76,7 @@ "FLAG_OPTION": "Opțiunea de semnalizare", "UNFLAG_OPTION": "Opțiunea Unflag", + "PASSWORD": "Parola", + "CREDENTIALS_INVALID": "Acreditările sunt nevalide", "LOGOUT": "Deconectare" } diff --git a/src/assets/vote_monitor_trans_lg.png b/src/assets/vote_monitor_trans_lg.png new file mode 100644 index 00000000..7d9bfa81 Binary files /dev/null and b/src/assets/vote_monitor_trans_lg.png differ diff --git a/src/styles.scss b/src/styles.scss index 28004f6c..ad8fa1d0 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -3,6 +3,10 @@ @import "../node_modules/bootstrap/scss/bootstrap.scss"; +body { + background-color:#f6f6f6; +} + .cursor-pointer { cursor: pointer; }