diff --git a/build-locale.sh b/build-locale.sh index 9b516121..6df0f5ee 100755 --- a/build-locale.sh +++ b/build-locale.sh @@ -2,10 +2,12 @@ src/locale/main/*.en-US.xlf \ src/locale/widgets/*.en-US.xlf \ src/locale/dashboard/*.en-US.xlf \ + src/locale/projects/*.en-US.xlf \ -o src/locale/translations.en-US.xlf ./node_modules/xlf-merge/index.js \ src/locale/main/*.it-IT.xlf \ src/locale/widgets/*.it-IT.xlf \ src/locale/dashboard/*.it-IT.xlf \ + src/locale/projects/*.it-IT.xlf \ -o src/locale/translations.it-IT.xlf diff --git a/src/app/pages/projects/project-card/project-card.component.html b/src/app/pages/projects/project-card/project-card.component.html new file mode 100644 index 00000000..1d88694a --- /dev/null +++ b/src/app/pages/projects/project-card/project-card.component.html @@ -0,0 +1,36 @@ + + + +
+

{{ project.name }}

+
+ + +
+
+

{{ project.name }}

+
+
+

{{ project.description }}

+
+ devices_other + {{ deviceCount }} + HYT_string_device +
+
+ code + {{ rulesCount }} + HYT_string_rule +
+
+ +
+ +
diff --git a/src/app/pages/projects/project-card/project-card.component.scss b/src/app/pages/projects/project-card/project-card.component.scss new file mode 100644 index 00000000..6d599376 --- /dev/null +++ b/src/app/pages/projects/project-card/project-card.component.scss @@ -0,0 +1,25 @@ +mat-card { + background: whitesmoke; + width: 200px; + height: 260px; + margin: 8px; + border-radius: 6px; +} +mat-card:hover { + background: white; +} +h3 { + margin: 0; +} +.multiline-ellipsis { + font-size: 80%; + max-width: 100%; + height: 60px; + margin: 8px auto; + display: block; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; +} \ No newline at end of file diff --git a/src/app/pages/projects/project-card/project-card.component.spec.ts b/src/app/pages/projects/project-card/project-card.component.spec.ts new file mode 100644 index 00000000..16eae209 --- /dev/null +++ b/src/app/pages/projects/project-card/project-card.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ProjectCardComponent } from './project-card.component'; + +describe('ProjectCardComponent', () => { + let component: ProjectCardComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ ProjectCardComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(ProjectCardComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/pages/projects/project-card/project-card.component.ts b/src/app/pages/projects/project-card/project-card.component.ts new file mode 100644 index 00000000..cc338f09 --- /dev/null +++ b/src/app/pages/projects/project-card/project-card.component.ts @@ -0,0 +1,41 @@ +import { Component, OnInit, Input } from '@angular/core'; +import { HProject, HDevice, HdevicesService, RulesService, Rule } from '@hyperiot/core'; + +@Component({ + selector: 'hyt-project-card', + templateUrl: './project-card.component.html', + styleUrls: ['./project-card.component.scss'] +}) +export class ProjectCardComponent implements OnInit { + @Input() project: HProject; + isActive = false; + deviceCount = 0; + rulesCount = 0; + activeTimeout; + + constructor( + private hDeviceService: HdevicesService, + private ruleService: RulesService + ) { } + + ngOnInit() { + this.hDeviceService.findAllHDevice().subscribe((deviceList: HDevice[]) => { + deviceList.forEach((d: HDevice) => { + d.project && d.project.id === this.project.id && this.deviceCount++; + }); + }); + this.ruleService.findAllRule().subscribe((ruleList: Rule[]) => { + ruleList.forEach((r: Rule) => { + r.project && r.project.id === this.project.id && this.rulesCount++; + }); + }); + } + + setActive(active) { + if (this.activeTimeout) { + clearTimeout(this.activeTimeout); + } + this.activeTimeout = setTimeout(() => this.isActive = active, 10); + } + +} diff --git a/src/app/pages/projects/projects.component.html b/src/app/pages/projects/projects.component.html index ae959d86..e2237c2f 100644 --- a/src/app/pages/projects/projects.component.html +++ b/src/app/pages/projects/projects.component.html @@ -7,11 +7,11 @@
-
+
loading
-
+
@@ -24,9 +24,16 @@
ID{{proj.user.username}}
+ +

Projects List

+
+ + +
+
-
+
Non ci sono progetti. Devi aggiungerne uno. @@ -40,7 +47,7 @@
-
+
Errore
diff --git a/src/app/pages/projects/projects.component.ts b/src/app/pages/projects/projects.component.ts index 8610f85d..2d613443 100644 --- a/src/app/pages/projects/projects.component.ts +++ b/src/app/pages/projects/projects.component.ts @@ -3,6 +3,7 @@ import { Router } from '@angular/router'; import { PageStatus } from './models/pageStatus'; import { HProject, HprojectsService } from '@hyperiot/core'; + @Component({ selector: 'hyt-projects', templateUrl: './projects.component.html', @@ -10,7 +11,7 @@ import { HProject, HprojectsService } from '@hyperiot/core'; encapsulation: ViewEncapsulation.None }) export class ProjectsComponent implements OnInit { - + PageStatus = PageStatus; pageStatus: PageStatus = PageStatus.Loading; hProjects: HProject[] = []; @@ -24,18 +25,18 @@ export class ProjectsComponent implements OnInit { this.hProjectService.findAllHProject().subscribe( res => { this.hProjects = res; - this.hProjects = []; - this.pageStatus = (this.hProjects.length != 0) ? PageStatus.Standard : PageStatus.New; + this.pageStatus = (this.hProjects.length !== 0) + ? PageStatus.Standard + : PageStatus.New; }, err => { - console.log(err) + console.log(err); this.pageStatus = PageStatus.Error; } - ) + ); } addProject() { this.router.navigate(['/project-wizard']); } - } diff --git a/src/app/pages/projects/projects.module.ts b/src/app/pages/projects/projects.module.ts index 199ae713..fcf29bd3 100644 --- a/src/app/pages/projects/projects.module.ts +++ b/src/app/pages/projects/projects.module.ts @@ -12,6 +12,10 @@ import { ProjectStepComponent } from './project-wizard/project-step/project-step import { StatisticsStepComponent } from './project-wizard/statistics-step/statistics-step.component'; import { EnrichmentStepComponent } from './project-wizard/enrichment-step/enrichment-step.component'; +import { MatIconModule } from '@angular/material/icon'; +import { MatCardModule, MatButtonModule } from '@angular/material'; + +import { ProjectCardComponent } from './project-card/project-card.component'; @NgModule({ @@ -24,9 +28,13 @@ import { EnrichmentStepComponent } from './project-wizard/enrichment-step/enrich PacketsStepComponent, ProjectStepComponent, StatisticsStepComponent, - EnrichmentStepComponent + EnrichmentStepComponent, + ProjectCardComponent ], imports: [ + MatIconModule, + MatButtonModule, + MatCardModule, CommonModule, HyperiotComponentsModule, ReactiveFormsModule diff --git a/src/locale/projects/translations.en-US.xlf b/src/locale/projects/translations.en-US.xlf new file mode 100644 index 00000000..a8bbb6a5 --- /dev/null +++ b/src/locale/projects/translations.en-US.xlf @@ -0,0 +1,28 @@ + + + + + + HYT_string_device + Device{{ deviceCount > 1 ? 's' : '' }} + + app/pages/projects/project-card/project-card.component.html + + + + HYT_string_rule + Rule{{ rulesCount > 1 ? 's' : '' }} + + app/pages/projects/project-card/project-card.component.html + + + + HYT_button_view + View + + app/pages/projects/project-card/project-card.component.html + + + + + diff --git a/src/locale/projects/translations.it-IT.xlf b/src/locale/projects/translations.it-IT.xlf new file mode 100644 index 00000000..7b0e1241 --- /dev/null +++ b/src/locale/projects/translations.it-IT.xlf @@ -0,0 +1,28 @@ + + + + + + HYT_string_device + Dispositiv{{ deviceCount > 1 ? 'i' : 'o' }} + + app/pages/projects/project-card/project-card.component.html + + + + HYT_string_rule + Regol{{ rulesCount > 1 ? 'e' : 'a' }} + + app/pages/projects/project-card/project-card.component.html + + + + HYT_button_view + Visualizza + + app/pages/projects/project-card/project-card.component.html + + + + + diff --git a/src/locale/projects/translations.xlf b/src/locale/projects/translations.xlf new file mode 100644 index 00000000..ca43d444 --- /dev/null +++ b/src/locale/projects/translations.xlf @@ -0,0 +1,25 @@ + + + + + + HYT_string_device + + app/pages/projects/project-card/project-card.component.html + + + + HYT_string_rule + + app/pages/projects/project-card/project-card.component.html + + + + HYT_button_view + + app/pages/projects/project-card/project-card.component.html + + + + + diff --git a/src/locale/translations.en-US.xlf b/src/locale/translations.en-US.xlf index f22ffe79..5875171f 100644 --- a/src/locale/translations.en-US.xlf +++ b/src/locale/translations.en-US.xlf @@ -1 +1 @@ -HYT_widget_add_widgetAdd Widgetsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_introSeleziona uno o più widget da aggiungere alla dashboard.. etc.. etc...src/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_descriptionDescriptionsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_typeTypesrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_quantityQuantitysrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_moreMoresrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_lessLesssrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_addAddsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_cancelCancelsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_dashboard_saveSavesrc/app/dashboard/dashboard-view/dashboard-view.component.htmlHYT_dashboard_add_widgetAdd widgetsrc/app/dashboard/dashboard-view/dashboard-view.component.htmlHYT_widget_settings_titleWidget Settingssrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_nameNamesrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_typeTypesrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_applyApplysrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_cancelCancelsrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_select_packetSelect packetsrc/app/dashboard/widget-settings-dialog/packet-select/packet-select.component.htmlHYT_widget_settings_select_fieldsSelect {multiPacketSelect?1:0, plural, =0 {field} other {fields}}src/app/dashboard/widget-settings-dialog/packet-select/packet-select.component.htmlHYT_toolbar_playPlayproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_pausePauseproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_chart_viewChart Viewproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_table_viewTable Viewproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_settingsSettingsproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_refreshRefreshproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_closeCloseproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_moveMoveproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_common_not_configuredClick 'Settings' button to configure.HYT_usernameUsernamesrc/app/pages/authentication/login/login.component.html33src/app/pages/authentication/registration/registration.component.html43HYT_passwordPasswordsrc/app/pages/authentication/login/login.component.html41src/app/pages/authentication/registration/registration.component.html55HYT_registrationSign Insrc/app/pages/authentication/registration/registration.component.html21HYT_nameNamesrc/app/pages/authentication/registration/registration.component.html31HYT_surnameSurnamesrc/app/pages/authentication/registration/registration.component.html37HYT_emailEmailsrc/app/pages/authentication/registration/registration.component.html49HYT_passwordConfirmConfirm passwordsrc/app/pages/authentication/registration/registration.component.html63HYT_registration_buttonSign Insrc/app/pages/authentication/registration/registration.component.html81HYT_registration_form_okPlease click on the link that has just been sent to your email account to complete the registration processsrc/app/pages/authentication/registration/registration.component.html85HYT_server_error_500Internal errorsrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_offline_504You seem to be offline. Please check your network connectionsrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_duplicate_entityalready in usesrc/app/services/authentication-http-error-handler.service.ts1HYT_unknown_errorError executing your requestsrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_wrong_user_or_passwordwrong username or passwordsrc/app/services/authentication-http-error-handler.service.ts1HYT_field_requiredThis field is mandatoryC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_valid_emailPlease enter a valid email addressC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_min_lengthAt least 8 character lengthC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_min_one_numberAt least one numberC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_upper_caseAt least one uppercase characterC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_special_charAt least one special characterC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1 \ No newline at end of file +HYT_string_deviceDevice{{ deviceCount > 1 ? 's' : '' }}app/pages/projects/project-card/project-card.component.htmlHYT_string_ruleRule{{ rulesCount > 1 ? 's' : '' }}app/pages/projects/project-card/project-card.component.htmlHYT_button_viewViewapp/pages/projects/project-card/project-card.component.htmlHYT_widget_add_widgetAdd Widgetsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_introSeleziona uno o più widget da aggiungere alla dashboard.. etc.. etc...src/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_descriptionDescriptionsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_typeTypesrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_quantityQuantitysrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_moreMoresrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_lessLesssrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_addAddsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_cancelCancelsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_dashboard_saveSavesrc/app/dashboard/dashboard-view/dashboard-view.component.htmlHYT_dashboard_add_widgetAdd widgetsrc/app/dashboard/dashboard-view/dashboard-view.component.htmlHYT_widget_settings_titleWidget Settingssrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_nameNamesrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_typeTypesrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_applyApplysrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_cancelCancelsrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_select_packetSelect packetsrc/app/dashboard/widget-settings-dialog/packet-select/packet-select.component.htmlHYT_widget_settings_select_fieldsSelect {multiPacketSelect?1:0, plural, =0 {field} other {fields}}src/app/dashboard/widget-settings-dialog/packet-select/packet-select.component.htmlHYT_toolbar_playPlayproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_pausePauseproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_chart_viewChart Viewproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_table_viewTable Viewproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_settingsSettingsproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_refreshRefreshproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_closeCloseproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_toolbar_moveMoveproject/widgets/src/lib//common-toolbar/common-toolbar.component.htmlHYT_common_not_configuredClick 'Settings' button to configure.HYT_usernameUsernamesrc/app/pages/authentication/login/login.component.html33src/app/pages/authentication/registration/registration.component.html43HYT_passwordPasswordsrc/app/pages/authentication/login/login.component.html41src/app/pages/authentication/registration/registration.component.html55HYT_registrationSign Insrc/app/pages/authentication/registration/registration.component.html21HYT_nameNamesrc/app/pages/authentication/registration/registration.component.html31HYT_surnameSurnamesrc/app/pages/authentication/registration/registration.component.html37HYT_emailEmailsrc/app/pages/authentication/registration/registration.component.html49HYT_passwordConfirmConfirm passwordsrc/app/pages/authentication/registration/registration.component.html63HYT_registration_buttonSign Insrc/app/pages/authentication/registration/registration.component.html81HYT_registration_form_okPlease click on the link that has just been sent to your email account to complete the registration processsrc/app/pages/authentication/registration/registration.component.html85HYT_server_error_500Internal errorsrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_offline_504You seem to be offline. Please check your network connectionsrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_duplicate_entityalready in usesrc/app/services/authentication-http-error-handler.service.ts1HYT_unknown_errorError executing your requestsrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_wrong_user_or_passwordwrong username or passwordsrc/app/services/authentication-http-error-handler.service.ts1HYT_field_requiredThis field is mandatoryC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_valid_emailPlease enter a valid email addressC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_min_lengthAt least 8 character lengthC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_min_one_numberAt least one numberC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_upper_caseAt least one uppercase characterC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_special_charAt least one special characterC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1 \ No newline at end of file diff --git a/src/locale/translations.it-IT.xlf b/src/locale/translations.it-IT.xlf index af7a9474..96e72a83 100644 --- a/src/locale/translations.it-IT.xlf +++ b/src/locale/translations.it-IT.xlf @@ -1 +1 @@ -HYT_widget_add_widgetAggiungi Widgetsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_introSeleziona uno o più widget da aggiungere alla dashboard.. etc.. etc...src/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_descriptionDescrizionesrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_typeTiposrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_quantityQuantitàsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_morePiùsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_lessMenosrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_addAggiungisrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_cancelAnnullasrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_dashboard_saveSalvasrc/app/dashboard/dashboard-view/dashboard-view.component.htmlHYT_dashboard_add_widgetAggiungi widgetsrc/app/dashboard/dashboard-view/dashboard-view.component.htmlHYT_widget_settings_titleImpostazioni Widgetsrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_nameNomesrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_typeTiposrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_applyApplicasrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_cancelAnnullasrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_select_packetSeleziona pacchettosrc/app/dashboard/widget-settings-dialog/packet-select/packet-select.component.htmlHYT_widget_settings_select_fieldsSeleziona {multiPacketSelect?1:0, plural, =0 {campo} other {campi}}src/app/dashboard/widget-settings-dialog/packet-select/packet-select.component.htmlHYT_toolbar_playRiprendiproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_pausePausaproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_chart_viewVista Graficoproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_table_viewVista Tabellaproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_settingsImpostazioniproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_refreshAggiornaproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_closeChiudiproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_moveSpostaproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_common_not_configuredPremi il pulsante 'Impostazioni' per configurare il widget.HYT_usernameUsernamesrc/app/pages/authentication/login/login.component.html33src/app/pages/authentication/registration/registration.component.html43HYT_passwordPasswordsrc/app/pages/authentication/login/login.component.html41src/app/pages/authentication/registration/registration.component.html55HYT_registrationRegistrati orasrc/app/pages/authentication/registration/registration.component.html21HYT_nameNomesrc/app/pages/authentication/registration/registration.component.html31HYT_surnameCognomesrc/app/pages/authentication/registration/registration.component.html37HYT_emailEmailsrc/app/pages/authentication/registration/registration.component.html49HYT_passwordConfirmConferma passwordsrc/app/pages/authentication/registration/registration.component.html63HYT_registration_buttonRegistratisrc/app/pages/authentication/registration/registration.component.html81HYT_registration_form_okControlla la tua casella email. Ti abbiamo inviato una mail per completare la registrazionesrc/app/pages/authentication/registration/registration.component.html85HYT_server_error_500Errore interno al serversrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_offline_504Sembra che tu sia offline. Per favore controlla la tua connessione ad internetsrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_duplicate_entitygià in usosrc/app/services/authentication-http-error-handler.service.ts1HYT_unknown_errorErrore nell'esecuzione della richiestasrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_wrong_user_or_passwordusername o password erratisrc/app/services/authentication-http-error-handler.service.ts1HYT_field_requiredIl campo è obbligatorioC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_valid_emailInserire un indirizzo email validoC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_min_lengthAlmeno 8 caratteriC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_min_one_numberAlemno un numeroC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_upper_caseAlmeno un carattere maiuscoloC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_special_charAlmeno un carattere specialeC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1 \ No newline at end of file +HYT_string_deviceDispositiv{{ deviceCount > 1 ? 'i' : 'o' }}app/pages/projects/project-card/project-card.component.htmlHYT_string_ruleRegol{{ rulesCount > 1 ? 'e' : 'a' }}app/pages/projects/project-card/project-card.component.htmlHYT_button_viewVisualizzaapp/pages/projects/project-card/project-card.component.htmlHYT_widget_add_widgetAggiungi Widgetsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_introSeleziona uno o più widget da aggiungere alla dashboard.. etc.. etc...src/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_descriptionDescrizionesrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_info_typeTiposrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_quantityQuantitàsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_morePiùsrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_add_lessMenosrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_addAggiungisrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_widget_cancelAnnullasrc/app/dashboard/add-widget-dialog/add-widget-dialog.component.htmlHYT_dashboard_saveSalvasrc/app/dashboard/dashboard-view/dashboard-view.component.htmlHYT_dashboard_add_widgetAggiungi widgetsrc/app/dashboard/dashboard-view/dashboard-view.component.htmlHYT_widget_settings_titleImpostazioni Widgetsrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_nameNomesrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_typeTiposrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_applyApplicasrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_cancelAnnullasrc/app/dashboard/widget-settings-dialog/widget-settings-dialog.component.htmlHYT_widget_settings_select_packetSeleziona pacchettosrc/app/dashboard/widget-settings-dialog/packet-select/packet-select.component.htmlHYT_widget_settings_select_fieldsSeleziona {multiPacketSelect?1:0, plural, =0 {campo} other {campi}}src/app/dashboard/widget-settings-dialog/packet-select/packet-select.component.htmlHYT_toolbar_playRiprendiproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_pausePausaproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_chart_viewVista Graficoproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_table_viewVista Tabellaproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_settingsImpostazioniproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_refreshAggiornaproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_closeChiudiproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_toolbar_moveSpostaproject/widgets/src/lib/common-toolbar/common-toolbar.component.htmlHYT_common_not_configuredPremi il pulsante 'Impostazioni' per configurare il widget.HYT_usernameUsernamesrc/app/pages/authentication/login/login.component.html33src/app/pages/authentication/registration/registration.component.html43HYT_passwordPasswordsrc/app/pages/authentication/login/login.component.html41src/app/pages/authentication/registration/registration.component.html55HYT_registrationRegistrati orasrc/app/pages/authentication/registration/registration.component.html21HYT_nameNomesrc/app/pages/authentication/registration/registration.component.html31HYT_surnameCognomesrc/app/pages/authentication/registration/registration.component.html37HYT_emailEmailsrc/app/pages/authentication/registration/registration.component.html49HYT_passwordConfirmConferma passwordsrc/app/pages/authentication/registration/registration.component.html63HYT_registration_buttonRegistratisrc/app/pages/authentication/registration/registration.component.html81HYT_registration_form_okControlla la tua casella email. Ti abbiamo inviato una mail per completare la registrazionesrc/app/pages/authentication/registration/registration.component.html85HYT_server_error_500Errore interno al serversrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_offline_504Sembra che tu sia offline. Per favore controlla la tua connessione ad internetsrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_duplicate_entitygià in usosrc/app/services/authentication-http-error-handler.service.ts1HYT_unknown_errorErrore nell'esecuzione della richiestasrc/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1src/app/services/authentication-http-error-handler.service.ts1HYT_wrong_user_or_passwordusername o password erratisrc/app/services/authentication-http-error-handler.service.ts1HYT_field_requiredIl campo è obbligatorioC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_valid_emailInserire un indirizzo email validoC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_min_lengthAlmeno 8 caratteriC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_min_one_numberAlemno un numeroC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_upper_caseAlmeno un carattere maiuscoloC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1HYT_special_charAlmeno un carattere specialeC:/Users/Gabriele Losiczko/HyperIoT/HyperIoT-component/projects/hyperiot-components/src/lib/hyt-input/hyt-input.component.ts1 \ No newline at end of file diff --git a/src/styles.scss b/src/styles.scss index 2e6668de..de17032a 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -7,6 +7,7 @@ @import "../node_modules/bootstrap/scss/grid"; @import "../node_modules/bootstrap/scss/utilities/display"; @import "../node_modules/bootstrap/scss/utilities/flex"; +@import "../node_modules/bootstrap/scss/utilities/spacing"; body { background: transparent;