c5fb1df147
alert : 1. 파일전송 확장자 오류. 2. 파일전송시 HTTP error confirm: 1. 대화방 나가기 전. ext: 1. 새그룹추가 팝업 : 그룹명 valid 에 의한 버튼 활성화 비활성화 여부.
55 lines
1.7 KiB
HTML
55 lines
1.7 KiB
HTML
<mat-card class="confirm-card mat-elevation-z">
|
|
<mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle>
|
|
<mat-card-title>{{ data.title }}</mat-card-title>
|
|
</mat-card-header>
|
|
<mat-card-content>
|
|
<form name="inputForm" [formGroup]="inputForm" novalidate>
|
|
<div>
|
|
<mat-form-field hintLabel="">
|
|
<input
|
|
matInput
|
|
#input
|
|
maxlength="20"
|
|
placeholder="대화방이름"
|
|
formControlName="roomName"
|
|
/>
|
|
<mat-hint align="end">{{ input.value?.length || 0 }}/20</mat-hint>
|
|
</mat-form-field>
|
|
</div>
|
|
<div class="targetSelect">
|
|
<span>변경 대상자</span>
|
|
<mat-radio-group
|
|
aria-label="Select an option"
|
|
value="me"
|
|
formControlName="changeTarget"
|
|
>
|
|
<mat-radio-button value="me">나</mat-radio-button>
|
|
<mat-radio-button value="all">전체</mat-radio-button>
|
|
</mat-radio-group>
|
|
</div>
|
|
<div *ngIf="data.roomInfo.isTimeRoom">
|
|
<mat-form-field>
|
|
<mat-label>Setting Timer</mat-label>
|
|
<mat-select formControlName="timerInterval">
|
|
<mat-option *ngFor="let timer of timerArray" [value]="timer.value">
|
|
{{ timer.text }}
|
|
</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
</div>
|
|
</form>
|
|
</mat-card-content>
|
|
<mat-card-actions class="button-farm flex-row">
|
|
<button
|
|
mat-stroked-button
|
|
(click)="onClickChoice(false)"
|
|
class="mat-primary"
|
|
>
|
|
No
|
|
</button>
|
|
<button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
|
|
Yes
|
|
</button>
|
|
</mat-card-actions>
|
|
</mat-card>
|