Commit 8738fe23 authored by Merret Buurman's avatar Merret Buurman
Browse files

Put common cmip6 header and footer into own template.

parent 391ce5c8
<html>
{% extends "landingpage/cmip6_headerfooter.html" %}
<link rel="stylesheet" href="/static/styles.css" type="text/css">
<head>
<title>CMIP6 Landing Page</title>
<link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico" />
</head>
<body class="lpcontent">
<div class="header cmip6">
<img id="logo" src="/static/cmip6logo2.png" alt="CMIP6 logo">
<h1>CMIP6 Data Information View</h1>
</div>
<!--<div class="lpcontent filename">
<h1>File <span id="filename">{{file_name}}</span></h1>
</div>-->
{% block content %}
<div class="section">
<h1><em>{{file_name}}</em> (file)</h1>
......@@ -124,32 +106,4 @@
{% endif %}{% endif %}
</div>
<div class="section">
<p><span class="note">This PID landing page service is provided by <a id="source" href="http://dkrz.de"><img id="source" src="/static/dkrzlogo_white.png" alt="DKRZ logo"></a> (German Climate Computing Centre).</span></p>
</div>
<div class="section lightgrey">
<h2>Content of this handle record</h2>
<table>
{% for key,value in values.items %}
<tr>
<td id="leftcol">{{key}}</td>
<td>{{value}}</td>
</tr>
{% endfor %}
</table>
</div>
<div class="section lightgrey">
<h2>Content of this handle record (JSON)</h2>
<p>{{content}}</p>
</div>
</body>
</html>
\ No newline at end of file
{% endblock %}
\ No newline at end of file
<html>
<link rel="stylesheet" href="/static/styles.css" type="text/css">
<head>
<title>CMIP6 Landing Page</title>
<link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico" />
</head>
<body class="lpcontent">
<div class="header cmip6">
<img id="logo" src="/static/cmip6logo2.png" alt="CMIP6 logo">
<h1>CMIP6 Data Information View</h1>
</div>
{% block content %}
{% endblock %}
<div class="section">
<p><span class="note">This PID landing page service is provided by <a id="source" href="http://dkrz.de"><img id="source" src="/static/dkrzlogo_white.png" alt="DKRZ logo"></a> (German Climate Computing Centre).</span></p>
</div>
<div class="section lightgrey">
<h2>Content of this handle record</h2>
<table>
{% for key,value in values.items %}
<tr>
<td id="leftcol">{{key}}</td>
<td>{{value}}</td>
</tr>
{% endfor %}
</table>
</div>
<div class="section lightgrey">
<h2>Content of this handle record (JSON)</h2>
<p>{{content}}</p>
</div>
</body>
</html>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment