kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.7 KiB
37 lines
1.7 KiB
15 years ago
|
<table style="border-collapse: collapse; border:0;">
|
||
17 years ago
|
<tr>
|
||
13 years ago
|
<td style="padding-left:0">
|
||
13 years ago
|
<%= label_tag "available_columns", l(:description_available_columns) %>
|
||
|
<br \>
|
||
13 years ago
|
<%= select_tag 'available_columns',
|
||
17 years ago
|
options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
|
||
17 years ago
|
:multiple => true, :size => 10, :style => "width:150px" %>
|
||
|
</td>
|
||
13 years ago
|
<td class="table-buttons" align="center" valign="middle">
|
||
15 years ago
|
<input type="button" value="→"
|
||
13 years ago
|
onclick="moveOptions(this.form.available_columns, this.form.selected_columns);"
|
||
13 years ago
|
title="<%= l(:label_add_columns) %>"/><br />
|
||
15 years ago
|
<input type="button" value="←"
|
||
13 years ago
|
onclick="moveOptions(this.form.selected_columns, this.form.available_columns);"
|
||
13 years ago
|
title="<%= l(:label_remove_columns) %>" />
|
||
17 years ago
|
</td>
|
||
13 years ago
|
<td>
|
||
13 years ago
|
<%= label_tag "selected_columns", l(:description_selected_columns) %>
|
||
|
<br \>
|
||
13 years ago
|
<%= select_tag 'c[]',
|
||
15 years ago
|
options_for_select(query.columns.collect {|column| [column.caption, column.name]}),
|
||
17 years ago
|
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>
|
||
|
</td>
|
||
13 years ago
|
<td class="table-buttons" align="center" valign="middle">
|
||
13 years ago
|
<input type="button" value="↑" onclick="moveOptionUp(this.form.selected_columns);"
|
||
|
title="<%= l(:label_sort_higher) %>" /><br />
|
||
|
<input type="button" value="↓" onclick="moveOptionDown(this.form.selected_columns);"
|
||
|
title="<%= l(:label_sort_lower) %>" />
|
||
15 years ago
|
</td>
|
||
17 years ago
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= javascript_include_tag 'select_list_move' %>
|
||
17 years ago
|
<% end %>
|