|
|
|
@ -227,19 +227,19 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="mb10 edu-back-white padding40-20">
|
|
|
|
|
<p class="color-grey-6 font-16 mb30">程序最大执行时间</p>
|
|
|
|
|
<div class="df">
|
|
|
|
|
<span class="mr30 color-orange pt10">*</span>
|
|
|
|
|
<div class="flex1 mr20">
|
|
|
|
|
<%= f.text_field :exec_time, :class => "fl input-48-45 width20 greyInput", :placeholder => "请输入程序执行时间" %>
|
|
|
|
|
<span class="fl ml10 mt6 color-grey">秒</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="width: 57px;">
|
|
|
|
|
<span class="color-orange mt8 fl none" id="shixun_exec_time"><i class="fa fa-exclamation-circle mr3"></i>必填项</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="mb10 edu-back-white padding40-20">-->
|
|
|
|
|
<!-- <p class="color-grey-6 font-16 mb30">程序最大执行时间</p>-->
|
|
|
|
|
<!-- <div class="df">-->
|
|
|
|
|
<!-- <span class="mr30 color-orange pt10">*</span>-->
|
|
|
|
|
<!-- <div class="flex1 mr20">-->
|
|
|
|
|
<%#= f.text_field :exec_time, :class => "fl input-48-45 width20 greyInput", :placeholder => "请输入程序执行时间" %>
|
|
|
|
|
<!-- <span class="fl ml10 mt6 color-grey">秒</span>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <div style="width: 57px;">-->
|
|
|
|
|
<!-- <span class="color-orange mt8 fl none" id="shixun_exec_time"><i class="fa fa-exclamation-circle mr3"></i>必填项</span>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<div class="mb10 edu-back-white padding40-20">
|
|
|
|
|
<p class="color-grey-6 font-16 mb30">命令行</p>
|
|
|
|
|
<li class="mb20">
|
|
|
|
@ -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();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|