font-size: 80%;
min-width: 1em;
padding: 0px 2px 0px 0px;
+}
+
+#page-wrapper > div > h2 {
+ margin-top: 0px;
}
\ No newline at end of file
helper_method :running_pipelines
def running_pipelines
- pi = PipelineInstance.order(["started_at asc", "created_at asc"]).filter([["state", "in", ["RunningOnServer"]]])
+ pi = PipelineInstance.order(["started_at asc", "created_at asc"]).filter([["state", "in", ["RunningOnServer", "RunningOnClient"]]])
jobs = {}
pi.each do |pl|
pl.components.each do |k,v|
-<%= content_for :content_top %>
-<div class="pull-right">
- <%= content_for :tab_line_buttons %>
+<div class="clearfix">
+ <%= content_for :content_top %>
+ <div class="pull-right">
+ <%= content_for :tab_line_buttons %>
+ </div>
</div>
-<br clear="all" />
+
<%= content_for :tab_panes %>
'Metadata',
'Python example',
'CLI example',
- 'Curl example'].each do |section| %>
+ 'curl example'].each do |section| %>
<% section_id = section.gsub(" ","_").downcase %>
<div class="panel panel-default">
<div class="panel-heading">
<% if !['Group','User', 'Collection'].include? @object.class.to_s # projects and collections handle it themselves %>
<%= render partial: 'name_and_description' %>
<% end %>
+<% end %>
<% if @object.class.goes_in_projects? && @object.uuid != current_user.uuid # Not the "Home" project %>
<% content_for :tab_line_buttons do %>
<% end %>
<% end %>
-<% if @object.respond_to? :properties and !@object.properties.nil? %>
- <% if @object.properties[:page_content] %>
- <% content_for :page_content do %>
- <h1>
- <%= render_markup(@object.properties[:page_title] || @object.uuid) %>
- </h1>
-
- <% if @object.properties[:page_subtitle] %>
- <h4>
- <%= render_markup @object.properties[:page_subtitle] %>
- </h4>
- <% end %>
-
- <%= render_markup @object.properties[:page_content] %>
- <% end %>
- <% end %>
-<% end %>
-
-<% end %>
-<%= render partial: 'default_show' %>
+<%= render partial: 'title_and_buttons' %>
<%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.show_pane_list }%>
+<div style="margin-top: 10px">
<% pj = {} %>
<% pj[:job] = @object %>
<% pj[:name] = @object[:name] || "this job" %>
<% tasks = JobTask.filter([['job_uuid', '=', @object.uuid]]).results %>
<%= render partial: 'pipeline_instances/running_component', locals: {tasks: tasks, pj: pj, i: 0, expanded: true} %>
+</div>
<div class="panel panel-default">
<div class="panel-heading">
<% end %>
<% end %>
-<%= render partial: 'default_show' %>
+<%= render partial: 'title_and_buttons' %>
<%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.show_pane_list }%>
</div>
<div class="col-md-6">
- <% nodes = Node.all.select { |n| (Time.now - n[:last_ping_at]) < 3600 } %>
+ <% nodes = Node.all %>
<div class="panel panel-default" style="min-height: 10em">
<div class="panel-heading"><span class="panel-title">Compute status</span></div>
<div class="panel-body">