Work around HTMX bug where downloading files doesnt stop the logo spinning (#1622)

This commit is contained in:
Tim Wilkinson 2024-10-12 12:44:14 -07:00 committed by GitHub
parent b3259f0d44
commit 5e03db2303
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -481,7 +481,7 @@
<div class="m">Backup this node's configuration.</div>
</div>
<div style="flex:0">
<button hx-put="/a/status/e/backup-config">Backup</button>
<button hx-put="/a/status/e/backup-config" hx-indicator="head">Backup</button>
</div>
</div>
{{_H("Backup the current configuration. This can be used to transfer a configuration to new hardware or as a safety precaution in case

View File

@ -49,7 +49,7 @@
<div hx-trigger="click" hx-get="tools/e/ping" hx-target="#ctrl-modal"><div class="icon bolt"></div>Ping</div>
<div hx-trigger="click" hx-get="tools/e/traceroute" hx-target="#ctrl-modal"><div class="icon plane"></div>Traceroute</div>
<div hx-trigger="click" hx-get="tools/e/iperf3" hx-target="#ctrl-modal"><div class="icon twoarrow"></div>iPerf3</div>
<div hx-trigger="click" hx-put="tools/e/supportdata" hx-swap="none"><div class="icon download"></div>Support Data</div>
<div hx-trigger="click" hx-put="tools/e/supportdata" hx-swap="none" hx-indicator="head"><div class="icon download"></div>Support Data</div>
</div>
</label>
</div>