+
@@ -517,15 +520,22 @@ td, th {
$(document).ready(loadJobStatus);
function loadLog(version_name){
- document.getElementById("mask").style.display = "block"
+ $('.log .ui.inverted.active.dimmer').css({
+ "background-color": "#fff",
+ "display": "block",
+ });
$.get(`/api/v1/repos/${userName}/${repoPath}/modelmanage/${taskID}/log?version_name=${version_name}&lines=50&order=asc`, (data) => {
$('input[name=end_line]').val(data.EndLine)
$('input[name=start_line]').val(data.StartLine)
$(`#log_file`).text(data.Content)
- document.getElementById("mask").style.display = "none"
+ $('.log .ui.inverted.active.dimmer').css({
+ "display": "none",
+ });
}).fail(function(err) {
console.log(err);
- document.getElementById("mask").style.display = "none"
+ $('.log .ui.inverted.active.dimmer').css({
+ "display": "none",
+ });
});
}
function loadModelFile(version_name,parents,filename,init){