Commit c5d300fe authored by Merret Buurman's avatar Merret Buurman
Browse files

Page for nohandle now uses template for header and footer.

parent b3bddb8c
<html>
<link rel="stylesheet" href="/lp/static/styles.css" type="text/css">
<head>
<title>PID Landing Page Service</title>
<link rel="shortcut icon" type="image/x-icon" href="/lp/static/favicon.ico" />
</head>
<body class="lpcontent">
<div class="header dkrz">
<a href="http://dkrz.de"><img class="logo" src="/lp/static/dkrzlogo_narrow.png" alt="(DKRZ logo)"></a>
<h1>DKRZ PID Landing Page Service</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="/lp/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>
{% if values %}
<table>
{% for key,value in values.items %}
<tr>
<td class="leftcol">{{key}}</td>
<td>{{value}}</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>No content for this handle record!</p>
{% endif %}
</div>
<div class="section lightgrey">
<h2>Content of this handle record (JSON)</h2>
{% if content %}
<p>{{content}}</p>
{% else %}
<p>No content for this handle record!</p>
{% endif %}
</div>
</body>
</html>
<html>
<link rel="stylesheet" href="/static/styles.css" type="text/css">
<head>
<title>PID Landing Page Service</title>
<link rel="shortcut icon" type="image/x-icon" href="/lp/static/favicon.ico" />
</head>
<body class="lpcontent">
<div class="header dkrz">
<a href="http://dkrz.de"><img class="logo" src="/lp/static/dkrzlogo_narrow.png" alt="(DKRZ logo)"></a>
<h1>DKRZ PID Landing Page Service</h1>
</div>
{% extends "landingpage/dkrz_headerfooter.html" %}
{% block content %}
<div class="section">
......@@ -21,6 +8,4 @@
<p>You did not append any handle to the URL of this page. To see a PID's landing page, please append a handle, like this: <a href="{{request.build_absolute_uri}}prefix/suffix">{{request.build_absolute_uri}}prefix/suffix</a>.</p>
</div>
</body>
</html>
\ No newline at end of file
{% endblock %}
\ No newline at end of file
Markdown is supported
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