An error occurred while loading the file. Please try again.
-
Anton authored
убрал ограничение 100 баллов (позже верну)
9d6d3284
Forked from
it-lab / grade
Source project has a limited visibility.
EditDiscipline.twig 2.95 KiB
{% extends 'teacher/map/MapBase' %}
{% block title %}Конструктор УКД{% endblock %} {# head -> title #}
{% block step_1 %}active{% endblock %}
{% block map_content %}
<div class="LayerSection">
<div class="itemBlock">
<div class="title">Институт:</div>
<div class="field">
<select class="SelectFaculty default_select" disabled>
{% for Faculties in FacultiesList %}
<option value="{{ Faculties.FacultyID }}" {% if Discipline.FacultyID == Faculties.FacultyID %}selected{% endif %}>{{ Faculties.FacultyName }}</option>
{% endfor %}
</select>
</div>
</div>
</div>
<div class="LayerSection">
<div class="itemBlock">
<div class="title">Кафедра:</div>
<div class="field">
<select class="SelectDepartment default_select" disabled>
<option value="{{ User.DepID }}">{{ User.DepName }}</option>
</select>
</div>
</div>
</div>
<div class="LayerSection">
<div class="itemBlock">
<div class="title">Предмет:</div>
<div class="field">
<select class="SelectSubject default_select">
<option>-Не выбран-</option>
{% for Subject in SubjectsList %}
<option value="{{ Subject.ID }}" {% if Discipline.SubjectID == Subject.ID %}selected{% endif %}>{{ Subject.Title }}</option>
{% endfor %}
</select>
</div>
</div>
</div>
<div class="LayerSection">
<div class="itemBlock">
<div class="title">Курс:</div>
<div class="field">
<select class="SelectGrade default_select">
<option>-Не выбран-</option>
{% for Grade in GradesList %}
<option value="{{ Grade.ID }}" {% if Grade.ID == Discipline.GradeID %}selected{% endif %}>{{ Grade.Title }}</option>
{% endfor %}
</select>
</div>
</div>
<p class="help">При изменение курса произойдет автоматическое отсоединение групп.</p>
</div>
<div class="LayerSection">
<div class="itemBlock">
<div class="title">Форма контроля:</div>
<div class="field">
<input name="ExamType" type="radio" value="exam" {% if Discipline.ExamType == 'exam' %}checked{% endif %}> Экзамен
<br><br>
<input name="ExamType" type="radio" value="credit" {% if Discipline.ExamType == 'credit' %}checked{% endif %}> Зачет
</div>
</div>
</div>
<div class="LayerSection">
<div class="itemBlock">
<div class="title">Лекционных часов:</div>
<div class="field">
<input class="InputLectionCount default_input_text" style="width: 50px;" value="{{ Discipline.LectureHours }}">
</div>
</div>
</div>
<div class="LayerSection">
<div class="itemBlock">
<div class="title">Практических часов:</div>
<div class="field">
<input class="InputPracticeCount default_input_text" style="width: 50px;" value="{{ Discipline.PracticeHours }}">
</div>
</div>
<button class="ChangeDiscipline default_BlueButton">Сохранить</button>
</div>
{% endblock %}