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, apiPost, apiDelete } from '../api.js';
import { showToast } from '../app.js';
import { pageHeaderHTML, showToast } from '../app.js';
import { isDevTestClientCode, testDataRowClassForClient } from '../test-data.js';
const PAGE_SIZE = 50;
@ -18,12 +18,7 @@ export async function clientsPage() {
const app = document.getElementById('app');
app.innerHTML = `
<div class="page-header">
<h1>Clients</h1>
<div class="actions">
<button class="btn btn-primary" id="showCreateFormBtn">+ Create Client</button>
</div>
</div>
${pageHeaderHTML('Clients', '<button class="btn btn-primary" id="showCreateFormBtn">+ Create Client</button>')}
<div id="createClientWrapper" style="display:none"></div>
<div id="clientsContent"><div class="spinner"></div></div>
`;