X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/69d8b15559aa4b1c7b48c3fa07642b8349aec04b..03bee5d2ecc62b0fe7aaae67e8d5fffcdeeb4880:/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 570d1d5810..68f0e109bd 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'], +
  • + Dashboard +
  • + + <% [['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']]]].each do |j| %> + ['System', [['users'], + ['groups'], + ['nodes', 'Compute nodes'], + ['keep_disks']]]].each do |j| %>
  • <%= j[0] %>
  • @@ -203,40 +220,17 @@
  • <%= link_to 'Admin guide', "#{Rails.configuration.arvados_docsite}/admin", target: "_blank" %>
- <% if current_user.andand.is_admin %> - - <% [['Admin', [['users'], - ['groups'], - ['nodes', 'Compute nodes'], - ['keep_disks']]]].each do |j| %> -
  • <%= j[0] %> - -
  • - <% end %> - <% end %>
    <% end %>
    -
    -
    - <%= yield %> -
    -
    <%= piwik_tracking_tag %> <%= javascript_tag do %> <%= yield :footer_js %> <% end %> +