PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/templates/workflow/run_complete.mako

https://bitbucket.org/cistrome/cistrome-harvard/
Mako | 30 lines | 28 code | 2 blank | 0 comment | 1 complexity | 0732ed7bacfe9a666a9905d7fa6d54cf MD5 | raw file
 1<%inherit file="/base.mako"/>
 2
 3<div class="donemessagelarge">
 4    Successfully ran workflow "${workflow.name}". The following datasets have been added to the queue:
 5    %for invocation in invocations:
 6        <div class="workflow-invocation-complete">
 7            %if invocation['new_history']:
 8                <p>These datasets will appear in a new history:
 9                <a target='galaxy_history' href="${h.url_for( controller='history', action='list', operation="Switch", id=trans.security.encode_id(invocation['new_history'].id), use_panels=False, show_deleted=False )}">
10                    '${h.to_unicode(invocation['new_history'].name)}'.
11                </a></p>
12            %endif
13            <div style="padding-left: 10px;">
14                %for step_outputs in invocation['outputs'].itervalues():
15                    %for data in step_outputs.itervalues():
16                        %if not invocation['new_history'] or data.history == invocation['new_history']:
17                            <p><strong>${data.hid}</strong>: ${data.name}</p>
18                        %endif
19                    %endfor
20                %endfor
21            </div>
22        </div>
23    %endfor
24</div>
25
26<script type="text/javascript">
27  if ( parent.frames && parent.frames.galaxy_history ) {
28      parent.frames.galaxy_history.location.href="${h.url_for( controller='root', action='history' )}";
29  }
30</script>