feat: add leerkracht-view route and update templates for director mode
All checks were successful
Build & Push / Build & Push image (push) Successful in 39s

This commit is contained in:
2026-03-04 14:31:29 +01:00
parent 187232a95f
commit 50d029c67e
3 changed files with 19 additions and 1 deletions

View File

@@ -383,6 +383,9 @@
</select>
</div>
<button id="btnVernieuw" class="btn btn-light">↻ Vernieuwen</button>
<a href="/leerkracht-view" class="btn btn-light" title="Bekijk en vul de tracker in als leerkracht">
👩‍🏫 Leerkrachtsweergave
</a>
<a href="/auth/logout" class="btn btn-light">Uitloggen</a>
</div>
</div>

View File

@@ -299,7 +299,13 @@
📥 Vorige beoordelingen importeren
</button>
<input type="file" id="importJsonFile" accept=".json" style="display:none">
{% if director_mode %}
<a href="/dashboard" class="btn btn-secondary" style="font-weight:600;">
← Terug naar directeurdashboard
</a>
{% else %}
<a href="/auth/logout" class="btn btn-secondary">Uitloggen</a>
{% endif %}
</div>
</div>