Program " + data[0][1] + "
"; txt = txt + data[0][0]; txt = txt + "
"; txt = txt + "
CALENDAR
"; txt = txt + "| Code | Topic | Date | Hour |
|---|---|---|---|
| " + data[1][i][1] + " | |||
| " + data[2][j][3] + " | " + data[2][j][1] + " | " + data[2][j][4] + " | " + data[2][j][5] + " |
"; txt = txt + "
PARAMETERS
"; txt = txt + "| Item | Date |
|---|---|
| Course close date | " + data[0][2] + " |
| Exame from | " + data[0][3] + " |
| Exam until | " + data[0][4] + " |
| Course approve grade | "+ data[0][7] + " |
| Cases fraction | " + data[0][8] + "% |
| Exam fraction | " + data[0][9] + "% |
| Minimum grade for exam | " + data[0][10] + " |
| Sociogram | Yes |
| Sociogram | No |
| Shifts | " + data[0][12] + " |
| Rotate | Yes |
| Rotate | No |
\n"; $('#program').html(txt); } }); $('body').css('cursor', 'default'); } } } // actions $(document).ready(function () { content_adapt() // content_action in cnt_storyboard // getWorkStoryboard - content_action var idx = 0; var num = "1"; $("#lr").hide() $("#content").css({ 'height': (window.innerHeight - $('#head').height() - 16) + 'px' }); $('#select input[type=radio]').change(function () { $("#content").css({ 'height': (window.innerHeight - $('#head').height() - 16) + 'px' }); if ($(this).val() == 2) { $("#lr").show(num); cnt = idx + 1 $('#cnt').text(cnt.toString() + ' of ' + num.toString()); one_div(idx, num); $("#fld_video").hide(); } else { $("#lr").hide(); if ($(this).val() == 3) { one_div(-1, num); $("#fld_video").show(); } else { show_div(num); $("#fld_video").hide(); } } }); $('#select input[type=label]').click(function () { }); $("#left").click(function () { idx--; if (idx < 0) { idx = num - 1; } cnt = idx + 1 $('#cnt').text(cnt.toString() + ' of ' + num.toString()); one_div(idx, num); }); $("#right").click(function () { idx++; if (idx > num - 1) { idx = 0; } cnt = idx + 1 $('#cnt').text(cnt.toString() + ' of ' + num.toString()); one_div(idx, num); }); $("#ctrl").click(function () { if ($("#index-panel").is(":visible") == true) { $("#index-panel").hide(); $('#mainSplitter').jqxSplitter({ panels: [{ size: '0%' }, { size: '100%' }] }); $("#arrow").attr("src", "/static/icons/chevronright32b.png"); } else { $("#index-panel").show(); $('#mainSplitter').jqxSplitter({ panels: [{ size: '25%' }, { size: '75%' }] }); $("#arrow").attr("src", "/static/icons/chevronleft32b.png"); } }); // radiobuttons of Model $('#networkEquation').on("click", function () { setNetworkEquation(vgraph_network); }); $('#networkNumber').on("click", function () { setNetworkNumber(vgraph_network); }); });
