X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/86a02fd0842381002c46b590d774c561dbbaf19a..a0a03c3668a3cd5956b3bd4677a15d6c86770952:/apps/workbench/app/views/layouts/application.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/layouts/application.html.erb b/apps/workbench/app/views/layouts/application.html.erb index f009ffe12c..0bd1126d9d 100644 --- a/apps/workbench/app/views/layouts/application.html.erb +++ b/apps/workbench/app/views/layouts/application.html.erb @@ -14,11 +14,10 @@ - - <% if current_user %> + <% if current_user and $arvados_api_client.discovery[:websocketUrl] %> <% end %> - + <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> @@ -33,26 +32,18 @@ height: 100%; } - body > div.container-fluid { - padding-top: 70px; /* 70px to make the container go all the way to the bottom of the navbar */ - } - @media (max-width: 979px) { body { padding-top: 0; } } - .navbar .nav li.nav-separator > span.glyphicon.glyphicon-arrow-right { - padding-top: 1.25em; - } - @media (max-width: 767px) { .breadcrumbs { display: none; } } - + -
+
+ <% if current_user.andand.is_active %> + + <% end %> +
<%= yield %>
-
- <%= yield :footer_html %> <%= piwik_tracking_tag %> <%= javascript_tag do %> <%= yield :footer_js %> <% end %> +