This commit is contained in:
Paolo Possanzini
2017-12-07 11:02:28 +01:00
parent 1336e03aeb
commit 94de2a49ae
5 changed files with 18 additions and 5 deletions
@@ -39,6 +39,11 @@
color: white;
}
button.dark-blue{
background-color: @color-darkish-blue;
color: white;
}
.user-info{
display: flex;
position: absolute;
+4
View File
@@ -246,6 +246,10 @@ button.btn.btn-success:active {
background-color: #1791ff;
color: white;
}
#app > header button.dark-blue {
background-color: #002680;
color: white;
}
#app > header .user-info {
display: flex;
position: absolute;
+1 -1
View File
File diff suppressed because one or more lines are too long
@@ -1,5 +1,6 @@
<template>
<div class="user-info">
<time>
<i class="fa fa-clock-o"></i>
<span>{{hours}}:{{minutes}}</span>
+7 -4
View File
@@ -14,11 +14,14 @@ export default class Login extends Vue {
public isVisible: boolean = true;
async doLogin() {
var service = Factory.Get(LoginService);
await service.doLogin(this.user);
this.hasError = !service.isAuthenticated;
this.isVisible = !service.isAuthenticated;
this.isVisible = false;
// var service = Factory.Get(LoginService);
// await service.doLogin(this.user);
// this.hasError = !service.isAuthenticated;
// this.isVisible = !service.isAuthenticated;
}
}