enhanced navigation and added coach reassignment

This commit is contained in:
2026-06-01 14:11:06 +02:00
parent 9ed66ca327
commit 6c17166558
17 changed files with 423 additions and 70 deletions

View File

@ -1,5 +1,5 @@
import { apiGet, apiPut } from '../api.js';
import { showToast } from '../app.js';
import { pageHeaderHTML, showToast } from '../app.js';
let overview = null;
let staleClients = [];
@ -8,10 +8,7 @@ let followupSearch = '';
export async function insightsPage() {
const app = document.getElementById('app');
app.innerHTML = `
<div class="page-header">
<h1>Insights</h1>
<div class="actions"><a href="#/" class="btn">&larr; Dashboard</a></div>
</div>
${pageHeaderHTML('Insights')}
<div id="insightsContent"><div class="spinner"></div></div>
`;