blob: db5cc870bd8126a25d024e05332b106491086748 [file] [log] [blame]
{% extends base_layout %}
{% comment %}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
{% block page_content %}
<h1 id="main-page-title">Sending Evaluation Reminders</h1>
{% if msg %}
<div id="user-message" class="error">
{{ msg|safe }}
</div>
{% endif %}
<div id="component-mentor" class="block block-text">
<h4 id="title-section}">Surveys for Mentors</h4>
<div class="block-content-mentor">
{% for survey in mentor_surveys %}
<form method="post" id="form">
<input type="hidden" name="type" value="grading" />
<input type="hidden" name="key" value="{{ survey.key.id_or_name }}" />
{{ survey.title }} <input type="submit" value="Send reminders" />
</form>
{% endfor %}
</div>
</div>
<div id="component-mentor" class="block block-text">
<h4 id="title-section}">Surveys for Students</h4>
<div class="block-content-student">
{% for survey in student_surveys %}
<form method="post" id="form">
<input type="hidden" name="type" value="project" />
<input type="hidden" name="key" value="{{ survey.key.id_or_name }}" />
{{ survey.title }} <input type="submit" name="{{ survey.key.id_or_name }}" value="Send reminders" />
</form>
{% endfor %}
</div>
</div>
{% endblock %}