From 6f496eb659fb7897f0a7ac5c0474d391c8723fce Mon Sep 17 00:00:00 2001 From: = Date: Thu, 9 Jul 2020 10:16:24 +0200 Subject: [PATCH] fix modale di login e progress --- Thermo.Active/wwwroot/assets/styles/base/modals.less | 3 +++ Thermo.Active/wwwroot/assets/styles/style.css | 3 +++ Thermo.Active/wwwroot/src/store/machineStatus.store.ts | 4 ++-- Thermo.Active/wwwroot/webpack.config.js | 3 ++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Thermo.Active/wwwroot/assets/styles/base/modals.less b/Thermo.Active/wwwroot/assets/styles/base/modals.less index 16ca2df9..713b3c85 100644 --- a/Thermo.Active/wwwroot/assets/styles/base/modals.less +++ b/Thermo.Active/wwwroot/assets/styles/base/modals.less @@ -1154,6 +1154,9 @@ -webkit-backdrop-filter: blur(10px); background-color: @color-backdrop; z-index: 1001; + display: flex; + align-items: center; + justify-content: center; &.nc { z-index: 700; diff --git a/Thermo.Active/wwwroot/assets/styles/style.css b/Thermo.Active/wwwroot/assets/styles/style.css index 3a85f4c3..186c561b 100644 --- a/Thermo.Active/wwwroot/assets/styles/style.css +++ b/Thermo.Active/wwwroot/assets/styles/style.css @@ -1324,6 +1324,9 @@ article .box .body { -webkit-backdrop-filter: blur(10px); background-color: rgba(217, 217, 217, 0.5); z-index: 1001; + display: flex; + align-items: center; + justify-content: center; } .backdrop.nc { z-index: 700; diff --git a/Thermo.Active/wwwroot/src/store/machineStatus.store.ts b/Thermo.Active/wwwroot/src/store/machineStatus.store.ts index 62e1a787..76f89d0b 100644 --- a/Thermo.Active/wwwroot/src/store/machineStatus.store.ts +++ b/Thermo.Active/wwwroot/src/store/machineStatus.store.ts @@ -196,8 +196,8 @@ export const machineStatusStore = { SetGauge(store, model) { store.gaugeData = model; - store._adv += .1; - store.gaugeData.timeAdv.value = store._adv; + // store._adv += .1; + // store.gaugeData.timeAdv.value = store._adv; } }, actions: { diff --git a/Thermo.Active/wwwroot/webpack.config.js b/Thermo.Active/wwwroot/webpack.config.js index bde3fe95..7cc47298 100644 --- a/Thermo.Active/wwwroot/webpack.config.js +++ b/Thermo.Active/wwwroot/webpack.config.js @@ -35,7 +35,8 @@ module.exports = { devServer: { contentBase: __dirname, historyApiFallback: true, - port: 8900 + port: 8900, + host: "0.0.0.0" // hot: true, }, entry: ['./src/main.ts'],