项目配置中 编辑里程碑的样式及日历无法显示问题
This commit is contained in:
parent
36e363c278
commit
cf67c8603c
|
@ -1,4 +1,4 @@
|
||||||
<div id="muban_popup_box" style="width:820px;">
|
<div id="muban_popup_box" style="width:800px;">
|
||||||
<div class="muban_popup_top">
|
<div class="muban_popup_top">
|
||||||
<h3 class="fl">编辑里程碑</h3>
|
<h3 class="fl">编辑里程碑</h3>
|
||||||
<a href="javascript:void(0);" class="muban_icons_close fr" onclick="hideModal()"></a>
|
<a href="javascript:void(0);" class="muban_icons_close fr" onclick="hideModal()"></a>
|
||||||
|
@ -17,18 +17,18 @@
|
||||||
<p class="c_orange ml100" style="display: none" id="pupub_project_setting_version_title">标题不能为空</p>
|
<p class="c_orange ml100" style="display: none" id="pupub_project_setting_version_title">标题不能为空</p>
|
||||||
</li>
|
</li>
|
||||||
<li class="mb10 clear">
|
<li class="mb10 clear">
|
||||||
<label class=" fl"> 描述 : </label>
|
<label class="fl ml5"> 描述 : </label>
|
||||||
<%= f.text_field :description, :maxlength => 60, :class=>"w650 fl", :style=>"height:28px;", :no_label => true %>
|
<%= f.text_field :description, :maxlength => 60, :class=>"w650 fl", :style=>"height:28px;", :no_label => true %>
|
||||||
</li>
|
</li>
|
||||||
<!--<li class="mb10 clear">-->
|
<li class="mb10 clear">
|
||||||
<!--<label class=" fl"><span class="c_red f12">*</span> 结束日期 : </label>-->
|
<label class=" fl"><span class="c_red f12">*</span> 日期 : </label>
|
||||||
<!--<%#= f.text_field :effective_date, :size => 10, :readonly => true,:class=>"issues_calendar_input fl", :id => "version_effective_date2", :placeholder=>"结束日期", :style=>"height:28px;", :no_label => true %>-->
|
<%= f.text_field :effective_date, :size => 10, :readonly => true,:class=>"issues_calendar_input fl", :id => "version_effective_date2", :placeholder=>"结束日期", :style=>"height:28px;", :no_label => true %>
|
||||||
<!--<%#= calendar_for('version_effective_date2') %>-->
|
<%= calendar_for('version_effective_date2') %>
|
||||||
<!--<input type="text" placeholder="结束日期" class="issues_calendar_input fl ">-->
|
<!--<input type="text" placeholder="结束日期" class="issues_calendar_input fl ">-->
|
||||||
<!--<a href="" class="issues_data_img fl"></a>-->
|
<!--<a href="" class="issues_data_img fl"></a>-->
|
||||||
</li>
|
</li>
|
||||||
<li class="mb10 clear">
|
<li class="mb10 clear">
|
||||||
<label class=" fl"> 状态 : </label>
|
<label class="fl ml5"> 状态 : </label>
|
||||||
<%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]},{:no_label => true },{:style=>"height:28px;"} %>
|
<%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]},{:no_label => true },{:style=>"height:28px;"} %>
|
||||||
</li>
|
</li>
|
||||||
<% if params[:action] == "index" %>
|
<% if params[:action] == "index" %>
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
<input value="true" name="is_create" type="hidden">
|
<input value="true" name="is_create" type="hidden">
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
<a href="javascript:void(0);" class="fr sy_btn_grey mr45" onclick="hideModal()">取消</a>
|
<a href="javascript:void(0);" class="fr sy_btn_grey mr80" onclick="hideModal()">取消</a>
|
||||||
<a href="javascript:void(0);" class="fr sy_btn_blue mr5" onclick="popub_project_version_commit();">保存</a>
|
<a href="javascript:void(0);" class="fr sy_btn_blue mr5" onclick="popub_project_version_commit();">保存</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
@ -51,8 +51,8 @@
|
||||||
{
|
{
|
||||||
if(popub_regex_version_name())
|
if(popub_regex_version_name())
|
||||||
{
|
{
|
||||||
hideModal();
|
|
||||||
$("#popub_new_project_version_form").submit();
|
$("#popub_new_project_version_form").submit();
|
||||||
|
hideModal();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue