Revisión 105
Añadido por Manu Mora Gordillo hace alrededor de 14 años
controlies/trunk/www/classroomServers/index.html | ||
---|---|---|
return false;
|
||
}else{
|
||
|
||
/* x = ($(window).width()-300)/2;
|
||
y = ($(window).height()-500)/2;
|
||
$("#messageLoading").show();
|
||
|
||
$("#messageLoading").hide();
|
||
$("#dialog-details").html("").css("display","none");;
|
||
|
||
$("#dialog-form").dialog({
|
||
resizable: false,
|
||
position: top,
|
||
modal: true,
|
||
width: 300,
|
||
title: "Detalles del aula"
|
||
}).dialog('option', 'position', [x, y]);*/
|
||
|
||
$.post('hosts','action=getClassroomDetails&classroom='+selected[0], function(data) {
|
||
var result = $.parseJSON(data);
|
||
alert(result);
|
||
|
||
if(result.students.length>0){
|
||
$.each(result.students, function(i, l){
|
||
$('#selectableStudents').append('<li class="ui-state-default" id="selectableStudents-'+l+'"><div id="pcName" style="font-size:11px;">'+l+'</div><img class="thumb-image" src="img/turnOff.png"/><div id="userName" style="font-size:11px;"></div></li>');
|
||
});
|
||
}
|
||
|
||
x = ($(window).width()-500)/2;
|
||
y = ($(window).height()-500)/2;
|
||
|
||
$("#messageLoading").hide();
|
||
|
||
$("#dialog-details").dialog({
|
||
resizable: false,
|
||
position: top,
|
||
modal: true,
|
||
width: 500,
|
||
title: "Detalles del aula"
|
||
}).dialog('option', 'position', [x, y]);
|
||
});
|
||
}
|
||
}
|
||
... | ... | |
</tr>
|
||
</table>
|
||
|
||
<div id="dialog-details"></div>
|
||
<div id="dialog-details"><ol id="selectableStudents" style="width:470px;"></ol></div>
|
Exportar a: Unified diff
Detalles del aula