]> source.dussan.org Git - redmine.git/commitdiff
Extract the "Add filter" drop-down from the table (#19097).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Nov 2015 14:22:15 +0000 (14:22 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Nov 2015 14:22:15 +0000 (14:22 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14831 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/queries/_filters.html.erb
public/stylesheets/application.css
public/stylesheets/responsive.css

index ba5d2dbae363da89dbe66194334c62dd0a37afaf..13dcc704d2954faf773ab3157779dc5447e4588f 100644 (file)
@@ -12,17 +12,13 @@ $(document).ready(function(){
 });
 <% end %>
 
-<table style="width:100%">
-<tr>
-<td>
 <table id="filters-table">
 </table>
-</td>
-<td class="add-filter">
+
+<div class="add-filter">
 <%= label_tag('add_filter_select', l(:label_filter_add)) %>
 <%= select_tag 'add_filter_select', filters_options_for_select(query), :name => nil %>
-</td>
-</tr>
-</table>
+</div>
+
 <%= hidden_field_tag 'f[]', '' %>
 <% include_calendar_headers_tags %>
index 6a367bb9b585055c089ff310d88671fcccf960e2..9af8d244ca4a33013d2907e39af63470e4b71a6c 100644 (file)
@@ -378,7 +378,9 @@ fieldset#filters td.operator select {max-width:170px;}
 fieldset#filters td.values { white-space:nowrap; }
 fieldset#filters td.values select {min-width:130px;}
 fieldset#filters td.values input {height:1em;}
-fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
+
+#filters-table {width:60%; float:left;}
+.add-filter {width:35%; float:right; text-align: right; vertical-align: top;}
 
 #issue_is_private_wrap {float:right; margin-right:1em;}
 .toggle-multiselect {background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%; padding-left:8px; margin-left:0; cursor:pointer;}
index 6664827df0126d348a094a64c4b7003f98c9aef7..26f1250473cd00f2dfb4b7e9e7874f21e5f7e6a1 100644 (file)
         padding-right: 0;
     }
 
+    #filters-table {width:100%; float:none;}
+    .add-filter {width:100%; float:none; text-align: left; margin-top: 8px;}
+
     /*----------------------------------------*\
         F) PAGE SPECIFIC STYLES
     \*----------------------------------------*/