X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6f287d35e8f0b6f78c784de00386af81ba37b95c..35336cd73e444534cb2eda20e3730464cc4e6553:/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 5cb6c836bd..abef47136f 100644 --- a/apps/workbench/app/views/layouts/application.html.erb +++ b/apps/workbench/app/views/layouts/application.html.erb @@ -31,7 +31,7 @@ body > div.container-fluid { padding-top: 70px; /* 70px to make the container go all the way to the bottom of the navbar */ } - + body > div.container-fluid > div.col-sm-9.col-sm-offset-3 { overflow: auto; } @@ -42,26 +42,15 @@ padding-top: 1.25em; } - /* Setting the height needs to be fixed with javascript. */ - .dropdown-menu { - padding-right: 20px; - max-height: 440px; - width: 400px; - overflow-y: auto; + @media (min-width: 768px) { + .left-nav { + position: fixed; } - - .arvados-nav-container { - position: fixed; - top: 70px; - height: calc(100% - 70px); - overflow: auto; - z-index: 2; } - .arvados-nav-active { - background: rgb(66, 139, 202); + @media (max-width: 767px) { + .breadcrumbs { + display: none; } - .arvados-nav-active a { - color: white; } @@ -69,8 +58,18 @@
-
-
- <% if current_user %> +
+
+ <%= yield %> +
+
+
+
+ <% if current_user.andand.is_active %>
  • Dashboard
  • - - <% [['Data', [['humans'], + + <% [['Data', [['collections', 'Collections (data files)'], + ['humans'], ['traits'], ['specimens'], - ['collections', 'Files'], - ['links', 'Metadata']]], - ['Compute', [['pipeline_templates', 'Pipelines'], + ['links']]], + ['Activity', [['pipeline_instances', 'Recent pipeline instances'], + ['jobs', 'Recent jobs']]], + ['Compute', [['pipeline_templates'], ['repositories', 'Code repositories'], ['virtual_machines']]], - ['Activity', [['pipeline_instances', 'Recent pipelines'], - ['jobs', 'Recent jobs']]], ['System', [['users'], ['groups'], ['nodes', 'Compute nodes'], - ['keep_disks']]]].each do |j| %> + ['keep_disks']]]].each do |j| %>
  • <%= j[0] %>
      <% j[1].each do |k| %> @@ -216,16 +228,12 @@ <% end %>
-
-
- <%= yield %> -
-
<%= piwik_tracking_tag %> <%= javascript_tag do %> <%= yield :footer_js %> <% end %> +