re ans-post
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2024-01-30 00:35:54 +10:00
parent d21e5e0bf6
commit 9838f7f024

View File

@ -1,4 +1,9 @@
<div class="card"> <div class="card">
<form
hx-encoding='multipart/form-data'
_='on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100'
hx-on::after-request="this.reset()"
>
<div class="card-content"> <div class="card-content">
<div class="row"> <div class="row">
<span class="card-title">Ты отвечаешь: <a href="#post-{{ target_post_id }}">>>{{ target_post_id }}</a></span> <span class="card-title">Ты отвечаешь: <a href="#post-{{ target_post_id }}">>>{{ target_post_id }}</a></span>
@ -6,11 +11,6 @@
<div class="row"> <div class="row">
<a class="btn-floating halfway-fab waves-effect waves-light red" href="#post-{{ target_post_id }}"><i class="material-icons">>>{{ target_post_id }}</i></a> <a class="btn-floating halfway-fab waves-effect waves-light red" href="#post-{{ target_post_id }}"><i class="material-icons">>>{{ target_post_id }}</i></a>
</div> </div>
<form
hx-encoding='multipart/form-data'
_='on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100'
hx-on::after-request="this.reset()"
>
<div class="row"> <div class="row">
<div class="input-field col s6"> <div class="input-field col s6">
<input id="send_this_text" name="send_this_text" type="text" > <input id="send_this_text" name="send_this_text" type="text" >
@ -33,7 +33,6 @@
</div> </div>
</div> </div>
</div> </div>
</form>
</div> </div>
<div class="card-action"> <div class="card-action">
<a href="#answer-post"> <a href="#answer-post">
@ -42,14 +41,14 @@
_='on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100' _='on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100'
hx-post="/post_to_another_post/{{ target_post_id }}" hx-post="/post_to_another_post/{{ target_post_id }}"
hx-target="#neu-posts" hx-target="#neu-posts"
hx-include="[name='send_this_text'], [name='file']" hx-include="[name='send_this_text'], [name='file']"
hx-on::after-request="this.reset()"
> >
Отправить!! Отправить!!
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
</a> </a>
</div> </div>
</form>
<!-- <div class="row"> <!-- <div class="row">
<form hx-encoding='multipart/form-data' hx-post='/send_dudes' <form hx-encoding='multipart/form-data' hx-post='/send_dudes'
_='on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100'> _='on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100'>