调整关联作品框显示宽度

This commit is contained in:
wanglinchun 2014-05-08 17:10:17 +08:00
parent 538f8516b0
commit d686e105a5
1 changed files with 6 additions and 4 deletions

View File

@ -59,7 +59,7 @@
<div style="padding-left: 17px; padding-bottom: 15px">温馨提示:如果您希望在我们平台托管参赛数据和代码,请按下面参赛步骤参赛!</div> <div style="padding-left: 17px; padding-bottom: 15px">温馨提示:如果您希望在我们平台托管参赛数据和代码,请按下面参赛步骤参赛!</div>
<% if User.current.logged? %> <% if User.current.logged? %>
<div style="padding-bottom: 20px; line-height: 25px"> <div style="padding-bottom: 10px; line-height: 25px">
<div style="padding-left: 17px; font-size: 15px"><strong>参赛步骤:</strong></div> <div style="padding-left: 17px; font-size: 15px"><strong>参赛步骤:</strong></div>
<div style="padding-left: 82px; "> <div style="padding-left: 82px; ">
<span style="padding-top: 50px">步骤1</span> <span style="padding-top: 50px">步骤1</span>
@ -73,10 +73,10 @@
</div> </div>
<!--点击关联参赛作品后弹出关联框--> <!--点击关联参赛作品后弹出关联框-->
<div id="put-bid-form" style="display: none"> <div id="put-bid-form" style="display: none; padding-left: 83px; width: 70%">
<%= form_for "contest_for_save", :remote=>true, :url => {:controller => 'contests', :action => 'add_softapplication'}, :update => "contesting_softapplication_list", :complete => '$("#put-bid-form").hide();' do |f| %> <%= form_for "contest_for_save", :remote=>true, :url => {:controller => 'contests', :action => 'add_softapplication'}, :update => "contesting_softapplication_list", :complete => '$("#put-bid-form").hide();' do |f| %>
<table id="contesting_table" border="0" width="100%" style="margin-left: 40px;"> <!--该table为点击关联参赛作品后弹出的--> <table id="contesting_table" border="0" width="102%" style="margin-left: -3px;"> <!--该table为点击关联参赛作品后弹出的-->
<tr> <tr style="padding-left: 50px">
<%= select_tag 'contest', options_for_select(select_option_app_helper(@softapplication)), :name => 'contest', :class => 'grayline' %> <%= select_tag 'contest', options_for_select(select_option_app_helper(@softapplication)), :name => 'contest', :class => 'grayline' %>
</tr> </tr>
@ -100,6 +100,8 @@
<% end %> <% end %>
<div class="underline-contests_three"></div>
<!--参赛作品列表,通过判断竞赛的id为2,3,6的显示参赛作品为提交的项目否则显示参赛的应用--> <!--参赛作品列表,通过判断竞赛的id为2,3,6的显示参赛作品为提交的项目否则显示参赛的应用-->
<% if @contest.id == 2 or @contest.id == 3 or @contest.id == 6 %> <% if @contest.id == 2 or @contest.id == 3 or @contest.id == 6 %>