1 <% if current_user.andand.is_active %>
3 <% if @my_ssh_keys.count == 0 || @showallalerts %>
4 <div class="alert alert-info daxalert">
5 <button type="button" class="close" data-dismiss="alert">×</button>
6 <%= image_tag "dax.png", class: "dax" %>
8 Hi, I noticed that you have not yet set up an SSH public key for use with Arvados.
9 <%= link_to "Click here to learn about SSH keys in Arvados.",
10 "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access.html",
11 style: "font-weight: bold",
13 When you have an SSH key you would like to use, paste the SSH public key
16 <%= form_for AuthorizedKey.new, remote: true do |f| %>
17 <div class="row-fluid">
19 <%= hidden_field_tag :return_to, request.original_url %>
20 <%= hidden_field_tag :disable_element, 'input[type=submit]' %>
21 <%= f.text_area :public_key, rows: 4, placeholder: "Paste your public key here", style: "width: 100%" %>
24 <div class="row-fluid">
25 <div class="span4 offset8">
26 <%= f.submit :Save, value: raw("✓"), class: "btn btn-primary pull-right", style: "width: 100%" %>
33 <% if @my_collections.count == 0 || @showallalerts %>
34 <div class="alert alert-info daxalert">
35 <button type="button" class="close" data-dismiss="alert">×</button>
36 <%= image_tag "dax.png", class: "dax" %>
38 Hi, I noticed you haven't uploaded a new collection yet.
39 <%= link_to "Click here to learn how to upload data to Arvados Keep.",
40 "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-keep.html",
41 style: "font-weight: bold", target: "_blank" %>
47 <% if @my_jobs.count == 0 || @showallalerts %>
48 <div class="alert alert-info daxalert">
49 <button type="button" class="close" data-dismiss="alert">×</button>
50 <p><%= image_tag "dax.png", class: "dax" %>
51 Hi, I noticed you haven't run a job yet.
52 <%= link_to "Click here to learn how to run an Arvados Crunch job.",
53 "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-job1.html",
54 style: "font-weight: bold",
60 <% if @my_pipelines.count == 0 || @showallalerts %>
61 <div class="alert alert-info daxalert">
62 <button type="button" class="close" data-dismiss="alert">×</button>
70 <% if current_user.andand.is_active %>
72 <p><strong>System status</strong></p>
74 <% [Human, Trait, Collection, PipelineTemplate,
75 PipelineInstance].each do |aclass| %>
78 <span style="margin-right: 2em">
79 <a href="/<%= raw(aclass.to_s.pluralize.underscore) %>">
80 <%= raw(aclass.to_s.pluralize.underscore.capitalize.gsub '_', ' ') %>
85 <%= aclass.limit(0).where({}).items_available ||
86 aclass.limit(4000).where({}).count %>