diff --git a/templates/repo/grampus/trainjob/gpu/new.tmpl b/templates/repo/grampus/trainjob/gpu/new.tmpl index 142e5bd90..8860316f7 100755 --- a/templates/repo/grampus/trainjob/gpu/new.tmpl +++ b/templates/repo/grampus/trainjob/gpu/new.tmpl @@ -80,6 +80,8 @@
{{.CsrfTokenHtml}} + + @@ -360,8 +362,16 @@ msg = JSON.stringify(msg) $('#store_run_para').val(msg) } + function get_name(){ + let name1=$("#engine_name .text").text() + let name2=$("#flavor_name .text").text() + $("input#ai_engine_name").val(name1) + $("input#ai_flavor_name").val(name2) + + } validate(); $('.ui.create_train_job.green.button').click(function(e) { + get_name() send_run_para() validate(); })