资源库讨论区发帖按钮样式调整

This commit is contained in:
zhuhao 2014-11-24 09:21:48 +08:00
parent 4e0f4d0a55
commit b222b7a8ed
3 changed files with 9 additions and 6 deletions

View File

@ -18,8 +18,9 @@
<%= form_for @message, :url => new_board_message_path(@board), :html => {:multipart => true, :id => 'message-form'} do |f| %>
<%= render :partial => 'messages/form', :locals => {:f => f} %>
<p>
<input type="button" onclick="submitProjectBoard();" class = "whiteButton m3p10 h30" value="<%= l(:button_submit)%>">
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-message").hide(); return false;', :class => 'whiteButton m3p10' %></p>
<!--<input type="button" onclick="submitProjectBoard();" class = "ButtonColor m3p10" value="<%= l(:button_submit)%>">-->
<a herf="#" onclick="submitProjectBoard();" class="ButtonColor m3p10"><%= l(:button_submit)%></a>
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-message").hide(); return false;', :class => 'ButtonColor m3p10' %></p>
<% end %>
<div id="preview" class="wiki"></div>
<% end %>

View File

@ -1,3 +1,4 @@
<div id="tags">
<%#begin
1 代表是user类型
@ -77,8 +78,8 @@
<%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
<%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
<%= f.submit l(:button_project_tags_add),:class => "ButtonAddTags" %>
<!--<a href="#" onclick="$('#target').submit();" class="ButtonColor" ><%#= l(:button_project_tags_add)%></a>-->
<%= link_to_function l(:button_cancel), '$("#put-tag-form").hide();',:class=>'ButtonColor'%>
<% end %>
</div>
<% end %>

View File

@ -1580,7 +1580,7 @@ form {display: inline;}
/*added by bai*/
input[type="submit"].bid_btn {
padding-bottom: 5px;
width: 50px;
width: auto;
height: 25px;
text-align: center;
font-family: '微软雅黑', Arial, Helvetica, sans-serif;
@ -1613,6 +1613,7 @@ input[type="submit"].ButtonAddTags {
top:3px;
}
input[type="button"].bid_btn {