2012-03-24 04:02:49 +04:00
|
|
|
<table class="query-columns">
|
2011-09-18 06:01:33 +04:00
|
|
|
<tr>
|
2011-10-29 05:14:10 +04:00
|
|
|
<td style="padding-left:0">
|
2011-10-29 05:23:47 +04:00
|
|
|
<%= label_tag "available_columns", l(:description_available_columns) %>
|
2011-10-31 13:55:52 +04:00
|
|
|
<br />
|
2011-10-29 05:14:10 +04:00
|
|
|
<%= select_tag 'available_columns',
|
2013-02-23 16:04:29 +04:00
|
|
|
options_for_select(query_available_inline_columns_options(query)),
|
2011-11-20 14:07:11 +04:00
|
|
|
:multiple => true, :size => 10, :style => "width:150px",
|
|
|
|
:ondblclick => "moveOptions(this.form.available_columns, this.form.selected_columns);" %>
|
2011-09-18 06:01:33 +04:00
|
|
|
</td>
|
2012-03-24 04:02:49 +04:00
|
|
|
<td class="buttons">
|
2011-09-18 06:01:33 +04:00
|
|
|
<input type="button" value="→"
|
|
|
|
onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
|
|
|
|
<input type="button" value="←"
|
|
|
|
onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" />
|
|
|
|
</td>
|
2011-10-29 05:14:10 +04:00
|
|
|
<td>
|
2011-10-29 05:23:47 +04:00
|
|
|
<%= label_tag "selected_columns", l(:description_selected_columns) %>
|
2011-10-31 13:55:52 +04:00
|
|
|
<br />
|
2013-02-23 16:14:22 +04:00
|
|
|
<%= select_tag tag_name,
|
2013-02-23 16:04:29 +04:00
|
|
|
options_for_select(query_selected_inline_columns_options(query)),
|
2011-11-20 14:07:11 +04:00
|
|
|
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px",
|
2013-02-23 16:14:22 +04:00
|
|
|
:ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);" %>
|
2011-09-18 06:01:33 +04:00
|
|
|
</td>
|
2012-03-24 04:02:49 +04:00
|
|
|
<td class="buttons">
|
2014-03-29 18:38:11 +04:00
|
|
|
<input type="button" value="⇈" onclick="moveOptionTop(this.form.selected_columns);" /><br />
|
2011-09-18 06:01:33 +04:00
|
|
|
<input type="button" value="↑" onclick="moveOptionUp(this.form.selected_columns);" /><br />
|
2014-03-29 18:38:11 +04:00
|
|
|
<input type="button" value="↓" onclick="moveOptionDown(this.form.selected_columns);" /><br />
|
|
|
|
<input type="button" value="⇊" onclick="moveOptionBottom(this.form.selected_columns);" />
|
2011-09-18 06:01:33 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
2007-10-01 15:39:34 +04:00
|
|
|
</table>
|
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<%= javascript_include_tag 'select_list_move' %>
|
2007-10-01 14:44:45 +04:00
|
|
|
<% end %>
|