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

38 lines
1.3 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="col s7 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>
</div>
</div>
</div>
<div class="row" >
<div class="col s5" id="neu-posts">
{% include 'i-posts.html' %}
</div>
</div>
{% endblock content %}