팝업에 닫기 버튼 생성.

This commit is contained in:
leejinho 2020-01-29 13:14:26 +09:00
parent 9b18f6ec64
commit 9ab918cd1d
30 changed files with 468 additions and 318 deletions

View File

@ -1,7 +1,10 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z">
<!-- 이용시 주의사항 항목 -->
<mat-card-header> <mat-card-header>
<mat-card-title>{{ data.title }}</mat-card-title> <mat-card-title>{{ data.title }}</mat-card-title>
<!-- <mat-card-subtitle>Confirm</mat-card-subtitle> --> <button class="icon-button btn-dialog-close" (click)="onClickConfirm()">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div #messageContainer class="notice"> <div #messageContainer class="notice">

View File

@ -6,6 +6,13 @@
margin: 0 -16px; margin: 0 -16px;
padding-bottom: 10px; padding-bottom: 10px;
} }
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
} }
.button-farm { .button-farm {
text-align: right; text-align: right;

View File

@ -1,6 +1,9 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z">
<mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle> <mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle>
<mat-card-title>{{ data.title }}</mat-card-title> <mat-card-title>{{ data.title }}</mat-card-title>
<button class="icon-button btn-dialog-close" (click)="onClickChoice(false)">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div *ngIf="data.type === UserSelectDialogType.NewGroup"> <div *ngIf="data.type === UserSelectDialogType.NewGroup">

View File

@ -1,6 +1,15 @@
::ng-deep .mat-card-header-tex { ::ng-deep .mat-card-header {
.mat-card-header-text {
margin: 0; margin: 0;
} }
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
//조직도 레이아웃 변경 //조직도 레이아웃 변경
::ng-deep .dialog-org { ::ng-deep .dialog-org {

View File

@ -1,6 +1,9 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z">
<mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle> <mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle>
<mat-card-title>{{ data.title }}</mat-card-title> <mat-card-title>{{ data.title }}</mat-card-title>
<button class="icon-button btn-dialog-close" (click)="onClickChoice(false)">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<form name="inputForm" [formGroup]="inputForm" novalidate> <form name="inputForm" [formGroup]="inputForm" novalidate>

View File

@ -1,6 +1,16 @@
::ng-deep .mat-card-header-tex { ::ng-deep .mat-card-header {
.mat-card-header-text {
margin: 0; margin: 0;
} }
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
.confirm-card { .confirm-card {
min-width: 500px; min-width: 500px;
.mat-card-header { .mat-card-header {

View File

@ -1,6 +1,9 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z">
<mat-card-header> <mat-card-header>
<mat-card-title>{{ data.title }}</mat-card-title> <mat-card-title>{{ data.title }}</mat-card-title>
<button class="icon-button btn-dialog-close" (click)="onClickConfirm()">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<perfect-scrollbar> <perfect-scrollbar>

View File

@ -1,6 +1,16 @@
::ng-deep .mat-card-header-tex { ::ng-deep .mat-card-header {
.mat-card-header-text {
margin: 0; margin: 0;
} }
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
.confirm-card { .confirm-card {
min-width: 500px; min-width: 500px;
.mat-card-header { .mat-card-header {

View File

@ -1,6 +1,9 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z">
<mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle> <mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle>
<mat-card-title>{{ data.title }}</mat-card-title> <mat-card-title>{{ data.title }}</mat-card-title>
<button class="icon-button btn-dialog-close" (click)="onClickChoice(false)">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<form name="inputForm" [formGroup]="inputForm" novalidate> <form name="inputForm" [formGroup]="inputForm" novalidate>

View File

@ -1,6 +1,15 @@
::ng-deep .mat-card-header-tex{ ::ng-deep .mat-card-header {
.mat-card-header-text {
margin: 0; margin: 0;
} }
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
.confirm-card { .confirm-card {
min-width: 500px; min-width: 500px;
.mat-card-header { .mat-card-header {

View File

@ -1,7 +1,7 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z">
<mat-card-header> <mat-card-header>
<mat-card-title>{{ data.title }}</mat-card-title> <mat-card-title>{{ data.title }}</mat-card-title>
<button class="icon-button btn-dialog-close"> <button class="icon-button btn-dialog-close" (click)="onClickChoice(false)">
<i class="mdi mdi-window-close"></i> <i class="mdi mdi-window-close"></i>
</button> </button>
</mat-card-header> </mat-card-header>

View File

@ -1,5 +1,5 @@
::ng-deep .mat-card-header { ::ng-deep .mat-card-header {
.mat-card-header-tex { .mat-card-header-text {
margin: 0; margin: 0;
} }
.btn-dialog-close { .btn-dialog-close {

View File

@ -13,6 +13,9 @@
}}</span> }}</span>
</ng-container> </ng-container>
</mat-card-title> </mat-card-title>
<button class="icon-button btn-dialog-close" (click)="onClickConfirm()">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<mat-drawer-container <mat-drawer-container

View File

@ -1,6 +1,16 @@
::ng-deep .mat-card-header-tex { ::ng-deep .mat-card-header {
.mat-card-header-text {
margin: 0; margin: 0;
} }
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
.confirm-card { .confirm-card {
min-width: 500px; min-width: 500px;
.mat-card-content { .mat-card-content {

View File

@ -3,6 +3,9 @@
<mat-card-title> <mat-card-title>
{{ (isModify ? 'message.modify' : 'message.sendTo') | translate }} {{ (isModify ? 'message.modify' : 'message.sendTo') | translate }}
</mat-card-title> </mat-card-title>
<button class="icon-button btn-dialog-close" (click)="onCancel()">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<ucap-message-write <ucap-message-write

View File

@ -1,3 +1,16 @@
::ng-deep .mat-card-header {
.mat-card-header-text {
margin: 0;
}
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
.confirm-card { .confirm-card {
min-width: 500px; min-width: 500px;
height: 100%; height: 100%;

View File

@ -6,6 +6,9 @@
</span> </span>
{{ data.notice.title }} {{ data.notice.title }}
</mat-card-title> </mat-card-title>
<button class="icon-button btn-dialog-close" (click)="onClickConfirm()">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div> <div>

View File

@ -19,6 +19,13 @@
width: 480px; width: 480px;
@include ellipsis(1); @include ellipsis(1);
} }
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
} }
.confirm-card { .confirm-card {
min-width: 500px; min-width: 500px;

View File

@ -18,6 +18,9 @@
{{ 'common.messages.selectAll' | translate }} {{ 'common.messages.selectAll' | translate }}
</mat-checkbox> </mat-checkbox>
</mat-card-title> </mat-card-title>
<button class="icon-button btn-dialog-close" (click)="onClickChoice(false)">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div class="item-list"> <div class="item-list">

View File

@ -1,6 +1,15 @@
::ng-deep .mat-card-header-tex { ::ng-deep .mat-card-header {
.mat-card-header-text {
margin: 0; margin: 0;
} }
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
.confirm-card { .confirm-card {
min-width: 500px; min-width: 500px;

View File

@ -1,3 +1,16 @@
<mat-card class="confirm-card mat-elevation-z">
<mat-card-header
cdkDrag
cdkDragRootElement=".cdk-overlay-pane"
cdkDragHandle
class="card-header"
>
<mat-card-title>{{ 'search.label' | translate }}</mat-card-title>
<button class="icon-button btn-dialog-close" (click)="onCancel()">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header>
<mat-card-content>
<ucap-integrated-search <ucap-integrated-search
[sessionVerinfo]="sessionVerinfo" [sessionVerinfo]="sessionVerinfo"
[presence]="presence$ | async" [presence]="presence$ | async"
@ -11,3 +24,5 @@
(changePage)="onChangePage($event)" (changePage)="onChangePage($event)"
> >
</ucap-integrated-search> </ucap-integrated-search>
</mat-card-content>
</mat-card>

View File

@ -0,0 +1,12 @@
::ng-deep .mat-card-header {
.mat-card-header-text {
margin: 0;
}
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}

View File

@ -154,6 +154,10 @@ export class IntegratedSearchDialogComponent implements OnInit, OnDestroy {
} }
} }
onCancel(): void {
this.dialogRef.close({});
}
onChangePage(event: PageEvent) { onChangePage(event: PageEvent) {
this.pageCurrent = event.pageIndex + 1; this.pageCurrent = event.pageIndex + 1;
this.pageListCount = event.pageSize; this.pageListCount = event.pageSize;

View File

@ -1,6 +1,9 @@
<mat-card class="confirm-card mat-elevation-z setting-frame"> <mat-card class="confirm-card mat-elevation-z setting-frame">
<mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle> <mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle>
<mat-card-title>{{ 'settings.label' | translate }}</mat-card-title> <mat-card-title>{{ 'settings.label' | translate }}</mat-card-title>
<button class="icon-button btn-dialog-close" (click)="onClickChoice(false)">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div fxFlex class="setting-tab"> <div fxFlex class="setting-tab">

View File

@ -13,6 +13,14 @@
width: 100%; width: 100%;
border-bottom: 1px solid #dddddd; border-bottom: 1px solid #dddddd;
margin-bottom: 12px; margin-bottom: 12px;
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
} }
.mat-card-content { .mat-card-content {

View File

@ -1,13 +1,3 @@
<mat-card class="confirm-card mat-elevation-z">
<mat-card-header
cdkDrag
cdkDragRootElement=".cdk-overlay-pane"
cdkDragHandle
class="card-header"
>
<mat-card-title>{{ 'search.label' | translate }}</mat-card-title>
</mat-card-header>
<mat-card-content>
<div fxLayout="column" class="rightDrawer-notice"> <div fxLayout="column" class="rightDrawer-notice">
<div fxFlex="1 1 80px" class="search-area"> <div fxFlex="1 1 80px" class="search-area">
<ucap-integrated-search-form <ucap-integrated-search-form
@ -215,17 +205,3 @@
></mat-paginator> ></mat-paginator>
</div> </div>
</div> </div>
</mat-card-content>
<!-- <mat-card-actions *ngIf="!hideAction" class="button-farm flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
{{ 'common.messages.no' | translate }}
</button>
<button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
{{ 'common.messages.yes' | translate }}
</button>
</mat-card-actions> -->
</mat-card>

View File

@ -1,7 +1,9 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z">
<mat-card-header *ngIf="data.title"> <mat-card-header>
<mat-card-title>{{ data.title }}</mat-card-title> <mat-card-title *ngIf="data.title">{{ data.title }}</mat-card-title>
<!-- <mat-card-subtitle>Confirm</mat-card-subtitle> --> <button class="icon-button btn-dialog-close" (click)="onClickConfirm()">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div #messageContainer class="notice"> <div #messageContainer class="notice">

View File

@ -6,6 +6,14 @@
margin: 0 -16px; margin: 0 -16px;
padding-bottom: 10px; padding-bottom: 10px;
} }
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
} }
.button-farm { .button-farm {
text-align: right; text-align: right;

View File

@ -6,7 +6,9 @@
class="card-header" class="card-header"
> >
<mat-card-title>{{ data.title }}</mat-card-title> <mat-card-title>{{ data.title }}</mat-card-title>
<!-- <mat-card-subtitle>Confirm</mat-card-subtitle> --> <button class="icon-button btn-dialog-close" (click)="onClickChoice(false)">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div #messageContainer class="notice"> <div #messageContainer class="notice">

View File

@ -1,6 +1,15 @@
::ng-deep .mat-card-header-tex{ ::ng-deep .mat-card-header {
.mat-card-header-text {
margin: 0; margin: 0;
} }
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
}
.mat-card { .mat-card {
padding: 10px; padding: 10px;
.mat-card-header { .mat-card-header {