From 35489e40ff88184f3c12ef99dfc91bd4b285ed52 Mon Sep 17 00:00:00 2001 From: kunw Date: Mon, 24 Apr 2017 18:48:35 +0800 Subject: [PATCH 1/5] Fix UI defered issues. --- .../src/app/log/audit-log.component.html | 6 +- .../create-project.component.html | 17 ++-- .../project/create-project/create-project.css | 9 -- .../app/project/member/member.component.css | 4 - .../app/project/member/member.component.html | 6 +- .../app/project/member/member.component.ts | 2 +- .../project-detail.component.css | 4 + .../src/app/project/project.component.html | 2 +- .../replication-management.component.css | 4 + .../replication/replication.component.html | 86 +++++++++---------- .../app/replication/replication.component.ts | 42 +++++---- 11 files changed, 92 insertions(+), 90 deletions(-) diff --git a/src/ui_ng/src/app/log/audit-log.component.html b/src/ui_ng/src/app/log/audit-log.component.html index 39e2b726e..d787c1cf5 100644 --- a/src/ui_ng/src/app/log/audit-log.component.html +++ b/src/ui_ng/src/app/log/audit-log.component.html @@ -14,7 +14,11 @@
diff --git a/src/ui_ng/src/app/project/create-project/create-project.component.html b/src/ui_ng/src/app/project/create-project/create-project.component.html index 97f838bb2..48117cbc4 100644 --- a/src/ui_ng/src/app/project/create-project/create-project.component.html +++ b/src/ui_ng/src/app/project/create-project/create-project.component.html @@ -4,10 +4,10 @@ diff --git a/src/ui_ng/src/app/project/create-project/create-project.css b/src/ui_ng/src/app/project/create-project/create-project.css index 526c33101..0bcac82e9 100644 --- a/src/ui_ng/src/app/project/create-project/create-project.css +++ b/src/ui_ng/src/app/project/create-project/create-project.css @@ -1,12 +1,3 @@ -.inline-help-public { - color: #CCCCCC; - font-size: 12px; - line-height: 1.5em; - letter-spacing: 0.01em; - margin-top: 0; - padding: 0 14px; -} - .form-group-label-override { font-size: 14px; font-weight: 400; diff --git a/src/ui_ng/src/app/project/member/member.component.css b/src/ui_ng/src/app/project/member/member.component.css index c782e3827..ab3bc903f 100644 --- a/src/ui_ng/src/app/project/member/member.component.css +++ b/src/ui_ng/src/app/project/member/member.component.css @@ -5,8 +5,4 @@ .option-right { padding-right: 16px; margin-top: 18px; -} - -.datagrid-foot { - margin-bottom: 0.5px; } \ No newline at end of file diff --git a/src/ui_ng/src/app/project/member/member.component.html b/src/ui_ng/src/app/project/member/member.component.html index 78ba04ea8..7f36d7639 100644 --- a/src/ui_ng/src/app/project/member/member.component.html +++ b/src/ui_ng/src/app/project/member/member.component.html @@ -19,9 +19,9 @@ {{'MEMBER.ROLE' | translate}} - - - + + + {{m.username}} diff --git a/src/ui_ng/src/app/project/member/member.component.ts b/src/ui_ng/src/app/project/member/member.component.ts index a69ac692c..494dfcb4d 100644 --- a/src/ui_ng/src/app/project/member/member.component.ts +++ b/src/ui_ng/src/app/project/member/member.component.ts @@ -111,8 +111,8 @@ export class MemberComponent implements OnInit, OnDestroy { ngOnInit() { //Get projectId from route params snapshot. this.projectId = +this.route.snapshot.parent.params['id']; - this.currentUser = this.session.getCurrentUser(); //Get current user from registered resolver. + this.currentUser = this.session.getCurrentUser(); let resolverData = this.route.snapshot.parent.data; if(resolverData) { this.hasProjectAdminRole = (resolverData['projectResolver']).has_project_admin_role; diff --git a/src/ui_ng/src/app/project/project-detail/project-detail.component.css b/src/ui_ng/src/app/project/project-detail/project-detail.component.css index 25f27c693..90f5add5f 100644 --- a/src/ui_ng/src/app/project/project-detail/project-detail.component.css +++ b/src/ui_ng/src/app/project/project-detail/project-detail.component.css @@ -7,6 +7,10 @@ background-color: #fafafa; } +.subnav .nav { + padding-left: 0; +} + .role-label { color: #CCCCCC; font-size: 14px; diff --git a/src/ui_ng/src/app/project/project.component.html b/src/ui_ng/src/app/project/project.component.html index e2b82e968..ddc4aed0c 100644 --- a/src/ui_ng/src/app/project/project.component.html +++ b/src/ui_ng/src/app/project/project.component.html @@ -13,7 +13,7 @@
- diff --git a/src/ui_ng/src/app/replication/replication-management/replication-management.component.css b/src/ui_ng/src/app/replication/replication-management/replication-management.component.css index 0286e4e83..fd8cfb74e 100644 --- a/src/ui_ng/src/app/replication/replication-management/replication-management.component.css +++ b/src/ui_ng/src/app/replication/replication-management/replication-management.component.css @@ -5,4 +5,8 @@ .sub-nav-bg-color { background-color: #fafafa; +} + +.subnav .nav { + padding-left: 0; } \ No newline at end of file diff --git a/src/ui_ng/src/app/replication/replication.component.html b/src/ui_ng/src/app/replication/replication.component.html index ac6a8e8f8..6bb7c5708 100644 --- a/src/ui_ng/src/app/replication/replication.component.html +++ b/src/ui_ng/src/app/replication/replication.component.html @@ -1,58 +1,50 @@
-
-
-
- - -
-
- - - - - - - - -
-
+
+
+
+ + +
+
+
+ +
+ + + + +
+
- +
-
-
{{'REPLICATION.REPLICATION_JOBS' | translate}}
-
- - - - - -
+
+
{{'REPLICATION.REPLICATION_JOBS' | translate}}
+
+ + + + +
-
- - - - -
- - -
+
+
+
+
+
+ + +
+
- +
\ No newline at end of file diff --git a/src/ui_ng/src/app/replication/replication.component.ts b/src/ui_ng/src/app/replication/replication.component.ts index 1392332e7..903408c59 100644 --- a/src/ui_ng/src/app/replication/replication.component.ts +++ b/src/ui_ng/src/app/replication/replication.component.ts @@ -20,6 +20,7 @@ import { MessageHandlerService } from '../shared/message-handler/message-handler import { ReplicationService } from './replication.service'; +import { SessionUser } from '../shared/session-user'; import { Policy } from './policy'; import { Job } from './job'; import { Target } from './target'; @@ -27,13 +28,13 @@ import { Target } from './target'; import { State } from 'clarity-angular'; const ruleStatus = [ - { 'key': '', 'description': 'REPLICATION.ALL_STATUS'}, + { 'key': 'all', 'description': 'REPLICATION.ALL_STATUS'}, { 'key': '1', 'description': 'REPLICATION.ENABLED'}, { 'key': '0', 'description': 'REPLICATION.DISABLED'} ]; const jobStatus = [ - { 'key': '', 'description': 'REPLICATION.ALL' }, + { 'key': 'all', 'description': 'REPLICATION.ALL' }, { 'key': 'pending', 'description': 'REPLICATION.PENDING' }, { 'key': 'running', 'description': 'REPLICATION.RUNNING' }, { 'key': 'error', 'description': 'REPLICATION.ERROR' }, @@ -62,7 +63,7 @@ class SearchOption { styleUrls: ['./replication.component.css'] }) export class ReplicationComponent implements OnInit { - + projectId: number; search: SearchOption; @@ -92,7 +93,7 @@ export class ReplicationComponent implements OnInit { constructor( private messageHandlerService: MessageHandlerService, private replicationService: ReplicationService, - private route: ActivatedRoute) { + private route: ActivatedRoute) { } ngOnInit(): void { @@ -171,9 +172,9 @@ export class ReplicationComponent implements OnInit { if(policy) { this.search.policyId = policy.id; this.search.repoName = ''; - this.search.status = '' + this.search.status = ''; this.currentJobSearchOption = 0; - this.currentJobStatus = { 'key': '', 'description': 'REPLICATION.ALL'}; + this.currentJobStatus = { 'key': 'all', 'description': 'REPLICATION.ALL' }; this.fetchPolicyJobs(); } } @@ -183,19 +184,28 @@ export class ReplicationComponent implements OnInit { this.retrievePolicies(); } - doFilterPolicyStatus(status: string) { - this.currentRuleStatus = this.ruleStatus.find(r=>r.key === status); - if(status.trim() === '') { - this.changedPolicies = this.policies; - } else { - this.changedPolicies = this.policies.filter(policy=>policy.enabled === +this.currentRuleStatus.key); + doFilterPolicyStatus($event: any) { + if ($event && $event.target && $event.target["value"]) { + let status = $event.target["value"]; + this.currentRuleStatus = this.ruleStatus.find(r=>r.key === status); + if(this.currentRuleStatus.key === 'all') { + this.changedPolicies = this.policies; + } else { + this.changedPolicies = this.policies.filter(policy=>policy.enabled === +this.currentRuleStatus.key); + } } } - doFilterJobStatus(status: string) { - this.currentJobStatus = this.jobStatus.find(r=>r.key === status); - this.search.status = status; - this.doSearchJobs(this.search.repoName); + doFilterJobStatus($event: any) { + if ($event && $event.target && $event.target["value"]) { + let status = $event.target["value"]; + this.currentJobStatus = this.jobStatus.find(r=>r.key === status); + if(this.currentJobStatus.key === 'all') { + status = ''; + } + this.search.status = status; + this.doSearchJobs(this.search.repoName); + } } doSearchJobs(repoName: string) { From adee392c3c00051d646d3f322c693bffa343dd8a Mon Sep 17 00:00:00 2001 From: kunw Date: Tue, 25 Apr 2017 20:34:28 +0800 Subject: [PATCH 2/5] Fix issues about confirm buttons and date validation. --- .../src/app/log/audit-log.component.html | 16 +++++- src/ui_ng/src/app/log/audit-log.component.ts | 28 ++++++++--- src/ui_ng/src/app/log/log.module.ts | 3 +- .../create-project.component.html | 2 +- .../list-project/list-project.component.html | 2 +- .../app/project/member/member.component.ts | 5 +- .../src/app/project/project.component.ts | 5 +- .../destination/destination.component.ts | 5 +- .../replication/replication.component.html | 16 +++++- .../app/replication/replication.component.ts | 31 ++++++++---- .../app/repository/repository.component.ts | 5 +- .../tag-repository.component.ts | 12 ++--- .../confirmation-dialog.component.html | 19 +++++-- .../confirmation-dialog.component.ts | 8 ++- .../confirmation-message.ts | 7 +-- .../app/shared/date-validator.directive.ts | 50 +++++++++++++++++++ .../list-policy/list-policy.component.ts | 5 +- .../list-project-ro.component.html | 2 +- src/ui_ng/src/app/shared/shared.const.ts | 3 ++ src/ui_ng/src/app/shared/shared.module.ts | 7 ++- src/ui_ng/src/app/user/user.component.ts | 5 +- src/ui_ng/src/i18n/lang/en-us-lang.json | 7 ++- src/ui_ng/src/i18n/lang/es-es-lang.json | 7 ++- src/ui_ng/src/i18n/lang/zh-cn-lang.json | 7 ++- 24 files changed, 195 insertions(+), 62 deletions(-) create mode 100644 src/ui_ng/src/app/shared/date-validator.directive.ts diff --git a/src/ui_ng/src/app/log/audit-log.component.html b/src/ui_ng/src/app/log/audit-log.component.html index d787c1cf5..69791755f 100644 --- a/src/ui_ng/src/app/log/audit-log.component.html +++ b/src/ui_ng/src/app/log/audit-log.component.html @@ -22,8 +22,20 @@
- - + + + +
diff --git a/src/ui_ng/src/app/log/audit-log.component.ts b/src/ui_ng/src/app/log/audit-log.component.ts index 7c4a24aff..aa5e84831 100644 --- a/src/ui_ng/src/app/log/audit-log.component.ts +++ b/src/ui_ng/src/app/log/audit-log.component.ts @@ -105,15 +105,29 @@ export class AuditLogComponent implements OnInit { this.retrieve(); } - doSearchByTimeRange(strDate: string, target: string): void { - let oneDayOffset = 3600 * 24; - switch(target) { - case 'begin': + convertDate(strDate: string): string { + if(/^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$/.test(strDate)) { + let parts = strDate.split(/[-\/]/); + strDate = parts[2] /*Year*/ + '-' +parts[1] /*Month*/ + '-' + parts[0] /*Date*/; + } + return strDate; + } + + doSearchByStartTime(valid: boolean, strDate: string): void { + this.queryParam.begin_timestamp = 0; + if(valid && strDate){ + strDate = this.convertDate(strDate); this.queryParam.begin_timestamp = new Date(strDate).getTime() / 1000; - break; - case 'end': + } + this.retrieve(); + } + + doSearchByEndTime(valid: boolean, strDate: string): void { + this.queryParam.end_timestamp = 0; + if(valid && strDate) { + strDate = this.convertDate(strDate); + let oneDayOffset = 3600 * 24; this.queryParam.end_timestamp = new Date(strDate).getTime() / 1000 + oneDayOffset; - break; } this.retrieve(); } diff --git a/src/ui_ng/src/app/log/log.module.ts b/src/ui_ng/src/app/log/log.module.ts index 533e20d7d..6200eb09f 100644 --- a/src/ui_ng/src/app/log/log.module.ts +++ b/src/ui_ng/src/app/log/log.module.ts @@ -21,7 +21,8 @@ import { RecentLogComponent } from './recent-log.component'; imports: [SharedModule], declarations: [ AuditLogComponent, - RecentLogComponent], + RecentLogComponent + ], providers: [AuditLogService], exports: [ AuditLogComponent, diff --git a/src/ui_ng/src/app/project/create-project/create-project.component.html b/src/ui_ng/src/app/project/create-project/create-project.component.html index 48117cbc4..2fa899a64 100644 --- a/src/ui_ng/src/app/project/create-project/create-project.component.html +++ b/src/ui_ng/src/app/project/create-project/create-project.component.html @@ -20,7 +20,7 @@
- +
diff --git a/src/ui_ng/src/app/project/list-project/list-project.component.html b/src/ui_ng/src/app/project/list-project/list-project.component.html index da18a7f7d..4529d2876 100644 --- a/src/ui_ng/src/app/project/list-project/list-project.component.html +++ b/src/ui_ng/src/app/project/list-project/list-project.component.html @@ -1,6 +1,6 @@ {{'PROJECT.NAME' | translate}} - {{'PROJECT.PUBLIC_OR_PRIVATE' | translate}} + {{'PROJECT.ACCESS_LEVEL' | translate}} {{'PROJECT.ROLE' | translate}} {{'PROJECT.REPO_COUNT'| translate}} {{'PROJECT.CREATION_TIME' | translate}} diff --git a/src/ui_ng/src/app/project/member/member.component.ts b/src/ui_ng/src/app/project/member/member.component.ts index 494dfcb4d..2521fe519 100644 --- a/src/ui_ng/src/app/project/member/member.component.ts +++ b/src/ui_ng/src/app/project/member/member.component.ts @@ -22,7 +22,7 @@ import { MemberService } from './member.service'; import { AddMemberComponent } from './add-member/add-member.component'; import { MessageHandlerService } from '../../shared/message-handler/message-handler.service'; -import { ConfirmationTargets, ConfirmationState } from '../../shared/shared.const'; +import { ConfirmationTargets, ConfirmationState, ConfirmationButtons } from '../../shared/shared.const'; import { ConfirmationDialogService } from '../../shared/confirmation-dialog/confirmation-dialog.service'; import { ConfirmationMessage } from '../../shared/confirmation-dialog/confirmation-message'; @@ -149,7 +149,8 @@ export class MemberComponent implements OnInit, OnDestroy { 'MEMBER.DELETION_SUMMARY', m.username, m.user_id, - ConfirmationTargets.PROJECT_MEMBER + ConfirmationTargets.PROJECT_MEMBER, + ConfirmationButtons.DELETE_CANCEL ); this.deletionDialogService.openComfirmDialog(deletionMessage); } diff --git a/src/ui_ng/src/app/project/project.component.ts b/src/ui_ng/src/app/project/project.component.ts index 4c8489f41..fcb4b668d 100644 --- a/src/ui_ng/src/app/project/project.component.ts +++ b/src/ui_ng/src/app/project/project.component.ts @@ -29,7 +29,7 @@ import { Response } from '@angular/http'; import { ConfirmationDialogService } from '../shared/confirmation-dialog/confirmation-dialog.service'; import { ConfirmationMessage } from '../shared/confirmation-dialog/confirmation-message'; -import { ConfirmationTargets, ConfirmationState } from '../shared/shared.const'; +import { ConfirmationTargets, ConfirmationState, ConfirmationButtons } from '../shared/shared.const'; import { Subscription } from 'rxjs/Subscription'; @@ -178,7 +178,8 @@ export class ProjectComponent implements OnInit, OnDestroy { 'PROJECT.DELETION_SUMMARY', p.name, p.project_id, - ConfirmationTargets.PROJECT + ConfirmationTargets.PROJECT, + ConfirmationButtons.DELETE_CANCEL ); this.deletionDialogService.openComfirmDialog(deletionMessage); } diff --git a/src/ui_ng/src/app/replication/destination/destination.component.ts b/src/ui_ng/src/app/replication/destination/destination.component.ts index 384395041..37f049471 100644 --- a/src/ui_ng/src/app/replication/destination/destination.component.ts +++ b/src/ui_ng/src/app/replication/destination/destination.component.ts @@ -19,7 +19,7 @@ import { MessageHandlerService } from '../../shared/message-handler/message-hand import { ConfirmationDialogService } from '../../shared/confirmation-dialog/confirmation-dialog.service'; import { ConfirmationMessage } from '../../shared/confirmation-dialog/confirmation-message'; -import { ConfirmationTargets, ConfirmationState } from '../../shared/shared.const'; +import { ConfirmationTargets, ConfirmationState, ConfirmationButtons } from '../../shared/shared.const'; import { Subscription } from 'rxjs/Subscription'; @@ -149,7 +149,8 @@ export class DestinationComponent implements OnInit { 'REPLICATION.DELETION_SUMMARY_TARGET', target.name, target.id, - ConfirmationTargets.TARGET); + ConfirmationTargets.TARGET, + ConfirmationButtons.DELETE_CANCEL); this.deletionDialogService.openComfirmDialog(deletionMessage); } } diff --git a/src/ui_ng/src/app/replication/replication.component.html b/src/ui_ng/src/app/replication/replication.component.html index 6bb7c5708..d35493611 100644 --- a/src/ui_ng/src/app/replication/replication.component.html +++ b/src/ui_ng/src/app/replication/replication.component.html @@ -39,8 +39,20 @@
- - + + + +
diff --git a/src/ui_ng/src/app/replication/replication.component.ts b/src/ui_ng/src/app/replication/replication.component.ts index 903408c59..0c9e0ff80 100644 --- a/src/ui_ng/src/app/replication/replication.component.ts +++ b/src/ui_ng/src/app/replication/replication.component.ts @@ -232,20 +232,31 @@ export class ReplicationComponent implements OnInit { (option === 1) ? this.currentJobSearchOption = 0 : this.currentJobSearchOption = 1; } - doJobSearchByStartTime(strDate: string) { - if(!strDate || strDate.trim() === '') { - strDate = 0 + ''; - } - (strDate === '0') ? this.search.startTime = '' : this.search.startTime = (new Date(strDate).getTime() / 1000) + ''; + convertDate(strDate: string): string { + if(/^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$/.test(strDate)) { + let parts = strDate.split(/[-\/]/); + strDate = parts[2] /*Year*/ + '-' +parts[1] /*Month*/ + '-' + parts[0] /*Date*/; + } + return strDate; + } + + doJobSearchByStartTime(valid: boolean, strDate: string) { + this.search.startTime = ''; + if(valid && strDate) { + strDate = this.convertDate(strDate); + console.log(strDate); + this.search.startTime = (new Date(strDate).getTime() / 1000) + ''; + } this.fetchPolicyJobs(); } - doJobSearchByEndTime(strDate: string) { - if(!strDate || strDate.trim() === '') { - strDate = 0 + ''; + doJobSearchByEndTime(valid: boolean, strDate: string) { + this.search.endTime = ''; + if(valid && strDate) { + strDate = this.convertDate(strDate); + let oneDayOffset = 3600 * 24; + this.search.endTime = (new Date(strDate).getTime() / 1000 + oneDayOffset) + ''; } - let oneDayOffset = 3600 * 24; - (strDate === '0') ? this.search.endTime = '' : this.search.endTime = (new Date(strDate).getTime() / 1000 + oneDayOffset) + ''; this.fetchPolicyJobs(); } } \ No newline at end of file diff --git a/src/ui_ng/src/app/repository/repository.component.ts b/src/ui_ng/src/app/repository/repository.component.ts index a3f24565c..265cb2ae1 100644 --- a/src/ui_ng/src/app/repository/repository.component.ts +++ b/src/ui_ng/src/app/repository/repository.component.ts @@ -18,7 +18,7 @@ import { RepositoryService } from './repository.service'; import { Repository } from './repository'; import { MessageHandlerService } from '../shared/message-handler/message-handler.service'; -import { ConfirmationState, ConfirmationTargets } from '../shared/shared.const'; +import { ConfirmationState, ConfirmationTargets, ConfirmationButtons } from '../shared/shared.const'; import { ConfirmationDialogService } from '../shared/confirmation-dialog/confirmation-dialog.service'; @@ -115,7 +115,8 @@ export class RepositoryComponent implements OnInit { 'REPOSITORY.DELETION_SUMMARY_REPO', repoName, repoName, - ConfirmationTargets.REPOSITORY); + ConfirmationTargets.REPOSITORY, + ConfirmationButtons.DELETE_CANCEL); this.deletionDialogService.openComfirmDialog(message); } diff --git a/src/ui_ng/src/app/repository/tag-repository/tag-repository.component.ts b/src/ui_ng/src/app/repository/tag-repository/tag-repository.component.ts index 37f32ea5a..5c5db27df 100644 --- a/src/ui_ng/src/app/repository/tag-repository/tag-repository.component.ts +++ b/src/ui_ng/src/app/repository/tag-repository/tag-repository.component.ts @@ -16,7 +16,7 @@ import { ActivatedRoute } from '@angular/router'; import { RepositoryService } from '../repository.service'; import { MessageHandlerService } from '../../shared/message-handler/message-handler.service'; -import { ConfirmationTargets, ConfirmationState } from '../../shared/shared.const'; +import { ConfirmationTargets, ConfirmationState, ConfirmationButtons } from '../../shared/shared.const'; import { ConfirmationDialogService } from '../../shared/confirmation-dialog/confirmation-dialog.service'; import { ConfirmationMessage } from '../../shared/confirmation-dialog/confirmation-message'; @@ -155,25 +155,25 @@ export class TagRepositoryComponent implements OnInit, OnDestroy { deleteTag(tag: TagView) { if (tag) { - let titleKey: string, summaryKey: string, content: string, confirmOnly: boolean; + let titleKey: string, summaryKey: string, content: string, buttons: ConfirmationButtons; if (tag.signed) { titleKey = 'REPOSITORY.DELETION_TITLE_TAG_DENIED'; summaryKey = 'REPOSITORY.DELETION_SUMMARY_TAG_DENIED'; - confirmOnly = true; + buttons = ConfirmationButtons.CLOSE; content = 'notary -s https://' + this.registryUrl + ':4443 -d ~/.docker/trust remove -p ' + this.registryUrl + '/' + this.repoName + ' ' + tag.tag; } else { titleKey = 'REPOSITORY.DELETION_TITLE_TAG'; summaryKey = 'REPOSITORY.DELETION_SUMMARY_TAG'; + buttons = ConfirmationButtons.DELETE_CANCEL; content = tag.tag; - confirmOnly = false; } let message = new ConfirmationMessage( titleKey, summaryKey, content, tag, - ConfirmationTargets.TAG); - message.confirmOnly = confirmOnly; + ConfirmationTargets.TAG, + buttons); this.deletionDialogService.openComfirmDialog(message); } } diff --git a/src/ui_ng/src/app/shared/confirmation-dialog/confirmation-dialog.component.html b/src/ui_ng/src/app/shared/confirmation-dialog/confirmation-dialog.component.html index fe56db9b8..0154a11dd 100644 --- a/src/ui_ng/src/app/shared/confirmation-dialog/confirmation-dialog.component.html +++ b/src/ui_ng/src/app/shared/confirmation-dialog/confirmation-dialog.component.html @@ -6,8 +6,21 @@
{{dialogContent}}
-