| 1 |
{# Import the theme's layout. #} |
| 2 |
{% extends "!layout.html" %} |
| 3 |
|
| 4 |
{% block header %} |
| 5 |
<div class="logoheader container"> |
| 6 |
<a href="{{ pathto(master_doc) }}"> |
| 7 |
<img class="logoheader" alt="DIALS" src="{{ pathto('_static/dials_header.png', 1) }}" /> |
| 8 |
</a> |
| 9 |
</div> |
| 10 |
{{ super() }} |
| 11 |
{% endblock %} |
| 12 |
|
| 13 |
|
| 14 |
{% block relbar1 %}{% endblock %} |
| 15 |
|
| 16 |
{% block footer %} |
| 17 |
<div class="footer container"> |
| 18 |
<a href="https://www.diamond.ac.uk/"><img class="logofooter" alt="Diamond" src="{{ pathto('_static/diamond_logo.png', 1) }}" /></a> |
| 19 |
<a href="https://www.ccp4.ac.uk/"><img class="logofooter" alt="CCP4" src="{{ pathto('_static/CCP4-logo-plain.png', 1) }}" /></a> |
| 20 |
<a href="https://www.stfc.ac.uk/"><img class="logofooter" alt="STFC" src="https://dials.github.io/images/logos/ukri-stfc.png" /></a> |
| 21 |
<a href="https://www.lbl.gov/"><img class="logofooter" alt="LBL" src="https://dials.github.io/images/logos/lbl.png" /></a> |
| 22 |
<a href="http://smb.slac.stanford.edu/"><img class="logofooter" alt="SSRL/SMB" src="https://dials.github.io/images/logos/smbssrl.jpg" /></a> |
| 23 |
</div> |
| 24 |
|
| 25 |
<script type="text/javascript"> |
| 26 |
$(document).ready(function() { |
| 27 |
$(".toggle > *").hide(); |
| 28 |
$(".toggle .header").show(); |
| 29 |
$(".toggle .header").click(function() { |
| 30 |
$(this).parent().children().not(".header").toggle(400); |
| 31 |
$(this).parent().children(".header").toggleClass("open"); |
| 32 |
}) |
| 33 |
}); |
| 34 |
</script> |
| 35 |
{{ super() }} |
| 36 |
{% endblock %} |
| 37 |
|
| 38 |
{# Custom CSS overrides #} |
| 39 |
{% set bootswatch_css_custom = ['_static/dials-styles.css'] %} |
| 40 |
|
| 41 |
{% set css_files = css_files + ['_static/dials-styles.css'] %} |