X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/928aa8a0496f0c6f37579cac821e1048ce6cca96..6232434d6b86192b0531bacd7e4f0d5ae589f368:/apps/workbench/app/views/layouts/application.html.erb
diff --git a/apps/workbench/app/views/layouts/application.html.erb b/apps/workbench/app/views/layouts/application.html.erb
index 117db91587..63cf67c263 100644
--- a/apps/workbench/app/views/layouts/application.html.erb
+++ b/apps/workbench/app/views/layouts/application.html.erb
@@ -23,13 +23,34 @@
<% end %>
@@ -37,12 +58,23 @@
-
- - <%= Rails.configuration.site_name rescue Rails.application.class.parent_name %>
-
+
+
+
+
+ <% if current_user %>
<% if content_for?(:breadcrumbs) %>
<%= yield(:breadcrumbs) %>
<% else %>
+
-
<%= link_to(
controller.model_class.to_s.pluralize.underscore.gsub('_', ' '),
@@ -53,53 +85,81 @@
-
- <%= render partial: 'breadcrumb_page_name' %>
+ <%= link_to controller.breadcrumb_page_name, request.fullpath %>
+
+ -
+ <%= form_tag do |f| %>
+ <%= render :partial => "selection_checkbox", :locals => {:object => @object} %>
+ <% end %>
<% end %>
<% end %>
+ <% end %>
-
+
-
+
+
+
+
+
+ <% if current_user.andand.is_active %>
+
+
+ -
+ Dashboard
+
-
- <%= yield %>
-
+ <% [['Data', [['collections', 'Collections (data files)'],
+ ['humans'],
+ ['traits'],
+ ['specimens'],
+ ['links']]],
+ ['Activity', [['pipeline_instances', 'Recent pipeline instances'],
+ ['jobs', 'Recent jobs']]],
+ ['Compute', [['pipeline_templates'],
+ ['repositories', 'Code repositories'],
+ ['virtual_machines']]],
+ ['System', [['users'],
+ ['groups'],
+ ['nodes', 'Compute nodes'],
+ ['keep_disks']]]].each do |j| %>
+ - <%= j[0] %>
+
+
+ <% end %>
-
+
Help
+
+ - <%= link_to 'Tutorials and User guide', "#{Rails.configuration.arvados_docsite}/user", target: "_blank" %>
+ - <%= link_to 'API Reference', "#{Rails.configuration.arvados_docsite}/api", target: "_blank" %>
+ - <%= link_to 'SDK Reference', "#{Rails.configuration.arvados_docsite}/sdk", target: "_blank" %>
+ - <%= link_to 'Admin guide', "#{Rails.configuration.arvados_docsite}/admin", target: "_blank" %>
+
+
+
+
+ <% end %>
+
+
+
<%= piwik_tracking_tag %>
<%= javascript_tag do %>
<%= yield :footer_js %>
<% end %>
+