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