myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2503] trunk: view files for galaxy workflows


From: noreply
Subject: [myexperiment-hackers] [2503] trunk: view files for galaxy workflows
Date: Mon, 23 Aug 2010 09:26:42 -0400 (EDT)

Revision
2503
Author
dgc
Date
2010-08-23 09:26:42 -0400 (Mon, 23 Aug 2010)

Log Message

view files for galaxy workflows

Modified Paths

Added Paths

Diff

Added: trunk/app/views/workflows/galaxy/_internals.rhtml (0 => 2503)


--- trunk/app/views/workflows/galaxy/_internals.rhtml	                        (rev 0)
+++ trunk/app/views/workflows/galaxy/_internals.rhtml	2010-08-23 13:26:42 UTC (rev 2503)
@@ -0,0 +1,90 @@
+<% cache(:controller => 'workflows_cache', :action ="" 'internals', :id => workflow.id, :version => version) do -%>
+
+	<% if (model = workflow.get_workflow_model_object(version)) -%>
+
+    <!-- Inputs -->
+    <% inputs = model.inputs -%>
+    <div class="fold">
+      <div class="foldTitle">
+        Inputs (<%= inputs.length -%>)
+      </div>
+      <div class="foldContent" style="display: none;">
+        <% unless inputs.blank? -%>
+          <table class="simple">
+            <tr>
+              <th>Name</th>
+              <th>Description</th>
+            </tr>
+          
+            <% inputs.each do |i| -%>
+              <tr>
+                <td><b><%= h i.name -%></b></td>
+                <td><%= h i.description -%></td>
+              </tr>
+            <% end %>
+          </table>
+        <% else %>
+          <p class="none_text">None</p>
+        <% end %>
+      </div>
+    </div>
+      
+    <!-- Steps -->
+    <% steps = model.steps -%>
+    <div class="fold">
+      <div class="foldTitle">
+        Steps (<%= steps.length -%>)
+      </div>
+      <div class="foldContent" style="display: none;">
+        <% unless steps.blank? -%>
+          <table class="simple">
+            <tr>
+              <th>Name</th>
+              <th>Tool</th>
+              <th>Description</th>
+            </tr>
+          
+            <% steps.each do |s| -%>
+              <tr>
+                <td><b><%= h s.name -%></b></td>
+                <td><%= h s.tool -%></td>
+                <td><%= h s.description -%></td>
+              </tr>
+            <% end %>
+          </table>
+        <% else %>
+          <p class="none_text">None</p>
+        <% end %>
+      </div>
+    </div>
+
+    <!-- Outputs -->
+    <% outputs = model.outputs -%>
+    <div class="fold">
+      <div class="foldTitle">
+        Outputs (<%= outputs.length -%>)
+      </div>
+      <div class="foldContent" style="display: none;">
+        <% unless outputs.blank? -%>
+          <table class="simple">
+            <tr>
+              <th>Name</th>
+              <th>Type</th>
+            </tr>
+          
+            <% outputs.each do |o| -%>
+              <tr>
+                <td><b><%= h o.name -%></b></td>
+                <td><%= h o.type -%></td>
+              </tr>
+            <% end %>
+          </table>
+        <% else %>
+          <p class="none_text">None</p>
+        <% end %>
+      </div>
+    </div>
+      
+  <% end %>
+<% end %>
+

Added: trunk/app/views/workflows/galaxy/_run_options.rhtml (0 => 2503)


--- trunk/app/views/workflows/galaxy/_run_options.rhtml	                        (rev 0)
+++ trunk/app/views/workflows/galaxy/_run_options.rhtml	2010-08-23 13:26:42 UTC (rev 2503)
@@ -0,0 +1,4 @@
+<p class="none_text">
+  Not implemented.
+</p>
+

Modified: trunk/lib/conf.rb (2502 => 2503)


--- trunk/lib/conf.rb	2010-08-19 15:40:27 UTC (rev 2502)
+++ trunk/lib/conf.rb	2010-08-23 13:26:42 UTC (rev 2503)
@@ -181,6 +181,10 @@
       end
     end
 
+    if request.query_parameters['portal_url']
+      session['portal_url'] = request.query_parameters['portal_url']
+    end
+
     @config = session["portal"] if session["portal"]
   end
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]