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 } from '../api.js';
import { showToast } from '../app.js';
import { pageHeaderHTML, showToast } from '../app.js';
const FETCH_LIMIT = 100;
const CLIENT_GROUP_PAGE = 10;
@ -16,10 +16,7 @@ let filterSearch = '';
export async function coachesPage() {
const app = document.getElementById('app');
app.innerHTML = `
<div class="page-header">
<h1>Coach activity</h1>
<div class="actions"><a href="#/" class="btn">&larr; Dashboard</a></div>
</div>
${pageHeaderHTML('Coach activity')}
<div id="coachesContent"><div class="spinner"></div></div>
`;