wg svelte multiple component communication

This commit is contained in:
infidel
2022-11-21 18:58:44 +07:00
parent dbf9049c48
commit 6f44d2b645
21 changed files with 431 additions and 260 deletions

View File

@@ -109,6 +109,19 @@
</a>
</li>
<li class="items-center">
<a
use:link
href="/admin/wgProfiles"
class="text-xs uppercase py-3 font-bold block {location.href.indexOf('/admin/tables') !== -1 ? 'text-red-500 hover:text-red-600':'text-blueGray-700 hover:text-blueGray-500'}"
>
<i
class="fas fa-table mr-2 text-sm {location.href.indexOf('/admin/tables') !== -1 ? 'opacity-75' : 'text-blueGray-300'}"
></i>
WireGuard Profiles
</a>
</li>
<li class="items-center">
<a
use:link
@@ -125,16 +138,15 @@
<li class="items-center">
<a
use:link
href="/admin/wgProfiles"
href="/admin/wgBlast"
class="text-xs uppercase py-3 font-bold block {location.href.indexOf('/admin/tables') !== -1 ? 'text-red-500 hover:text-red-600':'text-blueGray-700 hover:text-blueGray-500'}"
>
<i
class="fas fa-table mr-2 text-sm {location.href.indexOf('/admin/tables') !== -1 ? 'opacity-75' : 'text-blueGray-300'}"
></i>
WireGuard Profiles
WireGuard Blast
</a>
</li>
<li class="items-center">
<a
use:link