From e13556a9e42b8dd27eb6f96d554da4634d259f17 Mon Sep 17 00:00:00 2001 From: emiliopardo Date: Mon, 4 Apr 2022 11:23:20 +0200 Subject: [PATCH 1/3] added public_url to templates --- public/templates/index.tmpl | 2 +- public/templates/wmts.tmpl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/templates/index.tmpl b/public/templates/index.tmpl index 603f2eb04..297520e5c 100644 --- a/public/templates/index.tmpl +++ b/public/templates/index.tmpl @@ -41,7 +41,7 @@ {{#if serving_data}}| {{/if}}TileJSON {{/if}} {{#if serving_rendered}} - | WMTS + | WMTS {{/if}} {{#if xyz_link}} | XYZ diff --git a/public/templates/wmts.tmpl b/public/templates/wmts.tmpl index 683c3ac84..c287a42a3 100644 --- a/public/templates/wmts.tmpl +++ b/public/templates/wmts.tmpl @@ -11,7 +11,7 @@ - + RESTful @@ -24,7 +24,7 @@ - + RESTful @@ -50,7 +50,7 @@ GoogleMapsCompatible - + GoogleMapsCompatible GoogleMapsCompatible EPSG:3857 @@ -403,5 +403,5 @@ 262144 - + From ba250de682c066dfb156f0151bdb21e2e6171b22 Mon Sep 17 00:00:00 2001 From: emiliopardo Date: Mon, 4 Apr 2022 11:30:51 +0200 Subject: [PATCH 2/3] delete styles with url --- public/resources/index.css | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/public/resources/index.css b/public/resources/index.css index d4314f035..21052460f 100644 --- a/public/resources/index.css +++ b/public/resources/index.css @@ -1,32 +1,3 @@ -@font-face { - font-family: 'OpenSans'; - src: url('/fonts/OpenSans-Regular.ttf'); - font-weight: normal; - font-style: normal; -} -@font-face { - font-family: 'OpenSans'; - src: url('/fonts/OpenSans-Italic.ttf'); - font-weight: normal; - font-style: italic; -} -@font-face { - font-family: 'OpenSans'; - src: url('/fonts/OpenSans-Bold.ttf'); - font-weight: bold; - font-style: normal; -} - -body{ - background-color: #fff; - color: #212121; - font-family:'OpenSans', sans-serif, Arial; - font-size: 14px; - margin:0; - background-repeat:no-repeat !important; - background-size: contain !important; - background-image: url(/images/header-map-1280px.png); -} a{ color: #499DCE; transition: color .2s; From 9a5c4eb34a2b7b832712f0ca8a5ae8b4ee42d47a Mon Sep 17 00:00:00 2001 From: emiliopardo Date: Mon, 4 Apr 2022 11:31:29 +0200 Subject: [PATCH 3/3] added styles with url {{public_url}} --- public/templates/index.tmpl | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/public/templates/index.tmpl b/public/templates/index.tmpl index 297520e5c..15a793098 100644 --- a/public/templates/index.tmpl +++ b/public/templates/index.tmpl @@ -14,6 +14,37 @@ return false; } +