4645: log files in provenance graph can be clicked.
[arvados.git] / apps / workbench / app / views / users / _add_ssh_key_popup.html.erb
1 <div class="modal-dialog modal-with-loading-spinner">
2   <div class="modal-content">
3
4     <%= form_tag add_ssh_key_path, {method: 'get', id: 'add_new_key_form', name: 'add_new_key_form', class: 'form-search, new_authorized_key', remote: true} do %>
5
6       <div class="modal-header">
7         <button type="button" class="close" onClick="reset_form()" data-dismiss="modal" aria-hidden="true">&times;</button>
8         <div>
9           <div class="col-sm-6"> <h4 class="modal-title">Add SSH Key</h4> </div>
10           <div class="spinner spinner-32px spinner-h-center col-sm-1" hidden="true"></div>
11         </div>
12         <br/>
13       </div>
14
15       <div class="modal-body">
16         <div> <%= link_to "Click here to learn about SSH keys in Arvados.",
17                   "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html", 
18                   style: "font-weight: bold",
19                   target: "_blank" %>
20         </div>
21         <div class="form-group">
22           <label for="public_key">Public Key</label>
23           <textarea class="form-control" id="public_key" rows="4" name="public_key" type="text"/>
24         </div>
25         <div class="form-group">
26           <label for="name">Name</label>
27           <input class="form-control" id="name" maxlength="250" name="name" type="text"/>
28         </div>
29       </div>
30
31       <div class="modal-footer">
32         <button type="submit" class="btn btn-primary" autofocus>Submit</button>
33         <button class="btn btn-default" onClick="reset_form()" data-dismiss="modal" aria-hidden="true">Cancel</button>
34       </div>
35
36     <% end #form %>
37   </div>
38 </div>