Sha256: 3853b773b8a97bcb76b26debd58c6255a61e84c1997cfa52739c76995e08ff78
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
<% title _("Containers") %> <%= title_actions(new_link(_("New container"))) %> <ul class="nav nav-tabs" data-tabs="tabs"> <% @container_resources.each_with_index do |resource, i| %> <% if i == 0 %> <li class="active"><a href="#<%= "primary" %>" data-toggle="tab"><%= resource.name %></a></li> <% else %> <li><a href="#<%= resource.id %>" data-toggle="tab"><%= resource.name %></a></li> <% end %> <% end %> </ul> <div class="tab-content"> <% @container_resources.each_with_index do |resource, i| %> <% if i == 0 %> <div class="tab-pane active" id="primary"> <% else %> <div class="tab-pane" id="<%= resource.id %>"> <% end %> <% if resource.test_connection %> <%= render 'list', :containers => resource.vms, :resource => resource %> <% else %> <div class="alert alert-warning"> <%= (_("Error connecting with the compute resource: <strong> %s </strong>") % resource.errors.messages[:base]).html_safe %> </div> <% end %> </div> <% end %> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_docker-2.1.0 | app/views/containers/index.html.erb |