2019-09-23 05:23:24 +00:00
|
|
|
<div
|
2019-09-26 05:38:21 +00:00
|
|
|
class="container"
|
2019-09-23 05:23:24 +00:00
|
|
|
fxFlex="0 0 auto"
|
|
|
|
fxLayout="row"
|
|
|
|
fxLayoutAlign="center center"
|
|
|
|
>
|
2019-10-21 04:20:14 +00:00
|
|
|
<div class="add-option">
|
2019-10-29 09:17:48 +00:00
|
|
|
<button mat-icon-button class="material-icons" (click)="onClickFileInput()">
|
2019-10-24 07:28:19 +00:00
|
|
|
<mat-icon>attach_file</mat-icon>
|
|
|
|
</button>
|
2019-10-29 09:17:48 +00:00
|
|
|
<input
|
|
|
|
type="file"
|
|
|
|
#fileInput
|
|
|
|
style="display: none"
|
|
|
|
multiple
|
|
|
|
(change)="onChangeFileInput()"
|
|
|
|
/>
|
2019-10-24 07:28:19 +00:00
|
|
|
|
|
|
|
<button mat-icon-button class="material-icons">
|
|
|
|
<mat-icon>sentiment_satisfied_alt</mat-icon>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button mat-icon-button class="material-icons">
|
|
|
|
<mat-icon>g_translate</mat-icon>
|
|
|
|
</button>
|
2019-10-21 04:20:14 +00:00
|
|
|
</div>
|
|
|
|
|
2019-09-23 05:23:24 +00:00
|
|
|
<form
|
|
|
|
#replyForm="ngForm"
|
2019-10-08 05:34:37 +00:00
|
|
|
(ngSubmit)="onSend($event)"
|
|
|
|
(keydown.enter)="onSend($event)"
|
2019-09-23 05:23:24 +00:00
|
|
|
fxFlex
|
|
|
|
fxLayout="row"
|
|
|
|
fxLayoutAlign="start center"
|
|
|
|
>
|
|
|
|
<mat-form-field
|
|
|
|
class="message-text"
|
|
|
|
fxFlex
|
|
|
|
floatLabel="never"
|
|
|
|
appearance="standard"
|
|
|
|
>
|
|
|
|
<textarea
|
|
|
|
matInput
|
|
|
|
#replyInput
|
|
|
|
placeholder="Type your message"
|
|
|
|
ngModel
|
|
|
|
name="message"
|
|
|
|
[matTextareaAutosize]="true"
|
2019-11-20 02:02:14 +00:00
|
|
|
[matAutosizeMinRows]="1"
|
|
|
|
[matAutosizeMaxRows]="20"
|
2019-09-23 05:23:24 +00:00
|
|
|
></textarea>
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
|
|
<button
|
2019-11-19 02:41:54 +00:00
|
|
|
class="send-message-button bg-accent-darkest"
|
2019-09-23 05:23:24 +00:00
|
|
|
mat-icon-button
|
|
|
|
type="submit"
|
|
|
|
aria-label="Send message"
|
2019-10-08 05:34:37 +00:00
|
|
|
>
|
2019-10-29 10:06:25 +00:00
|
|
|
<i class="material-icons">
|
2019-10-21 04:20:14 +00:00
|
|
|
send
|
|
|
|
</i>
|
2019-10-08 05:34:37 +00:00
|
|
|
</button>
|
2019-09-23 05:23:24 +00:00
|
|
|
</form>
|
|
|
|
</div>
|