Revision 59e7136a
Added by Shlomi Zadok over 7 years ago
app/views/compute_resources/show.html.erb | ||
---|---|---|
<li><a href="#vms" data-toggle="tab"><%= _("Virtual Machines") %></a></li>
|
||
<% if @compute_resource.capabilities.include?(:image) %>
|
||
<li><a href="#images" data-toggle="tab"><%= _("Images") %></a></li>
|
||
<% end %>
|
||
<% if @compute_resource.capabilities.include?(:key_pair) %>
|
||
<li><a href="#key_pairs" data-toggle="tab"><%= _("SSH keys") %></a></li>
|
||
<% end %>
|
||
<li><a href="#compute_profiles" data-toggle="tab"><%= _("Compute profiles") %></a></li>
|
||
</ul>
|
||
... | ... | |
</div>
|
||
</div>
|
||
<% end %>
|
||
<% if @compute_resource.capabilities.include?(:key_pair) %>
|
||
<div id="key_pairs" class="tab-pane">
|
||
<div id="key_pairs_list" data-url=<%= compute_resource_key_pairs_path(@compute_resource) %>>
|
||
<%= spinner(_('Loading SSH keys information ...')) %>
|
||
</div>
|
||
</div>
|
||
<% end %>
|
||
<div id="compute_profiles" class="tab-pane">
|
||
<table class="<%= table_css_classes 'table-two-pane table-fixed' %>" id="two_pane_content">
|
||
<thead>
|
Also available in: Unified diff
Fixes #17015 - Adds Key pairs controller