Revision 1fa42669
Added by Amos Benari over 10 years ago
refs #3811 - additional bootstrap 3 updates/fixes
- provisioning template "resolve" button ui fixes
- form inline help and button lacation fix
- host ip address help link fixed
- fixes libvirt allocation buttons
- host global parameters columns fixed
- fix multi-select width
app/helpers/hosts_helper.rb | ||
---|---|---|
[N_('None'), N_('Size'), N_('Full')].collect do |label|
|
||
content_tag :button, _(label), :type => 'button', :href => '#',
|
||
:name => 'allocation_radio_btn',
|
||
:class => (label == active) ? 'btn active' : 'btn',
|
||
:class => (label == active) ? 'btn btn-default active' : 'btn btn-default',
|
||
:onclick => "allocation_switcher(this, '#{label}');"
|
||
end.join(' ').html_safe
|
||
end)
|
Also available in: Unified diff