OpenProject is the leading open source project management software.
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.
openproject/public/templates/work_packages/query_columns.html

50 lines
2.3 KiB

<table style="border-collapse: collapse; border:0;">
<tbody>
<tr>
<td style="padding-left:3px">
<label for="available_columns">{{ I18n.t('js.description_available_columns') }}</label>
<br/>
<select id="available_columns"
multiple="multiple"
name="available_columns[]"
ng-model="markedAvailableColumns"
ng-options="column.name as column.title for column in availableColumns"
size="10"
style="width:150px">
</select>
</td>
<td class="table-buttons" align="center" valign="middle">
<label class="hidden-for-sighted" for="add_selected_columns">{{ I18n.t('js.label_add_columns') }}</label>
<input id="add_selected_columns"
type="button"
value="→"
ng-click="moveColumns(markedAvailableColumns, availableColumns, columns)"
title="{{ I18n.t('js.label_add_columns') }}"><br>
<label class="hidden-for-sighted" for="add_selected_columns">{{ I18n.t('js.label_remove_columns') }}</label>
<input type="button"
value="←"
ng-click="moveColumns(markedSelectedColumns, columns, availableColumns)"
title="{{ I18n.t('js.label_remove_columns') }}">
</td>
<td>
<label for="selected_columns">{{ I18n.t('js.description_selected_columns') }}</label>
11 years ago
<br/>
<select id="selected_columns"
multiple="multiple"
ng-model="markedSelectedColumns"
ng-options="column.name as column.title for column in columns"
name="c[]"
size="10"
style="width:150px">
</select>
</td>
<td class="table-buttons" align="center" valign="middle">
<label class="hidden-for-sighted" for="move_up">{{ I18n.t('js.label_sort_higher') }}</label>
<input id="move_up" type="button" value="↑" ng-click="moveSelectedColumnBy(-1);" title="{{ I18n.t('js.label_sort_higher') }}"><br>
<label class="hidden-for-sighted" for="move_up">{{ I18n.t('js.label_sort_lower') }}</label>
<input id="move_down" type="button" value="↓" ng-click="moveSelectedColumnBy(1);" title="{{ I18n.t('js.label_sort_lower') }}">
</td>
</tr>
</tbody>
</table>