{% set title = g.course.name + ' (edit topics)' %} {% extends "base.html" %} {% import "parts/form.html" as f %} {% import "parts/navigation.html" as nav %} {% block body %}

{{ g.course.name }}

{{ nav.course_menu('topics') }} {% if batch_form %}

Select topics

{{ batch_form.csrf_token }} {% endif %} {% if batch_form %} {% if batch_form %}
{% endif %}RankIdentTitleTypeDeadlinePoints {% if g.course.student_grading and not batch_form %}Student graders{% endif %} {% for t in topics %} {% if t.public %} {% set cls = "told" %} {% else %} {% set cls = "thidden" %} {% endif %}
{{ get_select_box(t)() }} {% endif %} {{ t.rank }} {{ t.ident or "" }} {% if t.ident %} {{ t.title }} {% else %} {{ t.title }} {% endif %} {{ topic_types.get(t.type, t.type) }}{% if t.auto_eval %} {% endif %} {{ t.deadline|reltimeformat }} {{ t.max_points if t.max_points != None else "" }} {% if g.course.student_grading and not batch_form %} {% if t.type == 'T' %}Assign{% endif %} {% endif %} {% endfor %}
{% if batch_form %}

Select operations

{{ batch_form.set_deadline() }} Set deadline to: {{ batch_form.deadline() }} {% if auto_deadline != None %}
{% endif %} {{ f.field_help(batch_form, 'deadline', 'in local time zone (if your browser does not support datetime widgets, enter yyyy-mm-ddThh:mm)') }}
{{ batch_form.publish() }} Publish Mark all topics as public, mark all posts as written now, and send out notifications.
{{ batch_form.apply(class='ok') }} Cancel
{% else %}
New topic Batch operations
{% endif %} {% endblock %}