Closed open div's (#1239)

Closed two 'div' tags in the initial state code and in the response code that were never closed.
This commit is contained in:
Ahmed Lemine 2023-02-23 18:27:42 +04:00 committed by GitHub
parent ee09ae7a51
commit 160e2a4fc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ This div is then replaced with a new div that reloads itself every 600ms:
hx-swap="outerHTML"> hx-swap="outerHTML">
<h3>Running</h3> <h3>Running</h3>
<div class="progress"> <div class="progress">
<div id="pb" class="progress-bar" style="width:0%"> <div id="pb" class="progress-bar" style="width:0%"></div>
</div> </div>
</div> </div>
``` ```
@ -46,12 +46,12 @@ extension in this example):
hx-swap="outerHTML"> hx-swap="outerHTML">
<h3>Complete</h3> <h3>Complete</h3>
<div class="progress"> <div class="progress">
<div id="pb" class="progress-bar" style="width:100%"> <div id="pb" class="progress-bar" style="width:100%"></div>
</div> </div>
</div>
<button id="restart-btn" class="btn" hx-post="/start" classes="add show:600ms"> <button id="restart-btn" class="btn" hx-post="/start" classes="add show:600ms">
Restart Job Restart Job
</button> </button>
</div>
``` ```
This example uses styling cribbed from the bootstrap progress bar: This example uses styling cribbed from the bootstrap progress bar: