Split MQTT trace and commands pages
This commit is contained in:
@ -134,11 +134,11 @@
|
||||
<span class="material-symbols-outlined text-[22px] shrink-0">speaker_group</span>
|
||||
<span class="truncate">Registry</span>
|
||||
</a>
|
||||
<a class="flex h-11 items-center gap-3 rounded-lg px-3 text-[15px] font-semibold leading-none transition-colors text-slate-600 hover:bg-slate-100 hover:text-blue-700" href="/ui/soundbox-ops#mqtt-trace">
|
||||
<a class="flex h-11 items-center gap-3 rounded-lg px-3 text-[15px] font-semibold leading-none transition-colors text-slate-600 hover:bg-slate-100 hover:text-blue-700" href="/ui/mqtt-trace">
|
||||
<span class="material-symbols-outlined text-[22px] shrink-0">lan</span>
|
||||
<span class="truncate">MQTT Trace</span>
|
||||
</a>
|
||||
<a class="flex h-11 items-center gap-3 rounded-lg px-3 text-[15px] font-semibold leading-none transition-colors text-slate-600 hover:bg-slate-100 hover:text-blue-700" href="/ui/soundbox-ops#config-commands">
|
||||
<a class="flex h-11 items-center gap-3 rounded-lg px-3 text-[15px] font-semibold leading-none transition-colors text-slate-600 hover:bg-slate-100 hover:text-blue-700" href="/ui/config-commands">
|
||||
<span class="material-symbols-outlined text-[22px] shrink-0">settings_remote</span>
|
||||
<span class="truncate">Config & Commands</span>
|
||||
</a>
|
||||
@ -1503,7 +1503,7 @@ Copy Command
|
||||
});
|
||||
notificationButton?.addEventListener("click", () => {
|
||||
window.location.href = activeDeviceId
|
||||
? `/ui/soundbox-ops#mqtt-trace`
|
||||
? `/ui/mqtt-trace`
|
||||
: "/ui/soundbox-ops";
|
||||
});
|
||||
calendarButton?.addEventListener("click", () => {
|
||||
|
||||
Reference in New Issue
Block a user