| 1 |
{# Junja template based on the ESGF standard website template #} |
| 2 |
{% block doctype -%} |
| 3 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 4 |
{% endblock %} |
| 5 |
{% extends "basic/layout.html" %} |
| 6 |
|
| 7 |
{% set projects = ( |
| 8 |
('installer', "http://esgf.org/esgf-installer-site/"), |
| 9 |
('node-manager', "http://esgf.org/esg-node-site/"), |
| 10 |
('publisher', "http://esgf.org/esg-publisher-site/"), |
| 11 |
('idp', "http://esgf.org/esgf-idp-site/"), |
| 12 |
('orp', "http://esgf.org/esg-orp-site"), |
| 13 |
('security', "http://esgf.org/esgf-security-site"), |
| 14 |
('search', "http://esgf.org/esg-search-site"), |
| 15 |
('script-gen', "http://esgf.org/esg-script-gen-site"), |
| 16 |
('drslib', "http://esgf.org/esgf-drslib-site"), |
| 17 |
('stager', "http://esgf.org/esgf-stager-site"), |
| 18 |
('...', "http://esgf.org/projects.html"), |
| 19 |
) |
| 20 |
%} |
| 21 |
|
| 22 |
{% set internal_links = ( |
| 23 |
('esgf', "http://esgf.org/"), |
| 24 |
('design', ""), |
| 25 |
('download', "http://pypi.python.org/pypi/drslib"), |
| 26 |
('quickstart', "intro.html#quick-start"), |
| 27 |
('developer info', ""), |
| 28 |
('performance', ""), |
| 29 |
('repo', "http://esgf.org/gitweb/?p=esgf-drslib.git;a=summary"), |
| 30 |
('code docs', "modules.html"), |
| 31 |
('dep-report', ""), |
| 32 |
('unit tests', "intro.html#testing"), |
| 33 |
('coverage', ""), |
| 34 |
('ci', ""), |
| 35 |
('faq', ""), |
| 36 |
('mailing list', ""), |
| 37 |
('bugs', ""), |
| 38 |
('wiki', ""), |
| 39 |
('blog', ""), |
| 40 |
) |
| 41 |
%} |
| 42 |
|
| 43 |
{% macro projectbar() %} |
| 44 |
<div class="projects"> <!-- projects --> |
| 45 |
{%- for p, url in projects -%} |
| 46 |
{%- if p == theme_esgf_project %} |
| 47 |
<b>{{ p }}</b> · |
| 48 |
{%- else %} |
| 49 |
<a href="{{ url }}">{{ p }}</a> |
| 50 |
{%- endif %} |
| 51 |
{%- endfor -%} |
| 52 |
</div> <!-- projects --> |
| 53 |
{% endmacro %} |
| 54 |
|
| 55 |
{% macro subprojectbar() %} |
| 56 |
<div class="lsidebar"> <!-- lsidebar --> |
| 57 |
<ul> |
| 58 |
{%- for p, url in internal_links -%} |
| 59 |
{%- if url == "" %} |
| 60 |
<li class="missing">{{ p }}</li> |
| 61 |
{%- else %} |
| 62 |
<li><a href="{{ url }}">{{ p }}</a></li> |
| 63 |
{%- endif %} |
| 64 |
{%- endfor -%} |
| 65 |
</ul> |
| 66 |
</div> <!-- lsidebar --> |
| 67 |
{% endmacro %} |
| 68 |
|
| 69 |
<html> |
| 70 |
<head> |
| 71 |
{% block htmltitle %} |
| 72 |
<title>ESGF: esgf-drslib</title> |
| 73 |
{% endblock %} |
| 74 |
{% block extrahead %} |
| 75 |
<!-- the syle sheet link --> |
| 76 |
<!-- favuorite icon - needs to have the http://full_path link --> |
| 77 |
<link rel="icon" type="image/png" href="http://esgf.org/images/esgf-favicon.png"> |
| 78 |
<!-- keywords for search engines --> |
| 79 |
<meta name="keywords" content="earth systems grid, go-essp, esgf, distributed computing, distributed storage, climage science"> |
| 80 |
<meta name="description" content="A distributed database for structured data."> |
| 81 |
<meta http-equiv='Content-Type' content='text/html;charset=utf-8'> |
| 82 |
{% endblock %} |
| 83 |
</head> |
| 84 |
|
| 85 |
<!-- the page code starts here --> |
| 86 |
<body> |
| 87 |
<div > <!-- body --> |
| 88 |
{% block header %} |
| 89 |
<!-- header starts here --> |
| 90 |
<div id="header" style="overflow: hidden"> |
| 91 |
<!-- image floats tot the right --> |
| 92 |
<div style='float: right; margin-right: 20px'> |
| 93 |
<img src='{{ pathto("_static/images/logo.png", 1) }}' width="70" height="70" > |
| 94 |
</div> |
| 95 |
|
| 96 |
<div id='logo' style='float: left; margin-right: 20px; margin-left: -10px'> |
| 97 |
<a href="http://esgf.org/"><img src='http://esgf.org/images/esgf-logo.png' width="70" height="70" border="0"></a> |
| 98 |
</div> |
| 99 |
|
| 100 |
<div> <!-- inside header --> |
| 101 |
<div class="title">ESGF</div> |
| 102 |
<div class="subtitle">Earth System Grid Federation</div> |
| 103 |
<!-- projects top navigation --> |
| 104 |
{{ projectbar() }} |
| 105 |
|
| 106 |
</div> <!-- inside header --> |
| 107 |
</div> <!-- header --> |
| 108 |
<!-- left side navigation bar starts here --> |
| 109 |
{# Support overriding left sidebar with template inheritance #} |
| 110 |
{% block lsidebar %} |
| 111 |
{{ subprojectbar() }} |
| 112 |
{% endblock lsidebar %} |
| 113 |
{% endblock %} |
| 114 |
<!-- main text comes here --> |
| 115 |
|
| 116 |
{%- block content %} |
| 117 |
{%- block sidebar1 %} {{ sidebar() }} {% endblock %} |
| 118 |
|
| 119 |
<div class="document"> |
| 120 |
{%- block document %} |
| 121 |
<div class='content'> |
| 122 |
{{ super() }} |
| 123 |
</div> <!-- content --> |
| 124 |
{%- endblock %} |
| 125 |
|
| 126 |
{%- block sidebar2 %}{% endblock %} |
| 127 |
<div class="clearer"></div> |
| 128 |
</div> |
| 129 |
{%- endblock %} |
| 130 |
|
| 131 |
<br class="clearfloat" /> |
| 132 |
{% block footer %} |
| 133 |
<!-- footer section here --> |
| 134 |
<div id="footer"> |
| 135 |
<div > |
| 136 |
<div class="projects"> |
| 137 |
<a href="http://www-pcmdi.llnl.gov" target="_other">PCMDI</a> · |
| 138 |
<a href="http://cmip-pcmdi.llnl.gov/cmip5/" target="_other">CMIP5</a> · |
| 139 |
<a href="http://www.llnl.gov" target="_other">LLNL</a> · |
| 140 |
<a href="https://www.llnl.gov/disclaimer.html" target="_other">Privacy & Legal Notice</a> · |
| 141 |
<a > LLNL-WEB-460643 </a ·></div> |
| 142 |
</div> |
| 143 |
</div> <!-- footer --> |
| 144 |
{% endblock %} |
| 145 |
</div> <!-- body --> |
| 146 |
</body> |
| 147 |
</html> |
| 148 |
|
| 149 |
|