Merge branch 'master' into 3193-manage-account
[arvados.git] / apps / workbench / app / views / users / _manage_virtual_machines.html.erb
1 <div>
2   <p>
3     For more information see <%= link_to raw('setting up SSH access'),
4     "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html", target: "_blank"%>
5   </p>
6
7   <table class="table virtual-machines-table">
8     <colgroup>
9       <col style="width: 35%" />
10       <col style="width: 35%" />
11       <col style="width: 30%" />
12     </colgroup>
13     <thead>
14       <tr>
15         <th> Host name </th>
16         <th> Login name </th>
17         <th> Last login </th>
18       </tr>
19     </thead>
20     <tbody>
21       <% @my_virtual_machines.andand.each do |vm| %>
22         <tr>
23           <td>
24             <%= vm[:hostname] %>
25           </td>
26           <td>
27             <%= @my_vm_logins[vm[:uuid]].andand.compact || [] %>
28           </td>
29           <td>
30           </td>
31         </tr>
32       <% end %>
33     </tbody>
34   </table>
35 </div>