|
|
|
@@ -3,7 +3,7 @@ export default async function initCloudrain() { |
|
|
|
$(document).ready(loadJobStatus); |
|
|
|
function loadJobStatus() { |
|
|
|
$(".job-status").each((index, job) => { |
|
|
|
const ID = job.dataset.ID; |
|
|
|
const ID = job.dataset.jobid; |
|
|
|
const repoPath = job.dataset.repopath; |
|
|
|
// const computeResource = job.dataset.resource |
|
|
|
const versionname = job.dataset.version |
|
|
|
@@ -136,7 +136,7 @@ export default async function initCloudrain() { |
|
|
|
}) |
|
|
|
} |
|
|
|
$('.ui.basic.ai_stop').click(function() { |
|
|
|
const ID = this.dataset.ID |
|
|
|
const ID = this.dataset.jobid |
|
|
|
const repoPath = this.dataset.repopath |
|
|
|
stopDebug(ID,repoPath) |
|
|
|
}) |
|
|
|
@@ -165,7 +165,7 @@ export default async function initCloudrain() { |
|
|
|
}); |
|
|
|
} |
|
|
|
$('.ui.basic.ai_stop_version').click(function() { |
|
|
|
const ID = this.dataset.ID |
|
|
|
const ID = this.dataset.jobid |
|
|
|
const repoPath = this.dataset.repopath |
|
|
|
const versionName = this.dataset.version |
|
|
|
stopVersion(versionName,ID,repoPath) |
|
|
|
@@ -228,7 +228,7 @@ export default async function initCloudrain() { |
|
|
|
} |
|
|
|
} |
|
|
|
$('.ui.basic.ai_debug').click(function() { |
|
|
|
const ID = this.dataset.ID |
|
|
|
const ID = this.dataset.jobid |
|
|
|
const repoPath = this.dataset.repopath |
|
|
|
const redirect_to = this.dataset.linkpath |
|
|
|
debugAgain(ID,repoPath,redirect_to) |
|
|
|
|