Update input component and toast position

This commit is contained in:
Andras Bacsai
2024-03-22 13:09:02 +01:00
parent 66fe124dd1
commit 2f50f64ecf
4 changed files with 6 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
<x-server.navbar :server="$server" :parameters="$parameters" />
@if ($server->isFunctional())
<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'managed' }" class="flex h-full">
<div class="flex flex-col gap-4 xl:w-32">
<div class="flex flex-col gap-4">
<a :class="activeTab === 'managed' && 'text-white'"
@click.prevent="activeTab = 'managed'; window.location.hash = 'managed'" href="#">Managed</a>
<a :class="activeTab === 'unmanaged' && 'text-white'"