Browse Source

修改样式。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.1
zouap 3 years ago
parent
commit
351dc288b5
3 changed files with 3 additions and 2 deletions
  1. +1
    -0
      templates/repo/grampus/trainjob/show.tmpl
  2. +1
    -1
      templates/repo/modelmanage/index.tmpl
  3. +1
    -1
      templates/repo/modelmanage/showinfo.tmpl

+ 1
- 0
templates/repo/grampus/trainjob/show.tmpl View File

@@ -777,6 +777,7 @@
$('#choice_Engine .default.text').text("PyTorch");
$('#choice_Engine input[name="Engine"]').val(0)
}
$('#choice_Engine .default.text').css({ "color": "rgb(0, 0, 0,0.87)" })
$('.ui.dimmer').css({ "background-color": "rgb(136, 136, 136,0.7)" })
createModelName();
loadSelectedModelFile(obj);


+ 1
- 1
templates/repo/modelmanage/index.tmpl View File

@@ -536,7 +536,7 @@
itemHtml += "<option class=\"item\" data-value=\"5\">OneFlow</option>"
itemHtml += "<option class=\"item\" data-value=\"6\">MXNet</option>"
itemHtml += "<option class=\"item\" data-value=\"3\">Other</option>"
$('#choice_Engine .default.text').text("Pytorch");
$('#choice_Engine .default.text').text("PyTorch");
$('#choice_Engine input[name="Engine"]').val(0)
$("#job-Engine").append(itemHtml);
$("#choice_Engine").removeClass('disabled');


+ 1
- 1
templates/repo/modelmanage/showinfo.tmpl View File

@@ -234,7 +234,7 @@ function loadInfo(){
}
function getEngineName(model){
if(model.Engine == 0){
return "Pytorch";
return "PyTorch";
}else if(model.Engine == 1 || model.Engine == 121){
return "TensorFlow";
}else if(model.Engine == 2 || model.Engine == 122){


Loading…
Cancel
Save