diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-31 10:39:59 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-31 10:39:59 +0000 |
commit | c00635e5605557333363e80c5d27b03550431d95 (patch) | |
tree | 5ed75c7f0206a8d582e8d7df5e6cf7fa1380146a /app/views/queries | |
parent | 7f77744e86e0db306083a43a2da4b8ab508da7e1 (diff) | |
download | redmine-c00635e5605557333363e80c5d27b03550431d95.tar.gz redmine-c00635e5605557333363e80c5d27b03550431d95.zip |
Removed hard-coded styles in filters.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6333 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/queries')
-rw-r--r-- | app/views/queries/_filters.rhtml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/queries/_filters.rhtml b/app/views/queries/_filters.rhtml index 74b75dc43..07090130a 100644 --- a/app/views/queries/_filters.rhtml +++ b/app/views/queries/_filters.rhtml @@ -109,20 +109,20 @@ Event.observe(document,"dom:loaded", apply_filters_observer); <% field = filter[0] options = filter[1] %> <tr <%= 'style="display:none;"' unless query.has_filter?(field) %> id="tr_<%= field %>" class="filter"> - <td style="width:200px;"> + <td class="field"> <%= check_box_tag 'f[]', field, query.has_filter?(field), :onclick => "toggle_filter('#{field}');", :id => "cb_#{field}" %> <label for="cb_<%= field %>"><%= filter[1][:name] || l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) %></label> </td> - <td style="width:170px;"> - <%= select_tag "op[#{field}]", options_for_select(operators_for_select(options[:type]), query.operator_for(field)), :id => "operators_#{field}", :onchange => "toggle_operator('#{field}');", :style => "vertical-align: top;" %> + <td class="operator"> + <%= select_tag "op[#{field}]", options_for_select(operators_for_select(options[:type]), query.operator_for(field)), :id => "operators_#{field}", :onchange => "toggle_operator('#{field}');" %> </td> - <td> + <td class="values"> <div id="div_values_<%= field %>" style="display:none;"> <% case options[:type] when :list, :list_optional, :list_status, :list_subprojects %> <span class="span_values_<%= field %>"> <%= select_tag "v[#{field}][]", options_for_select(options[:values], query.values_for(field)), :class => "values_#{field}", :id => "values_#{field}_1", :multiple => (query.values_for(field) && query.values_for(field).length > 1) %> - <%= link_to_function image_tag('bullet_toggle_plus.png'), "toggle_multi_select('values_#{field}_1');", :style => "vertical-align: bottom;" %> + <%= link_to_function image_tag('bullet_toggle_plus.png'), "toggle_multi_select('values_#{field}_1');" %> </span> <% when :date, :date_past %> <span class="span_values_<%= field %>"><%= text_field_tag "v[#{field}][]", query.value_for(field), :size => 10, :class => "values_#{field}", :id => "values_#{field}_1" %> <%= calendar_for "values_#{field}_1" %></span> |