1
0
mirror of https://github.com/newnius/YAO-portal.git synced 2025-12-13 00:56:44 +00:00
This commit is contained in:
2019-05-20 15:22:13 +08:00
parent 9bea4ddecf
commit 8bd85029d5
4 changed files with 6 additions and 10 deletions

View File

@@ -246,7 +246,7 @@
<div class="form-group form-group-lg">
<label for="form-agent-ip" class="sr-only">IP</label>
<input type="text" id="form-workspace-name" class="form-control" maxlength="64"
placeholder="" required/>
placeholder="workspace name" required/>
</div>
<label>Type</label>
<div class="form-group form-group-lg">
@@ -255,7 +255,7 @@
<option value="git">git</option>
</select>
</div>
<label>Repo</label>
<label>Git Repo</label>
<div class="form-group form-group-lg">
<label for="form-workspace-git-repo" class="sr-only">Git Repo</label>
<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-id"/>
<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>
</form>
</div>

View File

@@ -409,7 +409,7 @@ window.jobStatusOperateEvents = {
$("#modal-msg-content").html(res["msg"]);
$("#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) {
$("#modal-msg-content").html("Request failed : " + jqXHR.statusText);

View File

@@ -162,7 +162,7 @@ function summary_render() {
text: 'MEM Using'
},
legend: {
display: false
display: true
},
maintainAspectRatio: false
}

View File

@@ -168,11 +168,7 @@ foreach ($entries as $entry) {
<div class="panel-heading">Job Status</div>
<div class="panel-body">
<div class="table-responsive">
<div id="toolbar">
<button id="btn-job-stop" class="btn btn-default">
<i class="glyphicon glyphicon-remove"></i> Stop
</button>
</div>
<div id="toolbar"></div>
<table id="table-task" data-toolbar="#toolbar" class="table table-striped">
</table>
</div>