mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-30 06:21:19 +00:00
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:
parent
ee09ae7a51
commit
160e2a4fc2
@ -26,7 +26,7 @@ This div is then replaced with a new div that reloads itself every 600ms:
|
||||
hx-swap="outerHTML">
|
||||
<h3>Running</h3>
|
||||
<div class="progress">
|
||||
<div id="pb" class="progress-bar" style="width:0%">
|
||||
<div id="pb" class="progress-bar" style="width:0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
@ -46,12 +46,12 @@ extension in this example):
|
||||
hx-swap="outerHTML">
|
||||
<h3>Complete</h3>
|
||||
<div class="progress">
|
||||
<div id="pb" class="progress-bar" style="width:100%">
|
||||
<div id="pb" class="progress-bar" style="width:100%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<button id="restart-btn" class="btn" hx-post="/start" classes="add show:600ms">
|
||||
Restart Job
|
||||
</button>
|
||||
</div>
|
||||
```
|
||||
|
||||
This example uses styling cribbed from the bootstrap progress bar:
|
||||
|
Loading…
x
Reference in New Issue
Block a user