Skip to content
Snippets Groups Projects
Commit de03932a authored by Andrew Rudenets's avatar Andrew Rudenets
Browse files

Merge branch 'master' of http://itlab.mmcs.sfedu.ru/git/grade-rating

Conflicts:
	application/classes/Controller/Admin/Departaments.php
	application/classes/Controller/Teacher/Admin/Index.php
	web/application/classes/Controller/Teacher/Admin/Index.php
	web/application/classes/Model/Account.php
parents ad959dc3 88ceb036
No related merge requests found
Showing
with 111 additions and 33 deletions
......@@ -10,7 +10,7 @@
{% block main_content %}
<div class="pageProfileSettings">
<div class="settingsSection">
<p>Логин может состоять из латинских букв, цифр и символа _</p>
<p class="help">Логин может состоять из латинских букв, цифр и символа _</p>
<div class="itemBlock">
<div class="title">Логин:</div>
<div class="field"><input type="text" class="inputLogin inputText" value="{{ User.Login }}"></div>
......@@ -35,7 +35,7 @@
<div class="title">Старый пароль:</div>
<div class="field"><input type="text" class="inputCurrentPass inputText" value=""></div>
</div>
<p>Пароль должен состоять из 5 и более символов</p>
<p class="help">Пароль должен состоять из 5 и более символов</p>
<div class="itemBlock">
<div class="title">Новый пароль:</div>
<div class="field"><input type="text" class="inputNewPass inputText" value=""></div>
......
File moved
File moved
File moved
......@@ -14,8 +14,7 @@
{{User.FirstName}}
{{User.SecondName}}
</div>
<div class="information_wrapper">
<div class="base_information">
<form>
......
......@@ -67,7 +67,8 @@
{% for subject in content.Subjects %}
{{ idx.outputSubject(subject, HTML) }}
{% else %}
Похоже, что Вы не ведете ни одного предмета!
<p class="notification">Похоже, что Вы не ведете ни одного предмета!</p>
{% endfor %}
{{ HTML.anchor('map/create', 'Добавить УКД', {'title': 'Перейти к добавлению'})|raw }}
</div>
{% endblock %}
\ No newline at end of file
{% extends 'base' %}
{% block title %}Конструктор УКД{% endblock %} {# head -> title #}
{% block media %} {# head -> css, js #}
{{ HTML.script('media/js/functions.js')|raw }}
{{ HTML.style('media/css/construct.css')|raw }}
{{ HTML.script('media/js/construct/create.js')|raw }}
{% endblock %}
{% block main_top_title %}Добавление УКД{% endblock %}
{% block main_content %}
<div class="guide">
<p>Обратите внимание, что добавление Учебной Карты Дисциплины (далее УКД) происходит в 3 этапа:</p>
<ol>
<li>Добавление базовых параметров дисциплины: выбор предмета, формы контроля и др.;</li>
<li>Привязка групп и студентов к данной УКД;</li>
<li>Создание структуры УКД (Модули и мероприятия).</li>
</ol>
</div>
<div class="discipline">
<div class="section">
<select class="SelectSubject">
<option value="0">Выберите предмет:</option>
{% for Subject in SubjectsList %}
<option value="{{ Subject.ID }}">{{ Subject.Title }}</option>
{% endfor %}
</select>
</div>
<div class="section">
<select class="SelectDepartment">
<option value="{{ User.DepartmentID }}">{{ User.DepartmentName }}</option>
</select>
<select class="SelectGrade">
<option value="0">Выберите курс:</option>
{% for Grade in GradesList %}
<option value="{{ Grade.ID }}" >{{ Grade.Title }}</option>
{% endfor %}
</select>
</div>
<div class="section">
Контроль:
<input name="ExamType" type="radio" value="exam"> Экзамен
<input name="ExamType" type="radio" value="credit"> Зачет
</div>
<div class="section">
<div class="item title">Лекционных часов:</div>
<div class="item"><input class="InputLectionCount" style="width: 50px;" value="0"></div>
<div class="item title">Практических часов:</div>
<div class="item"><input class="InputPracticeCount" style="width: 50px;" value="0"></div>
</div>
<button class="AddDiscipline">Добавить</button>
</div>
{% endblock %}
......@@ -2,14 +2,25 @@
{% block title %}Конструктор УКД{% endblock %} {# head -> title #}
{% block media %} {# head -> css, js #}
{{ HTML.script('media/js/functions.js')|raw }}
{{ HTML.style('media/js/wnd/wnd.css')|raw }}
{{ HTML.script('media/js/wnd/wnd.js')|raw }}
{{ HTML.script('media/js/event_inspector/event_inspector.js')|raw }}
{{ HTML.style('media/js/event_inspector/event_inspector.css')|raw }}
{{ HTML.style('media/css/construct.css')|raw }}
{{ HTML.script('media/js/construct/edit.js')|raw }}
{{ HTML.script('media/js/construct/attach.js')|raw }}
{% endblock %}
{% block main_top_title %}Редактирование УКД{% endblock %}
{% block main_content %}
<div class="discipline">
<p class="top_center_info">Учебная карта дисциплины на 1 семестр 2014 года</p>
<span class="AttachGroups">Прикрепить группы</span>
<span class="AttachStudents">Прикрепить студентов</span>
<div class="section">
<select class="SelectSubject">
<option value="0">Выберите предмет:</option>
......@@ -19,10 +30,10 @@
</select>
</div>
<div class="section">
<select class="department">
<option value="0">Выберите кафедру:</option>
<select class="SelectDepartment">
<option value="{{ User.DepartmentID }}">{{ User.DepartmentName }}</option>
</select>
<select class="Grade">
<select class="SelectGrade">
<option value="0">Выберите курс:</option>
{% for Grade in GradesList %}
<option value="{{ Grade.ID }}" {% if Grade.ID == Discipline.GradeID %}selected{% endif %}>{{ Grade.Title }}</option>
......@@ -36,9 +47,9 @@
</div>
<div class="section">
<div class="item title">Лекционных часов:</div>
<div class="item"><input class="inputLectionCount" style="width: 50px;" value="{{ Discipline.LectureHours }}"></div>
<div class="item"><input class="InputLectionCount" style="width: 50px;" value="{{ Discipline.LectureHours }}"></div>
<div class="item title">Практических часов:</div>
<div class="item"><input class="inputPracticeCount" style="width: 50px;" value="{{ Discipline.PracticeHours }}"></div>
<div class="item"><input class="InputPracticeCount" style="width: 50px;" value="{{ Discipline.PracticeHours }}"></div>
</div>
<button class="ChangeDiscipline">Сохранить</button>
</div>
......
......@@ -2,6 +2,8 @@
{% block title %}Выставление баллов{% endblock %} {# head -> title #}
{% block media %} {# head -> css, js #}
{{ HTML.script('media/js/functions.js')|raw }}
{{ HTML.style('media/css/setRate.css')|raw }}
{{ HTML.script('media/js/setRate.js')|raw }}
{% endblock %}
......
File moved
File moved
File moved
File moved
*{
font-family: Arial, Tahoma, Lucida Grande, Sans-Serif, Lucida Sans;;
font-family: Arial, Tahoma, Lucida Grande, Sans-Serif, Lucida Sans;
margin: 0;
padding: 0;
border: 0;
}
/* Для корректного отображения окон */
html,
body {
height: 100%;
}
body {
padding: 0;
margin: 0;
background-color: #f1f1f1;
}
div {
......@@ -90,8 +96,7 @@ a:hover {
.main_content {
width: 100%;
position: relative;
padding-top: 25px;
padding-bottom: 20px;
padding: 25px 0;
}
......@@ -128,12 +133,6 @@ html>body #wrap
height: auto;
min-height: 100%;
}
html,body
{
height: 100%;
padding:0;
margin:0;
}
#footer_fixBug {
height: 30px;
}
......@@ -156,8 +155,12 @@ html,body
width: 100%;
}
/*------------------------------------------------------------------------------------*/
/*----------------------Обшие--------------------------*/
/* Оповещение */
p.notification{
margin: 10px 0;
text-align: center; font-size: 16px;
}
......
.TopRightMessage {
display: none;
position: absolute;
top: 0;
right: 0;
max-width: 500px;
padding: 7px 18px;
font-size: 15px;
color: #ffffff;
border-radius: 0 0 0 5px;
/* -- Руководство -------------------- */
.guide {
background: #f3ece3;
padding: 10px 15px;
color: #363636;
}
.guide p {
margin-top: 7px;
font-size: 17px;
}
.guide ol {
list-style-type: decimal;
padding: 5px 25px;
}
.guide ol li {
margin: 15px 0px 15px 20px;
font-size: 15px;
}
.discipline {
margin: 0px 25px;
......
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