Project

General

Profile

« Previous | Next » 

Revision c2d5484a

Added by Ohad Levy almost 12 years ago

  • ID c2d5484a535ff6b5990d3365d533a13a29f4ab64

[UI] - added missing label classes

View differences:

app/views/compute_resources_vms/form/libvirt/_network.html.erb
<div class="fields">
<% if (networks = compute_resource.networks).any? -%>,
<%= selectable_f f, :bridge, networks.map(&:name), { }, :class => "span2", :label => "Network",
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove network interface', :class => 'label important' }) %>
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove network interface', :class => 'label label-important' }) %>
<% else -%>
<%= text_f f, :bridge, :class => "span2", :label => "Network", :help_block => "your libvirt host does not support interface listing, please enter here the bridge name (e.g. br0)",
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove network interface', :class => 'label important' }) %>
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove network interface', :class => 'label label-important' }) %>
<% end -%>
</div>
app/views/compute_resources_vms/form/libvirt/_volume.html.erb
<%= selectable_f f, :pool_name, compute_resource.storage_pools.map(&:name), { }, :class => "span2", :label => "Storage Pool" %>
<%= text_f f, :capacity, :class => "input-mini", :label => "Size (GB)" %>
<%= select_f f, :format_type, %w[RAW QCOW2],:downcase, :to_s, { }, :class => "span2", :label => "Type",
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove network interface', :class => 'label important' }) %>
</div>
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove network interface', :class => 'label label-important' }) %>
</div>
app/views/hosts/multiple_destroy.html.erb
<%= render 'selected_hosts', :hosts => @hosts %>
<%= form_tag submit_multiple_destroy_hosts_path(:host_ids => params[:host_ids]) do -%>
<span class="label warning">Warning</span> This might take a while, as all hosts, facts and reports will be destroyed as well
<span class="label label-warning">Warning</span> This might take a while, as all hosts, facts and reports will be destroyed as well
<% end %>

Also available in: Unified diff