1 <% if current_user.andand.is_active %>
3 <strong>Recent jobs</strong>
4 <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
5 <%= link_to raw("Show all jobs →"), jobs_path, class: 'pull-right' %>
6 <% if not current_user.andand.is_active or @my_jobs.empty? %>
9 <table class="table table-bordered table-condensed table-fixedlayout">
28 <% @my_jobs[0..6].each do |j| %>
32 <%= link_to((j.script.andand[0..31] || j.uuid), job_path(j.uuid)) %>
38 <% if j.success and j.output %>
40 <a href="<%= collection_path(j.output) %>">
41 <% Collection.limit(1).where(uuid: j.output).each do |c| %>
42 <% c.files.each do |file| %>
43 <%= file[0] == '.' ? file[1] : "#{file[0]}/#{file[1]}" %>
55 <% fixup = /([a-f0-9]{32}\+\d+)(\+?.*)/.match(j.log)%>
56 <% Collection.limit(1).where(uuid: fixup[1]).each do |c| %>
57 <% c.files.each do |file| %>
58 <a href="<%= collection_path(j.log) %>/<%= file[1] %>?disposition=inline&size=<%= file[2] %>">Log</a>
61 <% elsif j.respond_to? :log_buffer and j.log_buffer %>
62 <% buf = j.log_buffer.strip.split("\n").last %>
63 <span title="<%= buf %>"><%= buf %></span>
70 <%= raw(distance_of_time_in_words(j.created_at, Time.now).sub('about
71 ','~').sub(' ',' ')) if j.created_at %>
76 <%= render partial: 'job_status_label', locals: {:j => j} %>
79 <div class="inline-progress-container">
80 <%= render partial: 'job_progress', locals: {:j => j} %>
91 <strong>Recent pipeline instances</strong>
92 <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
93 <%= link_to raw("Show all pipeline instances →"), pipeline_instances_path, class: 'pull-right' %>
94 <% if not current_user.andand.is_active or @my_pipelines.empty? %>
97 <table class="table table-bordered table-condensed table-fixedlayout">
114 <% @my_pipelines[0..6].each do |p| %>
118 <%= link_to_if_arvados_object p.uuid, friendly_name: true %>
124 <%= link_to_if_arvados_object p.pipeline_template_uuid, friendly_name: true %>
130 <%= raw(distance_of_time_in_words(p.created_at, Time.now).sub('about
131 ','~').sub(' ',' ')) if p.created_at %>
136 <%= render partial: 'pipeline_status_label', locals: {:p => p} %>
140 <div class="inline-progress-container">
141 <%= render partial: 'pipeline_progress', locals: {:p => p} %>
151 <strong>Recent collections</strong>
152 <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
153 <%= link_to raw("Show all collections →"), collections_path, class: 'pull-right' %>
154 <div class="pull-right" style="padding-right: 1em; width: 30%;">
155 <%= form_tag collections_path,
157 class: 'form-search small-form-margin' do %>
158 <div class="input-group input-group-sm">
159 <%= text_field_tag :search, params[:search], class: 'form-control', placeholder: 'Search' %>
160 <span class="input-group-btn">
161 <%= button_tag(class: 'btn btn-info') do %>
162 <span class="glyphicon glyphicon-search"></span>
168 <% if not current_user.andand.is_active or @my_collections.empty? %>
171 <table class="table table-bordered table-condensed table-fixedlayout">
184 <% @my_collections[0..6].each do |c| %>
188 <a href="<%= collection_path(c.uuid) %>">
189 <% c.files.each do |file| %>
190 <%= file[0] == '.' ? file[1] : "#{file[0]}/#{file[1]}" %>
196 <% if @my_tag_links[c.uuid] %>
198 <%= @my_tag_links[c.uuid].collect(&:name).join(", ") %>
204 <%= raw(distance_of_time_in_words(c.created_at, Time.now).sub('about
205 ','~').sub(' ',' ')) if c.created_at %>
216 <div class="row-fluid">
217 <div class="col-sm-4">
218 <%= image_tag "dax.png", style: "max-width:100%" %>
220 <div class="col-sm-8">
221 <h2>Welcome to Arvados, <%= current_user.first_name %>!</h2>
224 Your account must be activated by an Arvados administrator. If this
225 is your first time accessing Arvados and would like to request
226 access, or you believe you are seeing the page in error, please
227 <%= link_to "contact us", Rails.configuration.activation_contact_link %>.
228 You should receive an email at the address you used to log in when
229 your account is activated. In the mean time, you can
230 <%= link_to "learn more about Arvados", "https://arvados.org/projects/arvados/wiki/Introduction_to_Arvados" %>,
231 and <%= link_to "read the Arvados user guide", "http://doc.arvados.org/user" %>.
233 <p style="padding-bottom: 1em">
234 <%= link_to raw('Contact us ✉'),
235 Rails.configuration.activation_contact_link, class: "pull-right btn btn-primary" %></p>
241 <% content_for :js do %>
242 setInterval(function(){$('a.refresh:eq(0)').click()}, 60000);