X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a6375dee8141f18593cb8aa4e3bedc47b5f81d78..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 86e8f577b0..63cf67c263 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 @@
-
- - <%= Rails.configuration.site_name rescue Rails.application.class.parent_name %>
+
+
+
+
<% if current_user %>
<% if content_for?(:breadcrumbs) %>
<%= yield(:breadcrumbs) %>
@@ -86,22 +85,25 @@
-
-<%= link_to controller.breadcrumb_page_name, request.fullpath %>
+ <%= 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 %>
+ <% 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| %>
@@ -227,5 +234,6 @@
<%= javascript_tag do %>
<%= yield :footer_js %>
<% end %>
+