diff --git a/app/views/shixuns/_settings_edit.html.erb b/app/views/shixuns/_settings_edit.html.erb index 90efda66..02ae245b 100644 --- a/app/views/shixuns/_settings_edit.html.erb +++ b/app/views/shixuns/_settings_edit.html.erb @@ -227,19 +227,19 @@ <% end %> -
-

程序最大执行时间

-
- * -
- <%= f.text_field :exec_time, :class => "fl input-48-45 width20 greyInput", :placeholder => "请输入程序执行时间" %> - -
-
- 必填项 -
-
-
+ + + + + + <%#= f.text_field :exec_time, :class => "fl input-48-45 width20 greyInput", :placeholder => "请输入程序执行时间" %> + + + + + + +

命令行

  • @@ -421,8 +421,8 @@ } else { $("#test_script_code").hide(); } - if ($("#shixun_exec_time").val() == "") - return; + // if ($("#shixun_exec_time").val() == "") + // return; $("#edit_shixun_" + id).submit(); } } diff --git a/app/views/shixuns/_settings_show.html.erb b/app/views/shixuns/_settings_show.html.erb index 72752703..b7f750b2 100644 --- a/app/views/shixuns/_settings_show.html.erb +++ b/app/views/shixuns/_settings_show.html.erb @@ -40,12 +40,12 @@
  • -
    -

    程序最大执行时间

    -
    - <%= @shixun.exec_time %>秒 -
    -
    + + + + + +