{% extends "base.html" %} {% block title %}Edit Timetable - Timetable Generator{% endblock %} {% block content %}
| Day | {% for period in timetable.periods %}{{ period }} | {% endfor %}
|---|---|
| {{ timetable.days[day_index] }} | {% for period_index in range(8) %}
{% set subject = timetable.schedule[day_index][period_index] %}
{% if subject %}
{% if subject.is_lunch %}
LUNCH
Break Time
Lab continues
{% else %}
{{ subject.name }}
{{ subject.teacher }}
{% if subject.is_lab %}
Lab
{% endif %}
Free
{% endif %}
|
{% endfor %}