{% extends "base.html" %} {% block title %}Dashboard{% endblock %} {% block page_title %}Dashboard{% endblock %} {% set active = "dashboard" %} {% block topbar_actions %}
{% endblock %} {% block content %}
{% if welcome %}
🎉

Welcome to TimetableGen, {{ user.school_name }}!

Your school account is ready. Follow the checklist below to set up your first timetable.

{% endif %}

{{ school.name }}

{{ school.board }} {% if cfg %}AY {{ cfg.academic_year }}{% endif %} {% if school.city %}{{ school.city }}, {{ school.state }}{% endif %}
Edit Info
{{ stats.classes }}
Classes
Manage →
{{ stats.teachers }}
Teachers
Manage →
{{ stats.subjects }}
Subjects
Manage →
{% if stats.has_timetable %}{% if clashes %}{{ clashes|length }} clash{% else %}✓ Ready{% endif %}{% else %}—{% endif %}
Timetable
View →
{% if clashes %}
⚠ {{ clashes|length }} Teacher Clash(es) Detected Fix in Timetable →
{% endif %}

Quick Actions

Setup Checklist

{% if stats.classes > 0 %}✓{% else %}○{% endif %}Add classes & sectionsGo →
{% if stats.subjects > 0 %}✓{% else %}○{% endif %}Add subjectsGo →
{% if stats.teachers > 0 %}✓{% else %}○{% endif %}Add teachers & assign subjectsGo →
{% if cfg %}✓{% else %}○{% endif %}Configure timetable settingsGo →
Set class-subject requirementsGo →
{% if stats.has_timetable %}✓{% else %}○{% endif %}Generate timetable
{% endblock %}