Newer
Older
{% extends 'teacher/map/MapBase' %}
{% block title %}Конструктор УКД{% endblock %} {# head -> title #}
{% block map_content %}
<input type="hidden" class="HiddenInputFacultyID" value="{{ Discipline.FacultyID }}">
<h2 class="BlueTitle">Прикрепленные студенты</h2>
{% if NowGroupNum != Student.GroupNum %}
<div>Курс {{ Student.Grade }}, Группа {{ Student.GroupNum }}</div>
{% set NowGroupNum = Student.GroupNum %}
{% endif %}
<div id="{{ Student.StudentID }}" class="Student {% if Student.Type == 'detach' %}StatusUnbind{% else %}StatusBind{% endif %}">
<span class="Name">{{ Student.LastName }} {{ Student.FirstName }} {{ Student.SecondName }}</span>
<span class="action Action_BindStudent">Прикрепить студента</span>
{% else %}
<span class="action Action_UnbindStudent">Отсоединить студента</span>
<div class="SearchStudents">
<h2 class="BlueTitle">Поиск студентов</h2>
<div class="SearchSettings">
<select class="SelectGrade default_select">
<option value="0">Выберите курс:</option>
{% for Grade in GradesList %}
<option value="{{ Grade.ID }}" {% if Grade.ID == Discipline.GradeID %}selected{% endif %}>{{ Grade.Title }}</option>
{% endfor %}
</select>
<select class="SelectStudyGroup default_select">
<option value="0">Выберите группу:</option>
{% for Group in StudyGroups %}
<option value="{{ Group.GroupID }}">Группа {{ Group.GroupNum }} - {{ Group.SpecName }}</option>
{% endfor %}
</select>
<input tupe="text" class="InputStudentName default_input_text" placeholder="Фамилия Имя Отчество" value="">
</div>