Skip to content
Snippets Groups Projects
Commit 1be9165e authored by PavelBegunkov's avatar PavelBegunkov
Browse files

#135 cut out invalid\unimplemented gui parts

parent db0dcecb
Branches
Tags
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
{ {
"Title": "Структура ЮФУ", "Title": "Структура ЮФУ",
"Items": [ "Items": [
{ "Title": "Подразделения", "Anchor": "faculties" }, { "Title": "Подразделения", "Anchor": "faculties", "Disabled": "true" },
{ "Title": "Кафедры", "Anchor": "departments", "Disabled": "true" }, { "Title": "Кафедры", "Anchor": "departments", "Disabled": "true" },
{ "Title": "Направления подготовки", "Anchor": "specializations", "Disabled": "true" } { "Title": "Направления подготовки", "Anchor": "specializations", "Disabled": "true" }
] ]
......
...@@ -5,7 +5,7 @@ $(function() { ...@@ -5,7 +5,7 @@ $(function() {
var jSubjectInput = $("input.InputSubject "); var jSubjectInput = $("input.InputSubject ");
var jGradeSelect = $("select.SelectGrade"); var jGradeSelect = $("select.SelectGrade");
var jExamTypeRadio = $("input.ExamType"); var jExamTypeRadio = $("input.ExamType");
var jCompoundSelect = $("select.SelectCompound"); // var jCompoundSelect = $("select.SelectCompound");
// Изменения базовых параметров дисциплины // Изменения базовых параметров дисциплины
$(".AddDiscipline").click(function() $(".AddDiscipline").click(function()
...@@ -27,7 +27,7 @@ $(function() { ...@@ -27,7 +27,7 @@ $(function() {
++errCount; ++errCount;
} }
var CompoundID = parseInt(jCompoundSelect.val()); // var CompoundID = parseInt(jCompoundSelect.val());
var examType = jExamTypeRadio.filter(":radio:checked").val(); var examType = jExamTypeRadio.filter(":radio:checked").val();
if (examType === undefined) { if (examType === undefined) {
...@@ -75,13 +75,13 @@ $(function() { ...@@ -75,13 +75,13 @@ $(function() {
jGradeSelect.change(function() { jGradeSelect.change(function() {
if (parseInt($(this).val()) > 0) { if (parseInt($(this).val()) > 0) {
jGradeSelect.css("border-color", INPUT_BORDER_COLOR); jGradeSelect.css("border-color", INPUT_BORDER_COLOR);
jCompoundSelect.prop("disabled", false); // jCompoundSelect.prop("disabled", false);
$.post(g_URLdir + "handler/discipline/getCompounds", {'gradeID' : parseInt($(this).val()) }, // $.post(g_URLdir + "handler/discipline/getCompounds", {'gradeID' : parseInt($(this).val()) },
function(data){ // function(data){
jCompoundSelect.html(data.response); // jCompoundSelect.html(data.response);
}, "json"); // }, "json");
}else{ } else {
jCompoundSelect.prop("disabled", true); // jCompoundSelect.prop("disabled", true);
} }
}); });
......
...@@ -65,17 +65,17 @@ ...@@ -65,17 +65,17 @@
</div> </div>
</div> </div>
</div> </div>
<div class="LayerSection"> {#<div class="LayerSection">#}
<div class="itemBlock"> {#<div class="itemBlock">#}
<div class="title">В составе объединенной дисциплины:</div> {#<div class="title">В составе объединенной дисциплины:</div>#}
<div class="field"> {#<div class="field">#}
<select class="SelectCompound defaultForm" disabled> {#<select class="SelectCompound defaultForm" disabled>#}
<option value="0">-- Нет --</option> {#<option value="0">-- Нет --</option>#}
</select> {#</select>#}
</div> {#</div>#}
</div> {#</div>#}
</div> {#</div>#}
<div class="LayerSection"> <div class="LayerSection">
<div class="itemBlock"> <div class="itemBlock">
<div class="title">Бонусные баллы:</div> <div class="title">Бонусные баллы:</div>
......
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