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

31 lines
729 B
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
2023-07-13 21:45:11 +10:00
<div class="row" >
2023-07-19 01:30:56 +10:00
<div class="col s6 m5" 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
2023-07-19 00:53:20 +10:00
<div class="row">
2023-07-19 01:30:56 +10:00
<div class="col s7 m6" id="answer-post">
2023-07-19 00:53:20 +10:00
{% include 'answer-post.html' %}
</div>
2023-07-20 01:32:57 +10:00
<div class="col s7 m6" id="minio-post">
<form hx-encoding='multipart/form-data' hx-post='/send_dudes'
_='on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100'>
<input type='file' name='file'>
<button>
Upload
</button>
<progress id='progress' value='0' max='100'></progress>
</form>
2023-07-20 01:24:15 +10:00
</div>
2023-07-19 00:53:20 +10:00
</div>
2023-07-13 19:50:45 +10:00
{% endblock content %}