2023-07-13 19:50:45 +10:00
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
|
|
|
2023-07-14 01:52:00 +10:00
|
|
|
|
{% include 'navbar.html' %}
|
2023-07-18 23:22:14 +10:00
|
|
|
|
|
|
|
|
|
<div class="row">
|
2023-07-18 23:26:32 +10:00
|
|
|
|
|
|
|
|
|
<div class="col s12 m6">
|
|
|
|
|
<div class="card">
|
|
|
|
|
<div class="posting_form">
|
|
|
|
|
<h4>Создай то, о чем будут говорить многие в /{{board}}/.</h4>
|
|
|
|
|
<br>
|
|
|
|
|
<textarea type="text" rows="8" cols="45" placeholder="Печатать сюда" #textForm [(ngModel)] = "inputText"></textarea>
|
|
|
|
|
<p>
|
|
|
|
|
<button (click)="create()" >Отправить</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 inputImages" >Картинка: {{singlePic}}</div>
|
|
|
|
|
<p>
|
|
|
|
|
<button (click)="eraseData()" >Отмена</button>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
2023-07-18 23:23:27 +10:00
|
|
|
|
</div>
|
2023-07-18 23:22:14 +10:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-07-13 19:50:45 +10:00
|
|
|
|
|
2023-07-13 21:45:11 +10:00
|
|
|
|
<div class="row" >
|
|
|
|
|
<div class="col s5" id="neu-posts">
|
2023-07-13 21:26:04 +10:00
|
|
|
|
{% include 'i-posts.html' %}
|
2023-07-13 21:34:06 +10:00
|
|
|
|
</div>
|
2023-07-13 21:26:04 +10:00
|
|
|
|
</div>
|
|
|
|
|
|
2023-07-13 19:50:45 +10:00
|
|
|
|
|
|
|
|
|
{% endblock content %}
|