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

Added /lp/ in front of all landing page URLs.

parent f586d6b8
......@@ -71,7 +71,7 @@
<td>
<a href="http://hdl.handle.net/{{handle}}">hdl:{{handle}}</a>
<br/><br/>
<span class="note"><img height="20px" src="/static/warning_cmip6_green_transparent.png"><strong>&nbsp;This dataset was replaced by a newer version.</strong> Please refer to the dataset's errata description to get more information. You can find information on the errata on the dataset's landing page or at the ESGF Errata Service.</span>
<span class="note"><img height="20px" src="/lp/static/warning_cmip6_green_transparent.png"><strong>&nbsp;This dataset was replaced by a newer version.</strong> Please refer to the dataset's errata description to get more information. You can find information on the errata on the dataset's landing page or at the ESGF Errata Service.</span>
</td>
</tr>
<tr>
......@@ -79,7 +79,7 @@
<td>
<a href="http://hdl.handle.net/{{handle}}">hdl:{{newerversion}}</a>
<br/><br/>
<span class="note"><img height="20px" src="/static/warning_cmip6_green_transparent.png"><strong>&nbsp;This is not necessarily the most recent version.</strong> Please refer to this version's landing page to find out if it has been replaced by an even newer version.</span>
<span class="note"><img height="20px" src="/lp/static/warning_cmip6_green_transparent.png"><strong>&nbsp;This is not necessarily the most recent version.</strong> Please refer to this version's landing page to find out if it has been replaced by an even newer version.</span>
</td>
</tr>
{% else %}
......
......@@ -130,7 +130,7 @@
<br/>
<a href="http://hdl.handle.net/{{ item.handle }}">hdl:{{ item.handle }}</a>
{% if item.replaced %}
<br/><br/><span class="note"><img height="20px" src="/static/warning_cmip6_green_transparent.png">&nbsp;This {{item.level}} was replaced by a newer version.</span>
<br/><br/><span class="note"><img height="20px" src="/lp/static/warning_cmip6_green_transparent.png">&nbsp;This {{item.level}} was replaced by a newer version.</span>
{% endif %}
</td>
</tr>
......
<html>
<link rel="stylesheet" href="/static/styles.css" type="text/css">
<link rel="stylesheet" href="/lp/static/styles.css" type="text/css">
<head>
<title>CMIP6 Landing Page</title>
<link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="/lp/static/favicon.ico" />
</head>
......@@ -11,8 +11,8 @@
<div class="header cmip6">
<img id="logo1" class="logo" src="/static/cmip6logo2.png" alt="(CMIP6 logo)">
<img id="logo2" class="logo" src="/static/esgflogo.png" alt="(ESGF logo)">
<img id="logo1" class="logo" src="/lp/static/cmip6logo2.png" alt="CMIP6 logo">
<img id="logo2" class="logo" src="/lp/static/esgflogo.png" alt="ESGF logo">
<h1>CMIP6 Data Information View</h1>
</div>
......@@ -21,7 +21,7 @@
{% 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>
<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>
......
......@@ -3,14 +3,14 @@
<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="/static/favicon.ico" />
<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="/static/dkrzlogo_narrow.png" alt="(DKRZ logo)"></a>
<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>
......
......@@ -21,6 +21,6 @@ from django.conf.urls.static import static
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^', include('landingpage.landingpageapp.urls')),
url(r'^lp/', include('landingpage.landingpageapp.urls')),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
# https://docs.djangoproject.com/en/1.9/howto/static-files/#serving-static-files-during-development
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