%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<%= yield :head %>
<%= javascript_tag do %>
<%= yield :js %>
<% end %>
<%= Rails.configuration.site_name rescue Rails.application.class.parent_name %>
<% [
[true, 'Keys', authorized_keys_path],
[true, 'Data', collections_path],
[true, 'Groups', groups_path],
[true, 'Pipeline Templates', pipeline_templates_path],
[true, 'Pipeline Instances', pipeline_instances_path],
[true, 'Jobs', jobs_path]
].each do |admin_only, name, path| %>
<% if !admin_only or (current_user and current_user.is_admin) %>
- ><%= name %>
<% end %>
<% end %>
<%= yield %>