Added: branches/galaxy-integration/app/views/layouts/_galaxy.html.erb (0 => 2953)
--- branches/galaxy-integration/app/views/layouts/_galaxy.html.erb (rev 0)
+++ branches/galaxy-integration/app/views/layouts/_galaxy.html.erb 2012-02-29 14:58:12 UTC (rev 2953)
@@ -0,0 +1,79 @@
+<style type="text/css">
+ #galaxy_header {
+ background-color:#EEEEEE;
+ color: #EEEEEE;
+ position: fixed;
+ width: 100%;
+ top: 0px;
+ left: 0px;
+ font-family: Verdana, sans-serif;
+ text-align: center;
+ z-index: 5000;
+ border-bottom: 1px solid #777777;
+ }
+
+ #galaxy_inner_header {
+ background-color:#2C3143;
+ color: #EEEEEE;
+ height: 32px;
+ width: 100%;
+ border-bottom: 1px solid #444444;
+ margin-bottom: 6px;
+ }
+
+ #galaxy_logo {
+ font-size: 21px;
+ font-weight: bold;
+ float: left;
+ padding: 3px 10px;
+ line-height: 27px;
+ }
+
+ #galaxy_header a { text-decoration: none; color: #EEEEEE;}
+ #galaxy_header a:hover { text-decoration: underline; color: #EEEEEE;}
+
+ #galaxy_header ul {
+ margin: 0;
+ }
+
+ #galaxy_header li {
+ display: inline;
+ line-height: 32px;
+ font-size: 12px
+ }
+
+ #galaxy_header li a {
+ display: inline-block;
+ padding: 0 1em;
+ }
+
+ #galaxy_header li.selected a {
+ background-color: #000000;
+ }
+
+ #galaxy_header li a:hover {
+ text-decoration: underline;
+ color: gold;
+ }
+
+ #doc2 {
+ margin-top: 43px;
+ }
+</style>
+
+<% galaxy_filter = 'TYPE_ID("7")' %>
+
+<div id="galaxy_header">
+ <div id="galaxy_inner_header">
+ <div id="galaxy_logo">
+ <a href="" session[:galaxy_url] -%>">
+ <img style="width: 26px; vertical-align: top;" src=""
+ Galaxy
+ </a>
+ </div>
+ <ul>
+ <li><a href="" session[:galaxy_url] -%>">Return to Galaxy</a></li>
+ <li <%='class="selected"'if (params[:filter] && params[:filter].include?(galaxy_filter)) -%>><%= link_to 'Galaxy Workflows', workflows_url(:filter => galaxy_filter) -%></li>
+ </ul>
+ </div>
+</div>