1a74eabaf2ffc815f63b8dae7fa31941737190d3
[arvados.git] / apps / workbench / app / views / repositories / _show_repositories.html.erb
1 <%= render partial: "add_repository_modal" %>
2
3 <div class="container" style="width: 100%">
4   <div class="row">
5     <div class="col-md-pull-9 pull-left">
6       <p>
7         When you are using an Arvados virtual machine, you should clone the https:// URLs. This will authenticate automatically using your API token.
8       </p>
9       <p>
10         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.
11       </p>
12     </div>
13     <div class="col-md-pull-3 pull-right">
14       <%= link_to raw('<i class="fa fa-plus"></i> Add new repository'), "#",
15                       {class: 'btn btn-xs btn-primary', 'data-toggle' => "modal",
16                        'data-target' => '#add-repository-modal'}  %>
17     </div>
18   </div>
19
20   <div>
21     <table class="table table-condensed table-fixedlayout repositories-table">
22       <colgroup>
23         <col style="width: 10%" />
24         <col style="width: 30%" />
25         <col style="width: 55%" />
26         <col style="width: 5%" />
27       </colgroup>
28       <thead>
29         <tr>
30           <th></th>
31           <th> Name </th>
32           <th> URL </th>
33           <th></th>
34         </tr>
35       </thead>
36
37       <tbody data-infinite-scroller="#repositories-rows" id="repositories-rows"
38         data-infinite-content-href="<%= url_for partial: :repositories_rows %>" >
39       </tbody>
40     </table>
41   </div>
42 </div>