##// END OF EJS Templates
Extract the "Add filter" drop-down from the table (#19097)....
Jean-Philippe Lang -
r14449:2239816344f0
parent child
Show More
@@ -12,17 +12,13 $(document).ready(function(){
12 });
12 });
13 <% end %>
13 <% end %>
14
14
15 <table style="width:100%">
16 <tr>
17 <td>
18 <table id="filters-table">
15 <table id="filters-table">
19 </table>
16 </table>
20 </td>
17
21 <td class="add-filter">
18 <div class="add-filter">
22 <%= label_tag('add_filter_select', l(:label_filter_add)) %>
19 <%= label_tag('add_filter_select', l(:label_filter_add)) %>
23 <%= select_tag 'add_filter_select', filters_options_for_select(query), :name => nil %>
20 <%= select_tag 'add_filter_select', filters_options_for_select(query), :name => nil %>
24 </td>
21 </div>
25 </tr>
22
26 </table>
27 <%= hidden_field_tag 'f[]', '' %>
23 <%= hidden_field_tag 'f[]', '' %>
28 <% include_calendar_headers_tags %>
24 <% include_calendar_headers_tags %>
@@ -378,7 +378,9 fieldset#filters td.operator select {max-width:170px;}
378 fieldset#filters td.values { white-space:nowrap; }
378 fieldset#filters td.values { white-space:nowrap; }
379 fieldset#filters td.values select {min-width:130px;}
379 fieldset#filters td.values select {min-width:130px;}
380 fieldset#filters td.values input {height:1em;}
380 fieldset#filters td.values input {height:1em;}
381 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
381
382 #filters-table {width:60%; float:left;}
383 .add-filter {width:35%; float:right; text-align: right; vertical-align: top;}
382
384
383 #issue_is_private_wrap {float:right; margin-right:1em;}
385 #issue_is_private_wrap {float:right; margin-right:1em;}
384 .toggle-multiselect {background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%; padding-left:8px; margin-left:0; cursor:pointer;}
386 .toggle-multiselect {background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%; padding-left:8px; margin-left:0; cursor:pointer;}
@@ -716,6 +716,9
716 padding-right: 0;
716 padding-right: 0;
717 }
717 }
718
718
719 #filters-table {width:100%; float:none;}
720 .add-filter {width:100%; float:none; text-align: left; margin-top: 8px;}
721
719 /*----------------------------------------*\
722 /*----------------------------------------*\
720 F) PAGE SPECIFIC STYLES
723 F) PAGE SPECIFIC STYLES
721 \*----------------------------------------*/
724 \*----------------------------------------*/
General Comments 0
You need to be logged in to leave comments. Login now