<div class="panel-heading">
<% if section_id == 'ssh_keys' %>
<div class="pull-right">
- <%= link_to "Add new SSH key", add_ssh_key_popup_url,
+ <%= link_to raw('<i class="fa fa-plus"></i>' "Add new SSH key"), add_ssh_key_popup_url,
{class: 'btn btn-xs btn-primary', :remote => true, 'data-toggle' => "modal",
'data-target' => '#add-ssh-key-modal-window'} %>
</div>
<% if @my_ssh_keys.andand.any? %>
<table class="table manage-ssh-keys-table" style="table-layout:fixed; overflow:hidden; white-space: nowrap;">
<colgroup>
- <col style="width: 40%" />
- <col style="width: 55%" />
- <col style="width: 5%" />
+ <col style="width: 45%" />
+ <col style="width: 45%" />
+ <col style="width: 10%" />
</colgroup>
<thead>
<tr>
<td>
<% if key[:public_key] && key[:public_key].size > 0 %>
<div>
- <pre style="margin:0; overflow-x:scroll"> <%= key[:public_key] %> </pre>
+ <pre style="margin:0; overflow-y:scroll; max-height:7em"><%= key[:public_key] %></pre>
</div>
<% else %>
<%= key[:public_key] %>