htmx_examples/templates/partials/progress_bar_job.html

10 lines
232 B
HTML

<div hx-target="this"
hx-get="/job"
hx-trigger="load delay:600ms"
hx-swap="outerHTML">
<h3>Running</h3>
<div class="progress">
<div id="pb" class="progress-bar" style="width:{{ percentage }}%">
</div>
</div>