Revision 895ff43c
Added by Ohad Levy about 12 years ago
- ID 895ff43c4b29e7f968685fb86f9fb56c5a1b9636
app/views/compute_resources/form/_libvirt.html.erb | ||
---|---|---|
<% if hypervisor -%>
|
||
<%= f.hidden_field :uuid, :value => hypervisor %>
|
||
<% end -%>
|
||
<%= link_to_function "Test Connection", "testConnection(this)", :class => "btn + #{hypervisor.nil? ? "" : "success"}", :'data-url' => test_connection_compute_resources_path %>
|
||
<%= link_to_function "Test Connection", "testConnection(this)", :class => "btn + #{hypervisor.nil? ? "" : "btn-success"}", :'data-url' => test_connection_compute_resources_path %>
|
||
|
||
<%= image_tag('spinner.gif', :id => 'test_connection_indicator', :class => 'hide') %>
|
public/javascripts/host_checkbox.js | ||
---|---|---|
$('#confirmation-modal').modal({show: "true", backdrop: "static"});
|
||
});
|
||
|
||
$('#confirmation-modal .primary').click(function(){
|
||
$('#confirmation-modal .btn-primary').click(function(){
|
||
$("#confirmation-modal form").submit();
|
||
$('#confirmation-modal').modal('hide');
|
||
});
|
Also available in: Unified diff
[UI] minor fixes refs bootstrap upgrade