Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 1 addition & 37 deletions app/templates/admin/termManagement.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ <h4 class="mb-0">
class="glyphicon glyphicon-bookmark"
tabindex="0">
</span>
</th>
<th>Evaluations <br />(Midyear | Final)
<span data-toggle="tooltip"
title="Toggle the midyear/final student labor evaluation (SLE) states."
data-placement="right"
class="glyphicon glyphicon-bookmark"
tabindex="0">
</span>
</th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -166,33 +157,6 @@ <h4 class="mb-0">
onclick="termStatus({{term.termCode}})"
value="{{term.termState}}">{% if term.termState == True %} Open {% elif term.termState == False %} Closed {% endif %}
</button>
</td>
<td style="text-align:center">
<div class="btn-group" role="group" aria-label="button group for evaluations">
{% if (term.termCode|string)[-2:] == "00" %}
<button
id="midyear_eval_btn_{{term.termCode}}"
name="midyearEvalBtn"
style='width: 50%'
type="button"
class="btn btn-med {% if term.isMidyearEvaluationOpen == True %} btn-success {% elif term.isMidyearEvaluationOpen == False %} btn-danger {% endif %}"
onclick="toggleEval({{term.termCode}}, 1)"
value="{{term.isMidyearEvaluationOpen}}">{% if term.isMidyearEvaluationOpen == True %} Open {% elif term.isMidyearEvaluationOpen == False %} Closed {% endif %}
</button>
{% endif %}
{% if (term.termCode|string)[-2:] == "00" or (term.termCode|string)[-2:] == "13" %} {# AY and Summer only #}
<button
id="eval_btn_{{term.termCode}}"
name="evalBtn"
{% if (term.termCode|string)[-2:] == "00" %} style='width: 50%' {% else %} style='width: auto;' {% endif %}
type="button"
class="btn btn-med {% if term.isFinalEvaluationOpen == True %} btn-success {% elif term.isFinalEvaluationOpen == False %} btn-danger {% endif %}"
onclick="toggleEval({{term.termCode}}, 0)"
value="{{term.isFinalEvaluationOpen}}">{% if term.isFinalEvaluationOpen == True %} Open {% elif term.isFinalEvaluationOpen == False %} Closed {% endif %}
</button>
{% endif %}
</div>
</td>
</tr>
{% endfor %}
</tbody>
Expand All @@ -202,4 +166,4 @@ <h4 class="mb-0">
{% endfor %}
</div>
</div>
{% endblock %}
{% endblock %}