buttons
This commit is contained in:
@@ -39,6 +39,11 @@
|
||||
color: white;
|
||||
}
|
||||
|
||||
button.dark-blue{
|
||||
background-color: @color-darkish-blue;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.user-info{
|
||||
display: flex;
|
||||
position: absolute;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Vendored
+1
-1
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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user