]> git.donarmstrong.com Git - neurodebian.git/blobdiff - sphinx/_templates/layout.html
ENH: Serve institution icons at height 50 size
[neurodebian.git] / sphinx / _templates / layout.html
index ce206a2ccdd5b62b39e305bdb5823df2206e4a25..4cbb0046c032b437c7101c7847158272e5a0254b 100644 (file)
@@ -2,15 +2,23 @@
 
 {% block extrahead %}
   <meta name="keywords" content="debian, neuroscience">
+  <script language="javascript" type="text/javascript"
+  src="/javascript/jquery-mousewheel/jquery.mousewheel.min.js"></script>
+  <script language="javascript" type="text/javascript"
+  src="/javascript/jquery-easing/jquery.easing.min.js"></script>
+  <script language="javascript" type="text/javascript"
+  src="/javascript/jquery-fancybox/jquery.fancybox.min.js"></script>
+  <link rel="stylesheet" href="/javascript/jquery-fancybox/jquery.fancybox.css"
+  type="text/css" media="screen" />
 {% endblock %}
 
 {% block header %}
-  <div class="buttonbar">
+  <div class="buttonbar leftbar">
   <ul>
   <li><a href="http://www.debian.org" target="_blank"><img border="0" src="/_static/debian.png" title="Visit debian.org" /><br />Debian</a></li>
  <li><a href="{{ pathto('index') }}"><img border="0" src="/_static/neurodebian.png" title="Go to the home page" /><br />Home</a></li>
  <li><a href="{{ pathto('pkgs') }}"><img border="0" src="/_static/package.png" title="List of available software" /><br />Software</a></li>
- <li><a href="{{ pathto('pkglists/pkgs-by_release-datasets_(data)') }}"><img border="0" src="/_static/datasets.png" title="List of available datasets" /><br />Data</a></li>
+ <li><a href="{{ pathto('pkglists/toc_pkgs_for_release_data') }}"><img border="0" src="/_static/datasets.png" title="List of available datasets" /><br />Data</a></li>
  <li><a href="{{ pathto('vm') }}"><img border="0" src="/_static/machine.png" title="Get NeuroDebian for your non-Debian computer" /><br />VM</a></li>
  <li><a href="{{ pathto('projects') }}"><img border="0" src="/_static/workarea.png" title="Current and planned projects: Get involved!" /><br />Contribute</a></li>
  <li><a href="{{ pathto('derivatives') }}"><img border="0" src="/_static/derivatives.png" title="Projects that use NeuroDebian as a foundation" /><br />Derived</a></li>
  <li><a href="{{ pathto('faq') }}"><img border="0" src="/_static/faq.png" title="Frequently asked questions" /><br />FAQ</a></li>
   </ul>
   </div>
-  <div class="clearer"></div>
+
+  <div class="buttonbar rightbar">
+  <ul>
+  <li><a href="http://www.ipsy.ovgu.de/psychoinformatics.html" target="_blank"><img border="0" src="/_static/uni-md-logo_h50.png" title="Psychoinformatics lab, University of Magdeburg, Germany" height="50" /></a></li>
+  <li><img border="0" src="/_static/ccn-logo_h50.png" title="Center for Cognitive Neuroscience, Dartmouth College, USA" height="50" /></li>
+  </ul>
+  </div>
 {% endblock %}
 
 {% block rootrellink %}{% endblock %}
 {{ super() }}
 {% endblock %}
 <li class="right" style="position:relative;top:3px"><div class="g-plusone"></div></li>
-<li class="right" style="position:relative;top:1px"><a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-hashtags="neurodebian" data-dnt="true">Tweet</a></li?
+<li class="right" style="position:relative;top:1px"><a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-hashtags="neurodebian" data-dnt="true"></a></li?
 {% endblock %}
 
 {% block sidebar1 %}{% endblock %}
 {% block sidebar2 %}{% endblock %}
 
 {% block footer %}
+<div class="clearer"></div>
 {{ super() }}
-<div class="footer">
+<div class="footer" style="padding-top:0px">
 The source code for this portal is licensed under the
 <a href="http://www.gnu.org/licenses/gpl-3.0.html"
    title="Text of the GPL-3 license">GPL-3</a> and is available on
@@ -52,5 +67,36 @@ git.debian.org</a>.
 <script type="text/javascript">gapi.plusone.go();</script>
 <!-- Twitter -->
 <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+<!-- trigger convenience setup with javascript enabled -->
+<script type="text/javascript">
+  $('.foldup dt').click(function(e){
+      $(this).nextUntil('dt').toggle();
+  });
+  $('.foldup dd').hide();
+  $('.expandinstructions').show();
+  $('.nojavascriptinstructions').hide();
+</script>
+<!-- turn all [youtube] links into buttons and open them in fancy player-->
+<script type="text/javascript">
+$(document).ready(function(){
+  $('a[href^="http://www.youtube.com/watch"]').click(function() {
+     $.fancybox({
+        'title': this.title,
+        'href': this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
+        'type': 'swf',
+        'swf': {'wmode': 'transparent', 'allowfullscreen': 'true'}
+      });
+    return false;
+    });
+  $('a[href^="http://www.youtube.com/watch"]').each(function() {
+      var content = $(this).html();
+      if (content.charAt(0) == '[' && content.charAt(content.length-1) == ']') {
+          $(this).html('<img class="inlineimage" src="/_static/video_button.png" alt="video link button" title="' + content + '" />');
+      } else {
+          return content;
+      };
+    });
+});
+</script>
 {% endblock %}