Revision b3f525e2
Added by Ohad Levy about 13 years ago
- ID b3f525e22658fb39cef68e4ec5c02cd77d0925db
app/views/hypervisors/index.html.erb | ||
---|---|---|
</tr>
|
||
<% for hypervisor in @hypervisors %>
|
||
<tr class="<%= cycle("even", "odd") -%>">
|
||
<td><%=link_to hypervisor.name, edit_hypervisor_path(hypervisor) %></td>
|
||
<td><%=link_to hypervisor, hypervisor_path(hypervisor) %></td>
|
||
<td><%=h hypervisor.uri %></td>
|
||
<td><%=h hypervisor.kind %></td>
|
||
<td><%= link_to "Destroy", hypervisor, :confirm => 'Are you sure?', :method => :delete %></td>
|
||
<td>
|
||
<%=link_to "Edit", edit_hypervisor_path(hypervisor) %>
|
||
<%= link_to "Destroy", hypervisor, :confirm => 'Are you sure?', :method => :delete %>
|
||
</td>
|
||
</tr>
|
||
<% end %>
|
||
</table>
|
Also available in: Unified diff
fixes #723 - Hypervisor details page
This also include basic functionality to power on/off guests