1 <% content_for :tab_panes do %>
3 <% comparable = controller.respond_to? :compare %>
5 <ul class="nav nav-tabs" data-tab-counts-url="<%= url_for(action: :tab_counts) rescue '' %>">
6 <% pane_list.each_with_index do |pane, i| %>
7 <% pane_name = (pane.is_a?(Hash) ? pane[:name] : pane) %>
8 <li class="<%= 'active' if i==0 %>">
9 <a href="#<%= pane_name %>"
10 id="<%= pane_name %>-tab"
13 data-tab-history-update-url=true
15 <%= pane_name.gsub('_', ' ') %> <span id="<%= pane_name %>-count"></span>
21 <div class="tab-content">
22 <% pane_list.each_with_index do |pane, i| %>
23 <% pane_name = (pane.is_a?(Hash) ? pane[:name] : pane) %>
24 <div id="<%= pane_name %>"
25 class="tab-pane fade <%= 'in active pane-loaded' if i==0 %> arv-log-event-listener arv-refresh-on-log-event arv-log-event-subscribe-to-pipeline-job-uuids"
26 <% if controller.action_name == "index" %>
27 data-object-kind="arvados#<%= ArvadosApiClient.class_kind controller.model_class %>"
29 data-object-uuid="<%= @object.uuid %>"
31 data-pane-content-url="<%= url_for(params.merge(tab_pane: pane_name)) %>"
32 style="margin-top:0.5em;"
34 <div class="pane-content">
36 <%= render_pane pane_name, to_string: true %>
38 <div class="spinner spinner-32px spinner-h-center"></div>