add info banner for interface changes requiring a restart

This commit is contained in:
liamcottle 2024-05-29 21:43:33 +12:00
parent 7446bb49e5
commit 5703afc79a

View file

@ -676,6 +676,18 @@
<!-- interfaces tab -->
<div v-if="tab === 'interfaces'" class="overflow-y-auto p-2 space-y-2">
<!-- warning -->
<div class="flex bg-blue-600 p-2 text-sm font-semibold leading-6 text-white rounded shadow">
<div>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
<path stroke-linecap="round" stroke-linejoin="round" d="m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z" />
</svg>
</div>
<div class="ml-2">Reticulum WebChat must be restarted for any interface changes to to take effect.</div>
</div>
<!-- interface list -->
<div v-for="(iface, interface_name) of interfaces" class="border rounded bg-white shadow">
<div class="flex py-2 border-b">