Merge claude/1
This commit is contained in:
commit
6c95b7b1a2
@ -14,7 +14,7 @@
|
||||
</div>
|
||||
<div class="mobile-drawer" id="mobile-drawer">
|
||||
<nav class="topbar-nav">
|
||||
<a href="dashboard.html" class="nav-item" id="nav-dashboard">
|
||||
<a href="/dashboard" class="nav-item" id="nav-dashboard">
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
|
||||
<line x1="9" y1="9" x2="15" y2="9"></line>
|
||||
@ -22,7 +22,7 @@
|
||||
</svg>
|
||||
Dashboard
|
||||
</a>
|
||||
<a href="index.html" class="nav-item" id="nav-app-center">
|
||||
<a href="/apps" class="nav-item" id="nav-app-center">
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<rect x="3" y="3" width="7" height="7"></rect>
|
||||
<rect x="14" y="3" width="7" height="7"></rect>
|
||||
@ -37,7 +37,7 @@
|
||||
</svg>
|
||||
Admin
|
||||
</a>
|
||||
<a href="tasks.html" class="nav-item" id="nav-tasks">
|
||||
<a href="/tasks" class="nav-item" id="nav-tasks">
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<path d="M9 11H3v2h6v-2zm0-4H3v2h6V7zm0 8H3v2h6v-2zm12-8h-6v2h6V7zm0 4h-6v2h6v-2zm0 4h-6v2h6v-2z"></path>
|
||||
</svg>
|
||||
|
||||
@ -47,7 +47,7 @@ class TopbarComponent {
|
||||
// Load fresh topbar HTML
|
||||
try {
|
||||
//// // console.log('Loading topbar HTML (SPA mode)');
|
||||
const response = await fetch('html/topbar.html');
|
||||
const response = await fetch('/html/topbar.html');
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to load topbar: ${response.status}`);
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@ class DataLoader {
|
||||
try {
|
||||
//console.log(`Loading ${configType} config`);
|
||||
|
||||
const response = await fetch(`data/config/generated/config_${configType}.json`);
|
||||
const response = await fetch(`/data/config/generated/config_${configType}.json`);
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to load ${configType} config: ${response.status}`);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user