X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f263c987ad0b144393edd28f281c5b19e84fdf0b..a959f21c8147f26362df392bc3fd3290db69de85:/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 0923f8f533..ec26409ca6 100644 --- a/apps/workbench/app/views/layouts/application.html.erb +++ b/apps/workbench/app/views/layouts/application.html.erb @@ -14,6 +14,10 @@ + <% if current_user and $arvados_api_client.discovery[:websocketUrl] %> + + <% end %> + <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> @@ -28,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 %> +