flask-htmx-board1/templates/interactive-posts.html

61 lines
2.5 KiB
HTML
Raw Normal View History

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:41 +10:00
<div class="col s7 m6">
2023-07-18 23:49:31 +10:00
<div class="card">
<div class="card-content">
2023-07-18 23:46:12 +10:00
<div class="row">
2023-07-18 23:47:46 +10:00
<div class="card-image">
<span class="card-title">Создай то, о чем будут говорить многие.</span>
<a class="btn-floating halfway-fab waves-effect waves-light red"><i class="material-icons">add</i></a>
</div>
2023-07-18 23:46:12 +10:00
<div class="input-field col s6">
<input id="send_this_text" type="text" >
<label for="send_this_text">Печатать сюда</label>
</div>
2023-07-18 23:49:31 +10:00
</div>
</div>
2023-07-18 23:43:22 +10:00
<div class="card-action">
<button class="btn waves-effect waves-light" type="submit" name="action">Отправить!!
<i class="material-icons right">send</i>
</button>
</div>
<!-- <div class="posting_form">
2023-07-18 23:30:11 +10:00
<h4>Создай то, о чем будут говорить многие.</h4>
2023-07-18 23:41:09 +10:00
<div class="container">
<div class="input-field col s6">
<input id="send_this_text" type="text" >
<label for="send_this_text">Печатать сюда</label>
</div>
</div>
<div class="container">
<button class="btn waves-effect waves-light" type="submit" name="action">Отправить!!
<i class="material-icons right">send</i>
</button>
</div>
2023-07-18 23:39:40 +10:00
<!-- <h1>Загрузить картинку:</h1>
2023-07-18 23:26:32 +10:00
<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>
2023-07-18 23:39:40 +10:00
<button (click)="eraseData()" >Убрать картинку</button>
</p> -->
2023-07-18 23:26:32 +10:00
</div>
2023-07-18 23:49:31 +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" >
2023-07-18 23:28:39 +10:00
<div class="col s5 m4" 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 %}