Sdelal formochku sozdaniya treda.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-08 01:24:35 +10:00
parent c17b608188
commit e2cca81f81
15 changed files with 131 additions and 12 deletions

View File

@@ -0,0 +1,12 @@
<div class="send_post">
<h4>Поведай миру что-нибудь хорошее.</h4>
<br>
<textarea type="text" rows="8" cols="45" placeholder="Печатать сюда" #textToPost></textarea>
<p>
<button (click)="sendPost(textToPost.value) ; textToPost.value=''" >Отправить</button>
</p>
<h1>Загрузить картинку:</h1>
<input type="file" #file placeholder="Загрузить картинку" (change)="sendPic($event)" style="display:none;">
<button type="button" class="btn btn-success" (click)="file.click()">Загрузить картинку</button>
<div *ngFor="let singlePic of filename" >Картинка: {{singlePic}}</div>
</div>