45,6 → 45,21 |
} |
); |
|
$("#cursoAfetoTable${CursoAfeto.id} .usarOlapCheck").each(function() |
{ |
if($(this).prop("checked")) |
{ |
$(this).closest("td").addClass("usarOlapCheck"); |
$(this).closest("td").removeClass("usarOlapNotCheck"); |
} |
else |
{ |
$(this).closest("td").removeClass("usarOlapChecked"); |
$(this).closest("td").addClass("usarOlapNotChecked"); |
} |
} |
); |
|
$("#cursoAfetoTable${CursoAfeto.id} .vistaCheck").each(function() |
{ |
if($(this).prop("checked")) |
86,6 → 101,20 |
} |
}); |
|
$("#cursoAfetoTable${CursoAfeto.id} .usarOlapCheck").on("change",function() |
{ |
if($(this).prop("checked")) |
{ |
$(this).closest("td").addClass("usarOlapChecked"); |
$(this).closest("td").removeClass("usarOlapNotChecked"); |
} |
else |
{ |
$(this).closest("td").removeClass("usarOlapChecked"); |
$(this).closest("td").addClass("usarOlapNotChecked"); |
} |
}); |
|
$("#cursoAfetoTable${CursoAfeto.id} .vistaCheck").on("change",function() |
{ |
if($(this).prop("checked")) |
130,6 → 159,7 |
<th>Docentes s/ sumario</th> |
<th>Turmas s/ sumario</th> |
<th>Escluidas</th> |
<th>Usar OLAP</th> |
<th>Usar</th> |
<th>Alunos OK</th> |
<th>Profs OK</th> |
165,6 → 195,11 |
var op = "usar"; |
setUnidadeAfetaVar('${CursoAfeto.id}','${unidade.id}',op,val,$(this).closest("td")); |
}); |
$("#unidadeAfetaRow${unidade.id} .usarOlapCheck").on("change",function(){ |
var val =$(this).prop("checked") ? "true" : "false"; |
var op = "usarOlap"; |
setUnidadeAfetaVar('${CursoAfeto.id}','${unidade.id}',op,val,$(this).closest("td")); |
}); |
$("#unidadeAfetaRow${unidade.id} .vistaCheck").on("change",function() |
{ |
var val =$(this).prop("checked") ? "true" : "false"; |
198,7 → 233,7 |
</td> |
<td>${unidade.codigoUnidade}</td> |
<td> |
<html:link target="_blank" action="/user/startLoadCourseUnitFromHome.do?id=${unidade.courseUnit.id}"> |
<html:link target="_blank" action="/user/startLoadCourseUnitFromHome?id=${unidade.courseUnit.id}"> |
${unidade.nome} |
</html:link> |
</td> |
263,6 → 298,14 |
<td>${unidade.profsWithoutTurma}</td><%--PROFS SEM SUMARIO--%> |
<td>${unidade.turmaWithoutProf}</td><%--Turmas Sem Sumario--%> |
<td>${unidade.excludedTipologias}</td> |
<td> |
<baco:clearOperation name="Questionario" op="QUESTIONARIO_CHANGE_ASSIGNEMENTS_USE_OLAP_UNIT"> |
<html:checkbox styleClass="usarOlapCheck" name="unidade" property="usarOlap"/> |
</baco:clearOperation> |
<baco:notClearOperation name="Questionario" op="QUESTIONARIO_CHANGE_ASSIGNEMENTS_USE_OLAP_UNIT"> |
<html:checkbox styleClass="usarOlapCheck" name="unidade" property="usarOlap" disabled="true"/> |
</baco:notClearOperation> |
</td> |
<td> |
<baco:clearOperation name="Questionario" op="QUESTIONARIO_CHANGE_ASSIGNEMENTS_USE_UNIT"> |
<html:checkbox styleClass="usarCheck" name="unidade" property="usar"/> |
295,7 → 338,7 |
</tr> |
<tr class="collapse" id="tipologias${unidade.id}"> |
<td></td> |
<td colspan="14" class="tipologias" style="padding-left: 25px"> |
<td colspan="15" class="tipologias" style="padding-left: 25px"> |
|
<div class="panel panel-default"> |
<div class="panel-body"> |