修改了加入课程窗口里文本框的长度

This commit is contained in:
fanqiang 2013-10-09 16:47:54 +08:00
parent 82ce0ac8da
commit c75391b3a0
2 changed files with 14 additions and 10 deletions

View File

@ -13,7 +13,7 @@
border: 1px solid rgb(148, 148, 148); border: 1px solid rgb(148, 148, 148);
box-shadow: none; box-shadow: none;
text-shadow: none; text-shadow: none;
margin-top: -10px; /*margin-top: -10px;*/
/*margin-right: -4px;*/ /*margin-right: -4px;*/
} }
input[type="button"].bid_btn { input[type="button"].bid_btn {
@ -28,7 +28,7 @@
border: 1px solid rgb(148, 148, 148); border: 1px solid rgb(148, 148, 148);
box-shadow: none; box-shadow: none;
text-shadow: none; text-shadow: none;
margin-top: -10px; /*margin-top: -10px;*/
margin-right: -2px; margin-right: -2px;
} }
textarea:focus { textarea:focus {
@ -44,11 +44,15 @@
:remote => true, :remote => true,
:method => :post, :method => :post,
:id => 'new-watcher-form') do %> :id => 'new-watcher-form') do %>
<table border="0">
<tr>
<td align="cneter">
<%= text_field_tag 'course_password', nil, :size => 30%></td>
<%= text_field_tag 'course_password', nil, :size => 48%> <td align="center">
<%= submit_tag '加入', :name => nil, :class => "bid_btn", :onclick => "hideModal(this);" %></td>
<p class="buttons" style="padding-top: 10px; padding-bottom: 1px; margin-bottom: 1px"> <td align="center">
<%= submit_tag '加入', :name => nil, :class => "bid_btn", :onclick => "hideModal(this);" %>
<%= submit_tag l(:button_cancel), :name => nil, :class => "bid_btn", :onclick => "hideModal(this);", :type => 'button' %> <%= submit_tag l(:button_cancel), :name => nil, :class => "bid_btn", :onclick => "hideModal(this);", :type => 'button' %>
</p> </td>
</tr></table>
<% end %> <% end %>