flask-htmx-board1/templates/interactive-posts.html
Simple_Not 421fecce4d
All checks were successful
continuous-integration/drone/push Build is passing
check many hexes
2023-07-18 23:23:27 +10:00

35 lines
1.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends "base.html" %}
{% block content %}
{% include 'navbar.html' %}
<div class="row">
<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>
</div>
</div>
<div class="row" >
<div class="col s5" id="neu-posts">
{% include 'i-posts.html' %}
</div>
</div>
{% endblock content %}