myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3028] trunk/app/views/layouts/integrations/_gala


From: noreply
Subject: [myexperiment-hackers] [3028] trunk/app/views/layouts/integrations/_galaxy.html.erb: Added help text to Galaxy header
Date: Wed, 13 Jun 2012 13:12:36 +0000 (UTC)

Revision
3028
Author
fbacall
Date
2012-06-13 13:12:36 +0000 (Wed, 13 Jun 2012)

Log Message

Added help text to Galaxy header

Modified Paths

Diff

Modified: trunk/app/views/layouts/integrations/_galaxy.html.erb (3027 => 3028)


--- trunk/app/views/layouts/integrations/_galaxy.html.erb	2012-06-13 10:20:30 UTC (rev 3027)
+++ trunk/app/views/layouts/integrations/_galaxy.html.erb	2012-06-13 13:12:36 UTC (rev 3028)
@@ -69,6 +69,14 @@
   #doc2 {
     margin-top: 43px;
   }
+
+  #galaxy_help {
+    position: fixed;
+    width: 100%;
+    color: #333;
+    font-size: 120%;
+    z-index: 5000;
+  }
 </style>
 
 <div id="galaxy_header">
@@ -88,6 +96,39 @@
     <ul>
       <li><a href="" session[:return_url] -%>">Return to Galaxy</a></li>
       <li <%='class="selected"' if request.fullpath.start_with?('/galaxy') -%>><%= link_to 'Galaxy Workflows', '/galaxy' -%></li>
+      <li id="galaxy_help_option"><a href=""  return false;">Help</a></li>
     </ul>
   </div>
 </div>
+<div id="galaxy_help" style="display: none">
+  <div class="box_infotext" style="width: 40%; margin: 0 auto;">
+    <p>
+      <strong>To find Galaxy workflows:</strong><br/>
+      Click the "Galaxy Workflows" tab to view a list of all Galaxy workflows on <%= Conf.sitename -%>.
+    </p>
+    <p>
+      <strong>To import a Galaxy workflow into Galaxy:</strong><br/>
+      Navigate to a Galaxy workflow's page by clicking its title in the workflow list (see above), scroll down to the
+      "Import" section and click the import button.
+    </p>
+    <p>
+      For further information, please visit <a href="" target="_blank">this page</a>.
+    </p>
+    <p style="text-align: center">
+      [<a href=""  return false;">close</a>]
+    </p>
+  </div>
+</div>
+
+
+<script type="text/_javascript_">
+  function toggle_galaxy_help() {
+      var div = $('galaxy_help');
+      var tab = $('galaxy_help_option');
+      div.toggle();
+      if(div.visible())
+        tab.addClassName("selected");
+      else
+        tab.removeClassName("selected");
+  }
+</script>

reply via email to

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