diff --git a/src/app/modules/reporting/report/report-object/report-object.component.html b/src/app/modules/reporting/report/report-object/report-object.component.html index 0812227c..6346b671 100644 --- a/src/app/modules/reporting/report/report-object/report-object.component.html +++ b/src/app/modules/reporting/report/report-object/report-object.component.html @@ -31,149 +31,151 @@ {{queryDevice.display_name || queryDevice?.display_name}}/{{queryService.name}}/{{data.query!.columns[0].name}} -
-
- - Value - Query - - -
-
- - Device - - - - - - Service - - - - - - Path - - - {{path.value}} - - - - - Field Group Type - - {{type}} - - - -
- - Grouping Time - - - - - Grouping Time Unit - - {{units.desc}} - - - + +
+
+ + Value + Query + +
-
+
- Time Frame - - + Device + + + - Time Frame Unit - - {{units.desc}} - - + Service + + + -
-
- - Start Date - - DD/MM/YYYY - - - + + Path + + + {{path.value}} + + - - Rolling Start Date - - - Monat - Jahr + + Field Group Type + + {{type}} - - - - End Date - - DD/MM/YYYY - - - - - - Rolling End Date - - - Monat - Jahr - - + +
+ + Grouping Time + + + + + Grouping Time Unit + + {{units.desc}} + + + +
+
+ + Time Frame + + + + + Time Frame Unit + + {{units.desc}} + + + +
+
+ + Start Date + + DD/MM/YYYY + + + + + + Rolling Start Date + + + Monat + Jahr + + + + + End Date + + DD/MM/YYYY + + + + + + Rolling End Date + + + Monat + Jahr + + + +
-
-
-
- - {{ name }} String - - - -
-
- - {{ name }} Float64 - - - -
-
+
+
+ + {{ name }} String + + + +
+
+ + {{ name }} Float64 + + + +
+
- - -
-
- - + + +
+
+ + +
-
+ \ No newline at end of file diff --git a/src/app/modules/reporting/report/report.component.html b/src/app/modules/reporting/report/report.component.html index dd3060e8..a59b0dba 100644 --- a/src/app/modules/reporting/report/report.component.html +++ b/src/app/modules/reporting/report/report.component.html @@ -15,77 +15,80 @@ -->
-
-
- - -
-
-
-
- calendar_today{{report.createdAt| date:"medium"}} - update{{report.updatedAt| date:"medium"}} + +
+
+
+ + +
- - -
-
- Template Name: {{ template.name }} Id: {{templateId}} -
- - Report Name - - - - - Cron Schedule - - - - - E-Mail Subject - - - - - E-Mail Text - - - - - E-Mail HTML - - - -
+
+
+ calendar_today{{report.createdAt| date:"medium"}} + update{{report.updatedAt| date:"medium"}} +
+ + +
+
+ Template Name: {{ template.name }} Id: {{templateId}} +
+ + Report Name + + + - E-Mail Address - - + Cron Schedule + + - + + E-Mail Subject + + + + + E-Mail Text + + + + + E-Mail HTML + + + +
+ + E-Mail Address + + + + +
+
- -
- - + + -
- - +
+ + +
+
-
\ No newline at end of file diff --git a/src/app/modules/reporting/report/report.component.ts b/src/app/modules/reporting/report/report.component.ts index 58e93934..2cc62dec 100644 --- a/src/app/modules/reporting/report/report.component.ts +++ b/src/app/modules/reporting/report/report.component.ts @@ -29,6 +29,7 @@ import { ActivatedRoute, Router } from '@angular/router'; import { DeviceInstancesService } from '../../devices/device-instances/shared/device-instances.service'; import { DeviceInstanceModel } from '../../devices/device-instances/shared/device-instances.model'; import { number } from 'yargs'; +import {Observable} from 'rxjs'; @Component({ selector: 'senergy-reporting-new', @@ -83,6 +84,7 @@ export class ReportComponent implements OnInit { if (resp2 !== null) { this.template.name = resp2.data.name; } + this.ready = true; }); } }); @@ -92,9 +94,9 @@ export class ReportComponent implements OnInit { if (resp !== null) { this.template = resp.data; } + this.ready = true; }); } - this.ready = true; } create() {