Skip to content
Snippets Groups Projects
Commit f029a657 authored by Антон Шалимов's avatar Антон Шалимов
Browse files

123

parent 9da9a746
Branches
Tags
No related merge requests found
......@@ -5,7 +5,6 @@
{% block step_4 %}active{% endblock %}
{% block map_content %}
<p class="notification">Обратите внимание, если вам нужно прикрепить 1-ого или максимум 4-х студентов из группы, то удобней это сделать на странице 'Прикрепление студентов'</p>
<div class="ChangeStudyGroupDIV">
<select class="SelectStudyGroup default_select">
<option value="0">Выберите группу:</option>
......
......@@ -17,7 +17,7 @@
{% endif %}
<div class="GradeAndGroupTitle" id="{{ Student.Grade }}_{{ Student.GroupNum }}">
<span class="info">Курс {{ Student.Grade }}, Группа {{ Student.GroupNum }}</span>
<span class="ActionShowHideGroupContainer">Открыть список студентов</span>
<span class="ActionShowHideGroupContainer">Открыть список </span>
</div>
<div class="GroupContainer">
{% set NowGroupNum = Student.GroupNum %}
......
......@@ -201,8 +201,8 @@ p.notification{
font-size: 16px;
}
h2.BlueTitle{
font-size: 18px;
font-weight: normal;
font-size: 15px;
font-weight: bold;
color: #3399CC;
}
......
......@@ -234,13 +234,20 @@
/* Прикрипление студентов */
.StudentsList {}
.StudentsList .GradeAndGroupTitle {
background: #f1f1f1;
padding: 5px 10px;
margin-top: 20px;
font-weight: bold;
font-size: 15px;
color: #333;
}
.GradeAndGroupTitle .ActionShowHideGroupContainer{
margin-left: 40px;
font-size: 13px;
cursor: pointer
}
.StudentsList .GroupContainer {
display: none;
}
.StudentsList .Student {
margin: 10px 0;
......
......@@ -663,10 +663,14 @@ $('.StudentsList').on('click', '.Action_UnbindStudent', function(){
});
$('.StudentsList').on('click', '.ActionShowHideGroupContainer', function(){
if ($(this).parent().next('.GroupContainer').attr('class') == 'block')
$(this).parent().next('.GroupContainer').hide();
if ($(this).parent().next('.GroupContainer').attr('class') == 'none')
if ($(this).parent().next('.GroupContainer').css('display') == 'none') {
$(this).text('Скрыть список ▲');
$(this).parent().next('.GroupContainer').show();
}
else {
$(this).text('Открыть список ▼');
$(this).parent().next('.GroupContainer').hide();
}
});
// Добавить преподавателя
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment