1 <div class="selection-action-container">
4 <div class="btn-group btn-group-sm">
5 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Selection... <span class="caret"></span></button>
6 <ul class="dropdown-menu" role="menu">
7 <li><%= link_to "Combine selections into a new collection", '#',
8 'data-href' => combine_selected_path(
9 action_data: {selection_param: 'project'}.to_json
11 'data-selection-param-name' => 'selection[]',
12 'data-selection-action' => 'combine-project-contents',
14 'data-toggle' => 'dropdown'
16 <li><%= link_to "Compare selected", 'action',
17 'data-href' => compare_pipeline_instances_path,
18 'data-selection-param-name' => 'uuids[]',
19 'data-selection-action' => 'compare'
21 <li><%= link_to "Copy selected", '#',
22 'data-href' => choose_projects_path(
23 title: 'Copy selected items to...',
26 action_href: actions_path,
27 action_method: 'post',
28 action_data_from_params: ['selection'],
30 copy_selections_into_project: true,
31 selection_param: 'uuid',
32 success: 'page-refresh'}.to_json),
33 'data-remote' => true,
34 'data-selection-param-name' => 'selection[]',
35 'data-selection-action' => 'copy'
37 <li><%= link_to "Move selected", '#',
38 'data-href' => choose_projects_path(
39 title: 'Move selected items to...',
42 action_href: actions_path,
43 action_method: 'post',
44 action_data_from_params: ['selection'],
46 move_selections_into_project: true,
47 selection_param: 'uuid',
48 success: 'page-refresh'}.to_json),
49 'data-remote' => true,
50 'data-selection-param-name' => 'selection[]',
51 'data-selection-action' => 'move'
53 <li><%= link_to "Remove selected", '#',
54 'data-href' => url_for(action: :remove_items),
55 'data-selection-param-name' => 'item_uuids[]',
56 'data-selection-action' => 'remove',
57 'data-remote' => true,
59 'data-toggle' => 'dropdown'
64 <div class="col-sm-4 pull-right">
65 <input type="text" class="form-control filterable-control" placeholder="Search project contents" data-filterable-target="table.arv-index.arv-project-<%= tab_pane %> tbody"/>
69 <table class="table table-condensed arv-index arv-project-<%= tab_pane %>">
71 <col width="0*" style="max-width: fit-content;" />
72 <col width="0*" style="max-width: fit-content;" />
73 <col width="0*" style="max-width: fit-content;" />
74 <col width="60%" style="width: 60%;" />
75 <col width="40%" style="width: 40%;" />
77 <tbody data-infinite-scroller="#<%= tab_pane %>-scroll" data-infinite-content-href="<%= url_for partial: :contents_rows %>" data-infinite-content-params-projecttab="<%= {filters: filters}.to_json %>">