Project

General

Profile

« Previous | Next » 

Revision bf4a13d3

Added by Walden Raines over 10 years ago

Fixes #3811 updating to bootstrap 3

View differences:

app/views/compute_resources/form/_libvirt.html.erb
<%= text_f f, :url, :class => "input-xlarge", :help_block => _("e.g. qemu://host.example.com/system") %>
<%= text_f f, :url, :size => "col-md-8", :help_block => _("e.g. qemu://host.example.com/system") %>
<%= select_f f, :display_type, %w[VNC SPICE],:upcase, :to_s, { }, :label => _("Display type") %>
<%= checkbox_f f, :set_console_password, :checked => f.object.set_console_password?,
......
<% if hypervisor %>
<%= f.hidden_field :uuid, :value => hypervisor %>
<% end %>
<%= link_to_function _("Test Connection"), "testConnection(this)", :class => "btn + #{hypervisor.nil? ? "" : "btn-success"}", :'data-url' => test_connection_compute_resources_path %>
<%= link_to_function _("Test Connection"), "testConnection(this)", :class => "btn + #{hypervisor.nil? ? "btn-default" : "btn-success"}", :'data-url' => test_connection_compute_resources_path %>
<%= image_tag('/assets/spinner.gif', :id => 'test_connection_indicator', :class => 'hide') %>

Also available in: Unified diff