diff --git a/app/views/boards/_project_show.html.erb b/app/views/boards/_project_show.html.erb index 8128797c0..81b1f6a8f 100644 --- a/app/views/boards/_project_show.html.erb +++ b/app/views/boards/_project_show.html.erb @@ -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} %>

- - <%= link_to l(:button_cancel), "#", :onclick => '$("#add-message").hide(); return false;', :class => 'whiteButton m3p10' %>

+ + <%= l(:button_submit)%> + <%= link_to l(:button_cancel), "#", :onclick => '$("#add-message").hide(); return false;', :class => 'ButtonColor m3p10' %>

<% end %>
<% end %> diff --git a/app/views/tags/_tag.html.erb b/app/views/tags/_tag.html.erb index 63592d91a..c0217c925 100644 --- a/app/views/tags/_tag.html.erb +++ b/app/views/tags/_tag.html.erb @@ -1,3 +1,4 @@ +
<%#begin 1 代表是user类型 @@ -76,9 +77,9 @@ <%= f.text_field :name ,:id => "tags_name",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length %> <%= 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" %> + <%= f.submit l(:button_project_tags_add),:class => "ButtonAddTags" %> + <%= link_to_function l(:button_cancel), '$("#put-tag-form").hide();',:class=>'ButtonColor'%> - <% end %>
<% end %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 1b1580d8c..140b8e5d3 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -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; @@ -1607,12 +1607,13 @@ input[type="submit"].ButtonAddTags { text-align: center ; margin:0 auto; border-radius: 0px !important; - background: #15bccf; + background: #15bccf ; border: 0px solid #15bccf !important; position: relative; top:3px; + } input[type="button"].bid_btn {