|
|
|
@@ -1,7 +1,7 @@ |
|
|
|
<!-- 头部导航栏 --> |
|
|
|
{{template "base/head" .}} |
|
|
|
<style> |
|
|
|
.defaulttext{ |
|
|
|
.text{ |
|
|
|
color: rgba(0,0,0,.87) |
|
|
|
} |
|
|
|
</style> |
|
|
|
@@ -140,7 +140,7 @@ |
|
|
|
<label>模型框架</label> |
|
|
|
<div class="ui dropdown selection search width70" id="choice_Engine"> |
|
|
|
<input type="hidden" id="Engine" name="Engine" required> |
|
|
|
<div class="default defaulttext">选择模型框架</div> |
|
|
|
<div class="default text">选择模型框架</div> |
|
|
|
<i class="dropdown icon"></i> |
|
|
|
<div class="menu" id="job-Engine"> |
|
|
|
|
|
|
|
@@ -321,7 +321,7 @@ |
|
|
|
} |
|
|
|
itemHtml += "<option class=\"item\" data-value=\"3\">Other</option>" |
|
|
|
|
|
|
|
$('#choice_Engine .default.defaulttext').text(selectedText) |
|
|
|
$('#choice_Engine .default.text').text(selectedText) |
|
|
|
$('#choice_Engine input[name="Engine"]').val(selectedValue) |
|
|
|
$("#job-Engine").append(itemHtml); |
|
|
|
$("#choice_Engine").addClass('disabled') |
|
|
|
@@ -330,7 +330,7 @@ |
|
|
|
itemHtml += "<option class=\"item\" data-value=\"1\">TensorFlow</option>" |
|
|
|
itemHtml += "<option class=\"item\" data-value=\"2\">MindSpore</option>" |
|
|
|
itemHtml += "<option class=\"item\" data-value=\"3\">Other</option>" |
|
|
|
$('#choice_Engine .default.defaulttext').text("Pytorch"); |
|
|
|
$('#choice_Engine .default.text').text("Pytorch"); |
|
|
|
$('#choice_Engine input[name="Engine"]').val(0) |
|
|
|
$("#job-Engine").append(itemHtml); |
|
|
|
$("#choice_Engine").removeClass('disabled'); |
|
|
|
|