mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +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">
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user