Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / app / views / repositories / _show_repositories.html.erb
1 <%# Copyright (C) The Arvados Authors. All rights reserved.
2
3 SPDX-License-Identifier: AGPL-3.0 %>
4
5 <%= render partial: "add_repository_modal" %>
6
7 <div class="container" style="width: 100%">
8   <div class="row">
9     <div class="col-md-pull-9 pull-left">
10       <p>
11         When you are using an Arvados virtual machine, you should clone the https:// URLs. This will authenticate automatically using your API token.
12       </p>
13       <p>
14         In order to clone git repositories using SSH, <%= link_to ssh_keys_user_path(current_user) do%> add an SSH key to your account<%end%> and clone the git@ URLs.
15       </p>
16     </div>
17     <div class="col-md-pull-3 pull-right">
18       <%= link_to raw('<i class="fa fa-plus"></i> Add new repository'), "#",
19                       {class: 'btn btn-xs btn-primary', 'data-toggle' => "modal",
20                        'data-target' => '#add-repository-modal'}  %>
21     </div>
22   </div>
23
24   <div>
25     <table class="table table-condensed table-fixedlayout repositories-table">
26       <colgroup>
27         <col style="width: 10%" />
28         <col style="width: 30%" />
29         <col style="width: 55%" />
30         <col style="width: 5%" />
31       </colgroup>
32       <thead>
33         <tr>
34           <th></th>
35           <th> Name </th>
36           <th> URL </th>
37           <th></th>
38         </tr>
39       </thead>
40
41       <tbody data-infinite-scroller="#repositories-rows" id="repositories-rows"
42         data-infinite-content-href="<%= url_for partial: :repositories_rows %>" >
43       </tbody>
44     </table>
45   </div>
46 </div>