Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / app / views / trash_items / _show_trashed_projects.html.erb
1 <%# Copyright (C) The Arvados Authors. All rights reserved.
2
3 SPDX-License-Identifier: AGPL-3.0 %>
4
5 <div class="container selection-action-container" style="width: 100%">
6   <div class="col-md-2 pull-left">
7     <div class="btn-group btn-group-sm">
8       <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Selection... <span class="caret"></span></button>
9       <ul class="dropdown-menu" role="menu">
10         <li><%= link_to "Un-trash selected items", '#',
11                 method: :post,
12                 remote: true,
13                 'id' => 'untrash_selected_items',
14                 'data-href' => untrash_items_trash_items_path,
15                 'data-selection-param-name' => 'selection[]',
16                 'data-selection-action' => 'untrash-selected-items',
17                 'data-toggle' => 'dropdown'
18           %></li>
19       </ul>
20     </div>
21   </div>
22   <div class="col-md-4 pull-right">
23     <input type="text" class="form-control filterable-control recent-trash-items"
24            placeholder="Search trash"
25            data-filterable-target="#recent-project-trash-items"
26            value="<%= params[:search] %>" />
27   </div>
28
29   <p>
30     <b>Note:</b> Projects which are a subproject of a trashed project are only shown when searching the trash.
31   </p>
32
33   <div>
34     <table id="trash-index" class="topalign table table-condensed table-fixedlayout">
35       <colgroup>
36         <col width="5%" />
37         <col width="16%" />
38         <col width="25%" />
39         <col width="20%" />
40         <col width="29%" />
41         <col width="5%" />
42       </colgroup>
43
44       <thead>
45         <tr class="contain-align-left">
46           <th></th>
47           <th>Name</th>
48           <th>Parent project</th>
49           <th>Date&nbsp;trashed&nbsp;/<br />to&nbsp;be&nbsp;deleted</th>
50           <th>UUID</th>
51           <th></th>
52         </tr>
53       </thead>
54
55       <tbody data-infinite-scroller="#recent-project-trash-items" id="recent-project-trash-items"
56         data-infinite-content-href="<%= url_for partial: :trashed_project_rows %>" >
57       </tbody>
58     </table>
59   </div>
60 </div>