Project

General

Profile

« Previous | Next » 

Revision 55548030

Added by Ohad Levy almost 12 years ago

  • ID 555480301cc8d9d5a1ed991c27e63dc66c4ea489

adds missing EC2 propetries view

View differences:

app/views/compute_resources/show.html.erb
<th>Details</th>
<th></th>
<tr>
<td>Provider</td>
<td><%= @compute_resource.provider %></td>
</tr>
<tr>
<td>Description</td>
<td><%= @compute_resource.description %></td>
</tr>
<tr>
<td>URL</td>
<td><%= @compute_resource.url %></td>
</tr>
<tr>
<td>Provider</td>
<td><%= @compute_resource.provider %></td>
</tr>
<tr>
<td>Description</td>
<td><%= @compute_resource.description %></td>
</tr>
<tr>
<td>URL</td>
<td><%= @compute_resource.url %></td>
</tr>
</table>
</div>
<div id="vms" class="tab-pane" data-url=<%= compute_resource_vms_path(@compute_resource) %>>
......
</div>
<% if @compute_resource.capabilities.include?(:image) -%>
<div id="images" class="tab-pane">
<div id='title_action'>
<%= display_link_if_authorized("New Image", hash_for_new_compute_resource_image_path(:compute_resource_id => @compute_resource.id), :class => "btn btn-success") %>
</div>
<%= title_actions(display_link_if_authorized("New Image", hash_for_new_compute_resource_image_path(:compute_resource_id => @compute_resource.id), :class => "btn btn-success")) %>
<div id="images_list" data-url=<%= compute_resource_images_path(@compute_resource) %>>
<p id="spinner">
<%= image_tag 'spinner.gif' %>

Also available in: Unified diff