add a button to expand it all
This commit is contained in:
parent
4aba1ba5fd
commit
9abea47a02
|
@ -13,6 +13,17 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{{ $honkercsrf := .HonkerCSRF }}
|
{{ $honkercsrf := .HonkerCSRF }}
|
||||||
|
<div class="info">
|
||||||
|
<script>
|
||||||
|
function expandstuff() {
|
||||||
|
var els = document.querySelectorAll(".honk details")
|
||||||
|
for (var i = 0; i < els.length; i++) {
|
||||||
|
els[i].open = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<p><button onclick="expandstuff()">expand</button>
|
||||||
|
</div>
|
||||||
{{ range .Honkers }}
|
{{ range .Honkers }}
|
||||||
<section class="honk">
|
<section class="honk">
|
||||||
<header>
|
<header>
|
||||||
|
|
Loading…
Reference in New Issue