1 <% template = PipelineTemplate.find?(@object.pipeline_template_uuid) %>
2 <%= content_for :content_top do %>
5 <%= render partial: 'name_and_description' %>
8 <div class="alert alert-info col-sm-6">
9 This pipeline was created from the template <%= link_to_if_arvados_object template, friendly_name: true %><br />
10 <% if template.modified_at && (template.modified_at > @object.created_at) %>
11 Note: This template has been modified since this instance was created.
18 <% content_for :tab_line_buttons do %>
20 <div id="pipeline-instance-tab-buttons"
21 class="pane-loaded arv-log-event-listener arv-refresh-on-state-change"
22 data-pane-content-url="<%= url_for(params.merge(tab_pane: "tab_buttons")) %>"
23 data-object-uuid="<%= @object.uuid %>"
25 <%= render partial: 'show_tab_buttons', locals: {object: @object}%>
30 <%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.show_pane_list }%>
32 <div id="clone-and-edit-modal-window" class="modal fade" role="dialog"
33 aria-labelledby="myModalLabel" aria-hidden="true">
34 <div class="modal-dialog">
35 <div class="modal-content">
37 <%= form_tag copy_pipeline_instance_path do |f| %>
39 <div class="modal-header">
40 <button type="button" class="close" onClick="reset_form()" data-dismiss="modal" aria-hidden="true">×</button>
42 <div class="col-sm-6"> <h4 class="modal-title">Re-run pipeline</h4> </div>
47 <div class="modal-body">
48 <%= radio_button_tag(:script, "use_latest", true) %>
49 <%= label_tag(:script_use_latest, "Use latest script versions") %>
51 <%= radio_button_tag(:script, "use_same") %>
52 <%= label_tag(:script_use_same, "Use same script versions as this run") %>
56 <%= radio_button_tag(:components, "use_latest", true) %>
57 <%= label_tag(:components_use_latest, "Update components against template") %>
59 <%= radio_button_tag(:components, "use_same") %>
60 <%= label_tag(:components_use_same, "Use same components as this run") %>
64 <div class="modal-footer">
65 <button class="btn btn-default" onClick="reset_form()" data-dismiss="modal" aria-hidden="true">Cancel</button>
66 <button type="submit" class="btn btn-primary" name="pipeline_instance[state]" value="RunningOnServer">Run now</button>
67 <button type="submit" class="btn btn-primary" name="pipeline_instance[state]" value="New">Copy and edit inputs</button>