Mercurial > hg > soundsoftware-site
changeset 1260:b18f581b260a redmine-2.2-integration
Fixed the extra spacing between the tags input field and its label.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 11 Apr 2013 12:34:22 +0100 |
parents | 94a6e3687c45 |
children | 4f5d10466283 |
files | plugins/redmine_tags/app/views/projects/_filter_search_tags.html.erb plugins/redmine_tags/app/views/projects/_tags_form.html.erb plugins/redmine_tags/app/views/projects/index.html.erb plugins/redmine_tags/assets/stylesheets/redmine_tags.css |
diffstat | 4 files changed, 18 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/redmine_tags/app/views/projects/_filter_search_tags.html.erb Wed Apr 10 18:13:16 2013 +0100 +++ b/plugins/redmine_tags/app/views/projects/_filter_search_tags.html.erb Thu Apr 11 12:34:22 2013 +0100 @@ -3,7 +3,9 @@ <br /> <em class="info"><%= l(:text_tags_info).html_safe %></em> </p> - <div id="project_tag_candidates" class="autocomplete"></div> + + <div id="project_tag_candidates" class="autocomplete" style="margin-top: 0;"></div> + <%= stylesheet_link_tag 'jquery.tagit.css', :plugin => 'redmine_tags' %> <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %> <%= javascript_include_tag 'tag-it', :plugin => 'redmine_tags' %> @@ -20,7 +22,7 @@ }); }, }); -" %> +" -%> </div>
--- a/plugins/redmine_tags/app/views/projects/_tags_form.html.erb Wed Apr 10 18:13:16 2013 +0100 +++ b/plugins/redmine_tags/app/views/projects/_tags_form.html.erb Thu Apr 11 12:34:22 2013 +0100 @@ -1,10 +1,9 @@ <%= labelled_fields_for :project, project do |f| -%> <div> <p id="project_tags"><%= f.text_field :tag_list, :label => :tags, :size => 60, :class => 'hol' %> - <br /> <em class="info"><%= l(:text_tags_info).html_safe %></em> </p> - <div id="project_tag_candidates" class="autocomplete"></div> + <div id="project_tag_candidates" class="autocomplete" style="margin-top: 0;"></div> <%= stylesheet_link_tag 'jquery.tagit.css', :plugin => 'redmine_tags' %> <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %> <%= javascript_include_tag 'tag-it', :plugin => 'redmine_tags' %>
--- a/plugins/redmine_tags/app/views/projects/index.html.erb Wed Apr 10 18:13:16 2013 +0100 +++ b/plugins/redmine_tags/app/views/projects/index.html.erb Thu Apr 11 12:34:22 2013 +0100 @@ -16,27 +16,21 @@ <div style="clear:both;"></div> - <%= form_tag :projects, :method => :get do -%> - <fieldset id="filters_fieldset" class="collapsible"> - <legend><%= l(:label_filter_plural) %></legend> +<%= form_tag :projects, :method => :get do -%> + <div> + <div id='filter_tags'> + <%= render :partial => 'filter_search_tags' -%> + </div> - <div> - <div id='filter_tags'> - <%= render :partial => 'filter_search_tags' -%> - </div> + <p class='q'> + <%= label_tag 'search', l('project_filtering_q_label') %> + <%= text_field_tag 'search', params[:search] -%> + <%= submit_tag :search, :name => nil %> + </p> - <p class='q'> - <%= label_tag 'search', l('project_filtering_q_label') %> - <%= text_field_tag 'search', params[:search] -%> - <%= submit_tag :search, :name => nil %> - </p> - - </div> - - </fieldset> + </div> <%- end -%> - <div id="projects"> <%= render :partial => 'filtered_projects' %> </div>
--- a/plugins/redmine_tags/assets/stylesheets/redmine_tags.css Wed Apr 10 18:13:16 2013 +0100 +++ b/plugins/redmine_tags/assets/stylesheets/redmine_tags.css Thu Apr 11 12:34:22 2013 +0100 @@ -56,6 +56,6 @@ table.projects th.tags { color: #3e442c; } dl.tags { margin-top: 1.5em; margin-left: 0; padding-bottom: 1em; overflow: hidden; margin-bottom: 1em; border-bottom: 1px dotted #bbbbbb; } -dt.tags-title { float: left; font-weight: bold; color: #3e442c; } +dt.tags-title { float: left; font-weight: bold; color: #3e442c; } dd.tags { margin-left: .5em; float: left; color: #3e442c; } - +