Project

General

Profile

« Previous | Next » 

Revision dec6f148

Added by Amos Benari about 12 years ago

  • ID dec6f148597f2b72fa2ecb0786ee70d059a77e52

[UI] templates button in host form.

View differences:

app/views/hosts/_unattended.html.erb
<% end -%>
<%= password_f f, :root_pass, :label => "Root Password" %>
<div class="row">
<%= link_to_function "Provisioning Templates", "template_info('#templates_info','#{template_used_hosts_url}')", :title => "Click to refresh", :class => "btn btn-small span2 ra" %>
<div id="templates_info" class="span7"> </div>
<div class="control-group">
<div class="control-label"> Provisioning Templates</div>
<div class=controls>
<%= link_to_function icon_text("refresh", "Resolve"), "template_info('#templates_info','#{template_used_hosts_url}')", :class => "btn" %>
<%= popover("?", "Display the templates that will be used to provision this host", :title=>"Provisioning Templates") %>
</div>
<br>
<div id="templates_info" class="span6 controls"> </div>
</div>
</div>

Also available in: Unified diff