From 4d314636883b16cdfd01ec4561ecf3c7172a3374 Mon Sep 17 00:00:00 2001 From: = Date: Mon, 28 Sep 2020 09:16:06 +0200 Subject: [PATCH 1/2] tempo trascorso + production hub --- .../src/app_modules_thermo/dashboard/dashboard.vue | 2 +- Thermo.Active/wwwroot/src/services/hub.ts | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/dashboard/dashboard.vue b/Thermo.Active/wwwroot/src/app_modules_thermo/dashboard/dashboard.vue index 61b12591..47e9e4e3 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/dashboard/dashboard.vue +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/dashboard/dashboard.vue @@ -95,7 +95,7 @@
{{'dashboard-timing-elapsed' | localize('tempo trascorso')}} - +
{{'dashboard-timing-end' | localize('fine')}} diff --git a/Thermo.Active/wwwroot/src/services/hub.ts b/Thermo.Active/wwwroot/src/services/hub.ts index 2e7535f9..e7ec2536 100644 --- a/Thermo.Active/wwwroot/src/services/hub.ts +++ b/Thermo.Active/wwwroot/src/services/hub.ts @@ -76,10 +76,15 @@ export class Hub { console.log('SignalrAdapter: ' + error, exc); }; - if (!PRODUCTION) { - try { $.connection.hub.logging = true; } catch { } - try { $.connection.ncHub.logging = true; } catch { } - } + try { $.connection.hub.logging = true; } catch { } + try { $.connection.ncHub.logging = true; } catch { } + + try { + if (PRODUCTION) { + try { $.connection.hub.logging = false; } catch { } + try { $.connection.ncHub.logging = false; } catch { } + } + } catch { } // Registro le callback; this._hub.client.alarms = this.manageAlarmsCallbacks; From da8744de56efebfb258543eb39a4aaab2c8ec316 Mon Sep 17 00:00:00 2001 From: = Date: Mon, 28 Sep 2020 09:18:12 +0200 Subject: [PATCH 2/2] fix dashboard time layut --- Thermo.Active/wwwroot/assets/styles/base/dashboard.less | 2 +- Thermo.Active/wwwroot/assets/styles/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Thermo.Active/wwwroot/assets/styles/base/dashboard.less b/Thermo.Active/wwwroot/assets/styles/base/dashboard.less index 378686c0..b92fe789 100644 --- a/Thermo.Active/wwwroot/assets/styles/base/dashboard.less +++ b/Thermo.Active/wwwroot/assets/styles/base/dashboard.less @@ -173,7 +173,7 @@ } time { - font-size: 120px; + font-size: 100px; font-weight: 300; z-index: 1; max-height: 140px; diff --git a/Thermo.Active/wwwroot/assets/styles/style.css b/Thermo.Active/wwwroot/assets/styles/style.css index f330564b..7898bcf3 100644 --- a/Thermo.Active/wwwroot/assets/styles/style.css +++ b/Thermo.Active/wwwroot/assets/styles/style.css @@ -4347,7 +4347,7 @@ article .box .body { .dashboard .first_col .timing-area .start time, .dashboard .first_col .timing-area .current time, .dashboard .first_col .timing-area .end time { - font-size: 120px; + font-size: 100px; font-weight: 300; z-index: 1; max-height: 140px;