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", '/combine_selected',
8 'data-href' => url_for('/combine_selected?show_project=true'),
9 'data-selection-param-name' => 'selection[]',
10 'data-selection-action' => 'combine',
11 'data-remote' => true,
12 'data-toggle' => 'dropdown'
14 <li><%= link_to "Compare selected", 'action',
15 'data-href' => compare_pipeline_instances_path,
16 'data-selection-param-name' => 'uuids[]',
17 'data-selection-action' => 'compare'
19 <li><%= link_to "Copy selected", '#',
20 'data-href' => choose_projects_path(
21 title: 'Copy selected items to...',
24 action_href: actions_path,
25 action_method: 'post',
26 action_data_from_params: ['selection'],
28 copy_selections_into_project: true,
29 selection_param: 'uuid',
30 success: 'page-refresh'}.to_json),
31 'data-remote' => true,
32 'data-selection-param-name' => 'selection[]',
33 'data-selection-action' => 'copy'
35 <li><%= link_to "Move selected", '#',
36 'data-href' => choose_projects_path(
37 title: 'Move selected items to...',
40 action_href: actions_path,
41 action_method: 'post',
42 action_data_from_params: ['selection'],
44 move_selections_into_project: true,
45 selection_param: 'uuid',
46 success: 'page-refresh'}.to_json),
47 'data-remote' => true,
48 'data-selection-param-name' => 'selection[]',
49 'data-selection-action' => 'move'
51 <li><%= link_to "Remove selected", '#',
52 'data-href' => url_for(action: :remove_items),
53 'data-selection-param-name' => 'item_uuids[]',
54 'data-selection-action' => 'remove',
55 'data-remote' => true,
57 'data-toggle' => 'dropdown'
62 <div class="col-sm-4 pull-right">
63 <input type="text" class="form-control filterable-control" placeholder="Search project contents" data-filterable-target="table.arv-index.arv-project-<%= tab_pane %> tbody"/>
67 <table class="table table-condensed arv-index arv-project-<%= tab_pane %>">
69 <col width="0*" style="max-width: fit-content;" />
70 <col width="0*" style="max-width: fit-content;" />
71 <col width="0*" style="max-width: fit-content;" />
72 <col width="60%" style="width: 60%;" />
73 <col width="40%" style="width: 40%;" />
75 <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 %>">