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