|
|
@@ -93,16 +93,6 @@ |
|
|
|
display: none; |
|
|
|
} |
|
|
|
|
|
|
|
.select2-container .select2-selection--single{ |
|
|
|
height:38px !important; |
|
|
|
} |
|
|
|
|
|
|
|
.select2-container--default .select2-selection--single { |
|
|
|
border : 1px solid rgba(34,36,38,.15) !important; |
|
|
|
} |
|
|
|
.select2-container--default .select2-selection--single .select2-selection__rendered{ |
|
|
|
line-height: 38px !important; |
|
|
|
} |
|
|
|
</style> |
|
|
|
|
|
|
|
<div id="mask"> |
|
|
@@ -258,7 +248,7 @@ |
|
|
|
<button class="ui green button" > |
|
|
|
{{.i18n.Tr "repo.cloudbrain.new"}} |
|
|
|
</button> |
|
|
|
<a class="ui button" href="{{.RepoLink}}/debugjob??debugListType=CPU/GPU">{{.i18n.Tr "repo.cloudbrain.cancel"}}</a> |
|
|
|
<a class="ui button cancel" href="">{{.i18n.Tr "repo.cloudbrain.cancel"}}</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> |
|
|
@@ -268,12 +258,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{template "base/footer" .}} |
|
|
|
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" /> |
|
|
|
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script> |
|
|
|
<script> |
|
|
|
|
|
|
|
// let url_href = window.location.pathname.split('create')[0] |
|
|
|
// $(".ui.button").attr('href',url_href) |
|
|
|
let form = document.getElementById('form_id'); |
|
|
|
|
|
|
|
|
|
|
@@ -291,10 +276,6 @@ |
|
|
|
$('#messageInfo p').text(str) |
|
|
|
return false |
|
|
|
} |
|
|
|
// if(!value_image || !value_data){ |
|
|
|
// console.log("------------------------") |
|
|
|
// return false |
|
|
|
// } |
|
|
|
let min_value_task = value_task.toLowerCase() |
|
|
|
$("input[name='job_name']").attr("value",min_value_task) |
|
|
|
document.getElementById("mask").style.display = "block" |
|
|
|