Revision 82e47ae0
Added by Amos Benari about 12 years ago
- ID 82e47ae0f86994702c3a084cc6150250a81034ee
app/views/hypervisors/guests/show.html.erb | ||
---|---|---|
<% title @guest %>
|
||
|
||
<div class='row'>
|
||
<div class='span16'>
|
||
<table class="list zebra-striped">
|
||
<div class='span12'>
|
||
<table class="table table-bordered table-striped">
|
||
<tr><th colspan="2">Properties</th></tr>
|
||
<tr>
|
||
<td>Machine Type</td>
|
||
... | ... | |
</div>
|
||
</div>
|
||
<% title_actions display_link_if_authorized("Power#{state(@guest.running?)}", hash_for_power_hypervisor_guest_path(:hypervisor_id => @hypervisor, :id => @guest), :confirm => 'Are you sure?', :method => :put, :class=>'btn ' + (@guest.running? ? "danger" : "success")),
|
||
display_link_if_authorized("Delete", hash_for_hypervisor_guest_path(:hypervisor_id => @hypervisor, :id => @guest).merge(:auth_action => :destroy), :confirm => 'Are you sure?', :method => :delete, :class=>'btn danger'),
|
||
display_delete_if_authorized(hash_for_hypervisor_guest_path(:hypervisor_id => @hypervisor, :id => @guest), :class=>'btn btn-danger'),
|
||
display_link_if_authorized("Other Guests on this hypervisor", hash_for_hypervisor_guests_path(:hypervisor_id => @hypervisor), :class=>'btn') %>
|
Also available in: Unified diff
updates UI to bootstrap v2