mirror of
https://github.com/newnius/YAO-portal.git
synced 2025-12-15 09:36:43 +00:00
update
This commit is contained in:
@@ -246,7 +246,7 @@
|
|||||||
<div class="form-group form-group-lg">
|
<div class="form-group form-group-lg">
|
||||||
<label for="form-agent-ip" class="sr-only">IP</label>
|
<label for="form-agent-ip" class="sr-only">IP</label>
|
||||||
<input type="text" id="form-workspace-name" class="form-control" maxlength="64"
|
<input type="text" id="form-workspace-name" class="form-control" maxlength="64"
|
||||||
placeholder="" required/>
|
placeholder="workspace name" required/>
|
||||||
</div>
|
</div>
|
||||||
<label>Type</label>
|
<label>Type</label>
|
||||||
<div class="form-group form-group-lg">
|
<div class="form-group form-group-lg">
|
||||||
@@ -255,7 +255,7 @@
|
|||||||
<option value="git">git</option>
|
<option value="git">git</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<label>Repo</label>
|
<label>Git Repo</label>
|
||||||
<div class="form-group form-group-lg">
|
<div class="form-group form-group-lg">
|
||||||
<label for="form-workspace-git-repo" class="sr-only">Git Repo</label>
|
<label for="form-workspace-git-repo" class="sr-only">Git Repo</label>
|
||||||
<input type="text" id="form-workspace-git-repo" class="form-control"
|
<input type="text" id="form-workspace-git-repo" class="form-control"
|
||||||
@@ -265,7 +265,7 @@
|
|||||||
<input type="hidden" id="form-workspace-submit-type"/>
|
<input type="hidden" id="form-workspace-submit-type"/>
|
||||||
<input type="hidden" id="form-workspace-id"/>
|
<input type="hidden" id="form-workspace-id"/>
|
||||||
<input type="hidden" id="form-workspace-content"/>
|
<input type="hidden" id="form-workspace-content"/>
|
||||||
<button id="form-workspace-submit" type="submit" class="btn btn-primary btn-lg">Submit</button>
|
<button id="form-workspace-submit" type="submit" class="btn btn-primary btn-lg">Create</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -409,7 +409,7 @@ window.jobStatusOperateEvents = {
|
|||||||
$("#modal-msg-content").html(res["msg"]);
|
$("#modal-msg-content").html(res["msg"]);
|
||||||
$("#modal-msg").modal('show');
|
$("#modal-msg").modal('show');
|
||||||
}
|
}
|
||||||
download(res['msg'], job + '_' + task + '.txt', "text/plain");
|
download(res['logs'], job + '_' + task + '.txt', "text/plain");
|
||||||
});
|
});
|
||||||
ajax.fail(function (jqXHR, textStatus) {
|
ajax.fail(function (jqXHR, textStatus) {
|
||||||
$("#modal-msg-content").html("Request failed : " + jqXHR.statusText);
|
$("#modal-msg-content").html("Request failed : " + jqXHR.statusText);
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ function summary_render() {
|
|||||||
text: 'MEM Using'
|
text: 'MEM Using'
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
display: false
|
display: true
|
||||||
},
|
},
|
||||||
maintainAspectRatio: false
|
maintainAspectRatio: false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -168,11 +168,7 @@ foreach ($entries as $entry) {
|
|||||||
<div class="panel-heading">Job Status</div>
|
<div class="panel-heading">Job Status</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<div id="toolbar">
|
<div id="toolbar"></div>
|
||||||
<button id="btn-job-stop" class="btn btn-default">
|
|
||||||
<i class="glyphicon glyphicon-remove"></i> Stop
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<table id="table-task" data-toolbar="#toolbar" class="table table-striped">
|
<table id="table-task" data-toolbar="#toolbar" class="table table-striped">
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user