6 <% if content_for? :page_title %>
7 <%= yield :page_title %>
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 <%= stylesheet_link_tag "application", :media => "all" %>
18 <%= javascript_include_tag "application" %>
21 <%= javascript_tag do %>
26 padding-top: 60px; /* 60px to make the container go all the way to the
27 bottom of the topbar */
29 @media (max-width: 979px) { body { padding-top: 0; } }
35 <div class="navbar navbar-inverse navbar-fixed-top">
36 <div class="navbar-inner">
37 <a class="brand" style="margin-left: 1px" href="/"><%= Rails.configuration.site_name rescue Rails.application.class.parent_name %></a>
39 <ul class="nav pull-right">
40 <% if current_user -%>
41 <li><span class="badge badge-info" style="margin: 10px auto 10px; padding-top: 4px; padding-bottom: 4px"><%= current_user.email %></span></li>
42 <li><a href="<%= logout_path %>">Log out</a></li>
44 <li><a href="<%= $arvados_api_client.arvados_login_url(return_to: root_url) %>">Log in</a></li>
48 <% if current_user.andand.is_active %>
51 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
52 Access <b class="caret"></b>
54 <ul class="dropdown-menu">
55 <li><%= link_to 'Keys', authorized_keys_path %></li>
56 <li><%= link_to 'VMs', virtual_machines_path %></li>
57 <li><%= link_to 'Repositories', repositories_path %></li>
58 <li><%= link_to 'API Tokens', api_client_authorizations_path %></li>
62 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
63 Compute <b class="caret"></b>
65 <ul class="dropdown-menu">
66 <li><%= link_to 'Jobs', jobs_path %></li>
67 <li><%= link_to 'Pipeline instances', pipeline_instances_path %></li>
68 <li><%= link_to 'Pipeline templates', pipeline_templates_path %></li>
72 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
73 Data <b class="caret"></b>
75 <ul class="dropdown-menu">
76 <li><%= link_to 'Collections', collections_path %></li>
77 <li><%= link_to 'Links', links_path %></li>
78 <li><%= link_to 'Humans', humans_path %></li>
79 <li><%= link_to 'Traits', traits_path %></li>
82 <% if current_user.is_admin %>
84 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
85 Admin <b class="caret"></b>
87 <ul class="dropdown-menu">
88 <li><%= link_to 'Users', users_path %></li>
89 <li><%= link_to 'Groups', groups_path %></li>
90 <li><%= link_to 'Nodes', nodes_path %></li>
95 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
96 Docs <b class="caret"></b>
98 <ul class="dropdown-menu">
99 <li><%= link_to 'Tutorials and User guide', "#{Rails.configuration.arvados_docsite}/user", target: "_blank" %></li>
100 <li><%= link_to 'API Reference', "#{Rails.configuration.arvados_docsite}/api", target: "_blank" %></li>
101 <li><%= link_to 'Admin guide', "#{Rails.configuration.arvados_docsite}/admin", target: "_blank" %></li>
102 <li><%= link_to 'Install guide', "#{Rails.configuration.arvados_docsite}/install", target: "_blank" %></li>
111 <div class="container">
115 </div> <!-- /container -->
117 <%= piwik_tracking_tag %>
118 <%= javascript_tag do %>
119 <%= yield :footer_js %>