myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [2984] trunk: Added a BioVeL layout


From: noreply
Subject: [myexperiment-hackers] [2984] trunk: Added a BioVeL layout
Date: Wed, 2 May 2012 09:33:41 +0000 (UTC)

Revision
2984
Author
fbacall
Date
2012-05-02 09:33:41 +0000 (Wed, 02 May 2012)

Log Message

Added a BioVeL layout

Added Paths

Diff

Added: trunk/app/views/layouts/_biovel.rhtml (0 => 2984)


--- trunk/app/views/layouts/_biovel.rhtml	                        (rev 0)
+++ trunk/app/views/layouts/_biovel.rhtml	2012-05-02 09:33:41 UTC (rev 2984)
@@ -0,0 +1,26 @@
+<% @logo_link_url  = "http://biovel.eu/" # The URL that the logo links to when clicked
+   @logo_image_url = "/images/biovel.png" # The logo image %>
+
+<% content_for :site_info_links do %>
+
+<% end %>
+
+<% content_for :logo do %>
+  <div style="float: left; margin-bottom: 0.5em">
+    <%= link_to image_tag(@logo_image_url), @logo_link_url, :style => "float: left" -%>
+    <div style="float: left; margin-top: 1em; margin-left: 1em">
+      <div style="font-weight: bold; vertical-align: middle">
+        <a href="" @logo_link_url -%>" class="biovel_logo_link">
+          <span style="font-size: 280%"><span style="color:black;">B</span>io<span style="color:black">V</span>e<span style="color:black">L</span></span><br/>
+          <span style="font-size: 100%">Biodiversity Virtual e-Laboratory</span>
+        </a>
+      </div>
+      <div style="margin: 0.5em 0 0 1em; color: black;">
+        on <%= link_to image_tag("/images/logo_tiny.png", :style=>"-moz-border-radius: 2px; border-radius: 2px; vertical-align: middle;border: 1px solid #ccc"), "/" -%>
+      </div>
+    </div>
+  </div>
+  <br class="clearer"/>
+<% end %>
+
+<%= render :partial => "layouts/myexperiment" %>

Added: trunk/public/images/biovel.png


(Binary files differ)
Property changes on: trunk/public/images/biovel.png ___________________________________________________________________

Added: svn:mime-type

Added: trunk/public/stylesheets/biovel.css (0 => 2984)


--- trunk/public/stylesheets/biovel.css	                        (rev 0)
+++ trunk/public/stylesheets/biovel.css	2012-05-02 09:33:41 UTC (rev 2984)
@@ -0,0 +1,49 @@
+/* Stylesheet for the e-LICO layout. Requires main myExperiment stylesheet. */
+
+body  {
+	background: #EEEB99;
+}
+
+#myexp_searchbar, #myexp_sidebar, .pagination a, .tabnav li a:hover, .tabnav li#selected_tabnav a  {
+  background-color: #99cc33;
+}
+
+#myexp_searchbar {
+  background-image: url('/images/searchfade_alpha.png');
+}
+#myexp_sidebar {
+  background-image: url('/images/sidebar_alpha.png');
+}
+
+
+.logo a {
+  color: #99cc33;
+}#
+
+.logo a:hover {
+  text-decoration: none;
+  color: #99cc33;
+ }
+
+.links {
+  color: #608509
+}
+
+/* To add a white margin around the content */
+
+#doc2 {
+  padding: 0 1em;
+  border-color: #DFD96D;
+  border-style: solid;
+  border-width: 0 4px;
+}
+
+#myexp_header {
+  margin: 0em 0.5em;
+}
+
+#hd
+{
+  padding-top: 1em;
+}
+

reply via email to

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