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| %>
29 <tr data-object-uuid="<%= j.uuid %>">
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 ','~').sub(' ',' ')) if j.created_at %>
75 <%= render partial: 'job_status_label', locals: {:j => j} %>
78 <div class="inline-progress-container">
79 <%= render partial: 'job_progress', locals: {:j => j} %>
90 <strong>Recent pipeline instances</strong>
91 <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
92 <%= link_to raw("Show all pipeline instances →"), pipeline_instances_path, class: 'pull-right' %>
93 <% if not current_user.andand.is_active or @my_pipelines.empty? %>
96 <table class="table table-bordered table-condensed table-fixedlayout">
113 <% @my_pipelines[0..6].each do |p| %>
114 <tr data-object-uuid="<%= p.uuid %>">
117 <%= link_to_if_arvados_object p.uuid, friendly_name: true %>
123 <%= link_to_if_arvados_object p.pipeline_template_uuid, friendly_name: true %>
129 <%= raw(distance_of_time_in_words(p.created_at, Time.now).sub('about ','~').sub(' ',' ')) if p.created_at %>
134 <%= render partial: 'pipeline_status_label', locals: {:p => p} %>
138 <div class="inline-progress-container">
139 <%= render partial: 'pipeline_progress', locals: {:p => p} %>
149 <strong>Recent collections</strong>
150 <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
151 <%= link_to raw("Show all collections →"), collections_path, class: 'pull-right' %>
152 <div class="pull-right" style="padding-right: 1em; width: 30%;">
153 <%= form_tag collections_path,
155 class: 'form-search small-form-margin' do %>
156 <div class="input-group input-group-sm">
157 <%= text_field_tag :search, params[:search], class: 'form-control', placeholder: 'Search' %>
158 <span class="input-group-btn">
159 <%= button_tag(class: 'btn btn-info') do %>
160 <span class="glyphicon glyphicon-search"></span>
166 <% if not current_user.andand.is_active or @my_collections.empty? %>
169 <table class="table table-bordered table-condensed table-fixedlayout">
184 <% @my_collections[0..6].each do |c| %>
185 <tr data-object-uuid="<%= c.uuid %>">
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 ','~').sub(' ',' ')) if c.created_at %>
208 <%= render partial: 'collections/toggle_persist', locals: { uuid: c.uuid, current_state: @persist_state[c.uuid] } %>
218 <div class="row-fluid">
219 <div class="col-sm-4">
220 <%= image_tag "dax.png", style: "max-width:100%" %>
222 <div class="col-sm-8">
223 <h2>Welcome to Arvados, <%= current_user.first_name %>!</h2>
226 Your account must be activated by an Arvados administrator. If this
227 is your first time accessing Arvados and would like to request
228 access, or you believe you are seeing the page in error, please
229 <%= link_to "contact us", Rails.configuration.activation_contact_link %>.
230 You should receive an email at the address you used to log in when
231 your account is activated. In the mean time, you can
232 <%= link_to "learn more about Arvados", "https://arvados.org/projects/arvados/wiki/Introduction_to_Arvados" %>,
233 and <%= link_to "read the Arvados user guide", "http://doc.arvados.org/user" %>.
235 <p style="padding-bottom: 1em">
236 <%= link_to raw('Contact us ✉'),
237 Rails.configuration.activation_contact_link, class: "pull-right btn btn-primary" %></p>
243 <% content_for :js do %>
244 setInterval(function(){$('a.refresh:eq(0)').click()}, 60000);