2 <html ng-app="Workbench">
6 <% if content_for? :page_title %>
7 <%= yield :page_title %> / <%= Rails.configuration.site_name %>
9 <%= Rails.configuration.site_name %>
12 <meta name="viewport" content="width=device-width, initial-scale=1.0">
13 <link rel="icon" href="/favicon.ico" type="image/x-icon">
14 <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
15 <meta name="description" content="">
16 <meta name="author" content="">
17 <% if current_user and $arvados_api_client.discovery[:websocketUrl] %>
18 <meta name="arv-websocket-url" content="<%=$arvados_api_client.discovery[:websocketUrl]%>?api_token=<%=Thread.current[:arvados_api_token]%>">
20 <meta name="robots" content="NOINDEX, NOFOLLOW">
22 <%# Feature #5645: Add open graph meta tags to generate this page's
23 social graph that search engines can use. http://ogp.me/ %>
24 <meta property="og:type" content="article" />
25 <meta property="og:url" content="<%= request.url %>" />
26 <meta property="og:site_name" content="<%= Rails.configuration.site_name %>" />
28 <% if @object.respond_to?(:name) and @object.name.present? %>
29 <meta property="og:title" content="<%= @object.name%>" />
31 <% if (@object.respond_to?(:description) rescue nil) and @object.description.present? %>
32 <meta property="og:description" content="<%= @object.description%>" />
35 <%# Done adding open graph meta tags %>
37 <%= stylesheet_link_tag "application", :media => "all" %>
38 <%= javascript_include_tag "application" %>
41 <%= javascript_tag do %>
42 angular.module('Arvados').value('arvadosApiToken', '<%=Thread.current[:arvados_api_token]%>');
43 angular.module('Arvados').value('arvadosDiscoveryUri', '<%= Rails.configuration.arvados_v1_base.sub '/arvados/v1', '/discovery/v1/apis/arvados/v1/rest' %>');
53 @media (max-width: 979px) { body { padding-top: 0; } }
55 @media (max-width: 767px) {
61 <link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css" rel="stylesheet">
62 <%= piwik_tracking_tag if (PiwikAnalytics.configuration.url != 'localhost' rescue false) %>
65 <%= render template: 'layouts/body' %>
66 <%= javascript_tag do %>
67 <%= yield :footer_js %>