1 <% content_for :tutorials do %>
3 <% @tutorial_links.each do |tut| %>
4 <div class="well clearfix">
6 <strong><%= tut.properties[:page_title] %></strong>
7 <% if @tutorial_complete[tut.properties[:page_title]] %>
8 <span class="badge badge-success pull-right">✔</span>
10 <span class="badge pull-right">✍</span>
13 <%= render_content_from_database tut.properties[:page_subtitle] %>
15 <%= link_to raw('Tutorial: ' + tut.properties[:page_title] + ' ➜'), link_path(tut.uuid), class: "pull-right btn btn-primary" %>
18 <% if not @tutorial_links.any? %>
19 <div class="well clearfix">
21 <strong>Your first job</strong>
23 <span class="badge badge-success pull-right">✔</span>
25 <span class="badge pull-right">✍</span>
28 Run your first Crunch job.
30 <%= link_to raw('Tutorial: Your first job ➜'), 'http://doc.arvados.org/user/tutorial-job1.html', class: "pull-right btn btn-primary" %>
32 <div class="well clearfix">
34 <strong>Search PGP data by trait</strong>
36 Find PGP participants who reported a medical condition, and find WGS data for them.
38 <%= link_to raw('Tutorial: Search PGP data ➜'), 'http://doc.arvados.org/user/tutorial-trait-search.html', class: "pull-right btn btn-primary" %>
43 <% content_for :references do %>
45 <div class="well clearfix">
47 <strong>API Reference</strong>
49 API calls for running jobs, building pipelines, and developing apps.
51 <%= link_to raw('API Reference ➜'), 'http://doc.arvados.org/api/', class: "pull-right btn" %>
53 <div class="well clearfix">
55 <strong>User Guide</strong>
57 Getting acquainted with the Arvados platform.
59 <%= link_to raw('User Guide ➜'), 'http://doc.arvados.org/user/', class: "pull-right btn" %>
61 <div class="well clearfix">
63 <strong>arvados.org</strong>
65 Project home page: developer docs, source code, background.
67 <%= link_to raw('arvados.org ➜'), 'https://arvados.org/', class: "pull-right btn" %>
71 <% if current_user.andand.is_active %>
72 <% content_for :manage_access do %>
74 <div class="well clearfix">
76 <strong>SSH keys</strong>
77 <span class="badge <%= 'badge-success' if @my_ssh_keys.any? %> pull-right"><%= @my_ssh_keys.count %></span>
79 You’ll use public key authentication for logging in to
80 VMs and using hosted git repositories.
82 <%= link_to raw('Add/edit keys ➜'), authorized_keys_path, class: "pull-right btn #{'btn-primary' if @my_ssh_keys.empty?}" %>
84 <div class="well clearfix">
86 <strong>Virtual machines</strong>
87 <span class="badge <%= 'badge-success' if @my_vm_perms.any? %> pull-right"><%= @my_vm_perms.collect(&:head_uuid).uniq.count %></span>
89 Arvados includes virtual machines with SDKs installed and ready to use.
91 <% if @my_vm_perms.any? %>
92 <%= link_to raw('Show VMs ➜'), virtual_machines_path, class: "pull-right btn" %>
93 <% elsif @my_ssh_keys.any? %>
94 <%= link_to raw('Request a VM ➜'), virtual_machines_path, class: "pull-right btn btn-primary" %>
96 <%= link_to raw('Request a VM ➜'), virtual_machines_path, { :class => "pull-right btn disabled", :"data-toggle" => "tooltip", :"data-placement" => "bottom", :title => "Add an SSH public key first!" } %>
99 <div class="well clearfix">
101 <strong>Git repositories</strong>
102 <span class="badge <%= 'badge-success' if @my_repo_perms.any? %> pull-right"><%= @my_repo_perms.collect(&:head_uuid).uniq.count %></span>
104 In order to run jobs using your own code, you need to push your code to a git repository. We provide hosted git repositories to make this easy.
106 <% if @my_repo_perms.any? %>
107 <%= link_to raw('Show repositories ➜'), repositories_path, class: "pull-right btn" %>
108 <% elsif @my_ssh_keys.any? %>
109 <%= link_to raw('Request a repository ➜'), repositories_path, class: "pull-right btn btn-primary" %>
111 <%= link_to raw('Request a repository ➜'), repositories_path, { :class => "pull-right btn disabled", :"data-toggle" => "tooltip", :"data-placement" => "bottom", :title => "Add an SSH public key first!" } %>
117 <div class="row-fluid">
118 <div class="col span4">
119 <% if content_for? :manage_access %>
120 <%= yield :manage_access %>
122 <%= render partial: 'request_activation' %>
126 <% if content_for? :tutorials %>
127 <div class="col span4">
128 <%= yield :tutorials %>
132 <div class="col span4">
133 <%= yield :references %>