1 <% content_for :tab_panes do %>
3 <% comparable = controller.respond_to? :compare %>
5 <ul class="nav nav-tabs">
6 <% pane_list.each_with_index do |pane, i| %>
7 <li class="<%= 'active' if i==0 %>"><a href="#<%= pane %>" data-toggle="tab" id="<%= pane %>-tab" data-pane-content-url="<%= url_for(params.merge(tab_pane: pane)) %>"> <%= pane.gsub('_', ' ') %></a></li>
10 <div class="tab-content">
11 <% pane_list.each_with_index do |pane, i| %>
13 class="tab-pane fade <%= 'in active loaded' if i==0 %> arv-log-event-listener"
14 <% if controller.action_name == "index" %>
15 data-object-kind="arvados#<%= ArvadosApiClient.class_kind controller.model_class %>"
17 data-object-uuid="<%= @object.uuid %>"
21 <div id="<%= pane %>-scroll" style="margin-top:0.5em;">
22 <div class="pane-content">
24 <%= render_pane pane, to_string: true %>
26 <div class="spinner spinner-32px spinner-h-center"></div>