replace title for logo in html encoding (#232)

* replace title for logo
add logo to footer
add 2 images (1 as logo, to be replaced, 1 as pygeoapi attribution)

* add favicon
This commit is contained in:
paul van genuchten
2019-09-12 03:57:11 +02:00
committed by Tom Kralidis
parent ccbca45fae
commit 132ca41c4b
4 changed files with 9 additions and 4 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

+9 -4
View File
@@ -7,6 +7,7 @@
<meta name="language" content="{{ config['server']['language'] }}">
<meta name="description" content="{{ config['metadata']['identification']['title'] }}">
<meta name="keywords" content="{{ config['metadata']['identification']['keywords']|join(',') }}">
<link rel="shortcut icon" href="{{ config['server']['url'] }}/static/css/favicon.ico" type="image/x-icon" >
<link rel="stylesheet" href="https://unpkg.com/mini.css@3.0.1/dist/mini-default.min.css">
<link rel="stylesheet" href="{{ config['server']['url'] }}/static/css/default.css">
<!--[if lt IE 9]>
@@ -24,9 +25,13 @@
<body>
<header class="sticky row">
<div class="col-sm-12 col-md-10 col-md-offset-1">
<a role="button" href="{{ config['server']['url'] }}">
<span>{{ config['metadata']['identification']['title'] }}</span></a>
<a href="mailto:{{ config['metadata']['contact']['email'] }}" role="button" style="float:right">Contact</a>
<a href="{{ config['server']['url'] }}" class="logo" role="button">
<img src="{{ config['server']['url'] }}/static/css/logo.png" title="{{ config['metadata']['identification']['title'] }}" style="height:39px" /></a>
<!--
Add additional menu items here
<a href="https://pygeoapi.io" role="button" class="button">About</a>
-->
<a href="mailto:{{ config['metadata']['contact']['email'] }}" role="button" class="button" style="float:right">Contact</a>
</div>
</header>
<div class="sticky row crumbs">
@@ -53,7 +58,7 @@
<div class="footer">
<div class="row">
<div class="col-sm-12 col-md-10 col-md-offset-1">
Powered by <a title="pygeoapi" href="https://pygeoapi.io">pygeoapi</a> {{ version }}
Powered by <a title="pygeoapi" href="https://pygeoapi.io"> <img src="{{ config['server']['url'] }}/static/css/pygeoapi.png" title="pygeoapi logo" style="height:24px;vertical-align: middle;" /></a> {{ version }}
</div>
</div>
</div>