fix style dashboard

This commit is contained in:
Francesco Guerrieri
2020-05-15 15:09:11 +02:00
parent c14e24caa2
commit 627fd320ae
7 changed files with 9 additions and 24 deletions
@@ -7,16 +7,9 @@
height: 100%;
width: 100%;
background-image: url("../../assets/icons/png/bg.png");
// section{
// display: flex;
// .specific{
// display: flex;
// flex-direction: column;
// div{
// display: flex;
// }
// }
// }
position: fixed;
z-index: 1001;
.ribbon-container{
height: 80px;
z-index: 900;
@@ -18,6 +18,7 @@ html {
position: absolute;
top: 50%;
right: 0;
z-index: 1000;
}
@@ -3674,6 +3674,8 @@
height: 100%;
width: 100%;
background-image: url("../../assets/icons/png/bg.png");
position: fixed;
z-index: 1001;
}
.dashboard .ribbon-container {
height: 80px;
@@ -4196,6 +4198,7 @@ body {
position: absolute;
top: 50%;
right: 0;
z-index: 1000;
}
.text-head-sidebar {
margin: 10px auto;
-2
View File
@@ -162,7 +162,6 @@ export default class app extends Vue {
}
get statusDashboard(){
debugger
return this.$store.state.isShowDashboard;
}
@@ -243,7 +242,6 @@ export default class app extends Vue {
}
toogleDashboard(){
debugger
this.showDashboard = true;
}
@@ -5,7 +5,7 @@ import { messageService } from '@/_base';
import { ModalHelper } from '@/components/modals';
import AppRibbon from "@/components/app-ribbon.vue";
import moment from "moment";
import { AppModel } from '@/store';
import { AppModel, appModelActions } from '@/store';
import { getColorFromName,isDarkColor } from "@/_base/utils";
import ArchInterface from "../components/arch-interface/arch-interface.vue";
@@ -27,9 +27,6 @@ export default class Dashboard extends Vue{
public monthIt: string = moment(new Date()).locale('it').format('MMMM');
created(){
// document.getElementsByTagName('header')[0].setAttribute("style","position:unset");
// document.getElementsByClassName('window-buttons')[0].setAttribute("style","position:unset");
this.updateTime();
// Ora aggiornata ogni 10 secondi
window.setInterval(() => {
@@ -139,11 +136,7 @@ export default class Dashboard extends Vue{
}
close() {
// messageService.deleteChannel("esc_pressed");
this.$router.push('/setup');
document.getElementsByTagName('header')[0].setAttribute("style","position:absolute");
document.getElementsByClassName('window-buttons')[0].setAttribute("style","position:fixed");
// ModalHelper.HideModal();
appModelActions.ShowDashboard(this.$store);
};
}
@@ -17,7 +17,6 @@ export default class Setup extends Vue {
}
showDashboard() {
debugger
appModelActions.ShowDashboard(this.$store);
}
}
@@ -105,7 +105,6 @@ const _store = {
state.currentUser.language = newlanguage;
},
setShowDashboard(state) {
debugger
state.isShowDashboard = !state.isShowDashboard;
}
},
@@ -128,7 +127,6 @@ const _store = {
context.commit("favSoftkey", false);
},
ShowDashboard(context){
debugger
context.commit("setShowDashboard");
},
SetCurrentUser(context, userinfo) {