Browse Source

fix issue

tags/v1.22.4.1^2
zhoupzh 4 years ago
parent
commit
4c845a9851
2 changed files with 5 additions and 2 deletions
  1. +1
    -1
      templates/admin/cloudbrain/search_dashboard.tmpl
  2. +4
    -1
      templates/user/dashboard/cloudbrains.tmpl

+ 1
- 1
templates/admin/cloudbrain/search_dashboard.tmpl View File

@@ -8,7 +8,7 @@
<div class="ui two column centered grid">
<form class="fourteen wide mobile ten wide tablet ten wide computer column ui form ignore-dirty" style="margin-top:1.2rem">
<div class="ui fluid action input">
<input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "admin.cloudbrain.search"}}..." autofocus>
<input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "repo.cloudbrain.search"}}..." autofocus>
<button class="ui green button">{{.i18n.Tr "explore.search"}}</button>
</div>
</form>


+ 4
- 1
templates/user/dashboard/cloudbrains.tmpl View File

@@ -310,7 +310,10 @@ function getParams(){
}
else if(params.get('jobType') === 'SNN4IMAGENET'){
jobType = '{{$.i18n.Tr (printf "cloudbrain.SNN4IMAGENET")}}'
}else{
}else if(params.get('jobType') === 'BENCHMARK'){
jobType = '{{$.i18n.Tr (printf "cloudbrain.BENCHMARK")}}'
}
else{
jobType = '{{$.i18n.Tr (printf "cloudbrain.BRAINSCORE")}}'
}
}


Loading…
Cancel
Save