From 1064e120e411817abdc1cc93002635c0c8607001 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Mon, 19 Sep 2022 20:52:33 +0000 Subject: [PATCH 1/2] add indexer to map detail and list view templates --- www/maposmatic/templates/maposmatic/map-feed.html | 4 ++++ www/maposmatic/templates/maposmatic/map-full.html | 4 ++++ www/maposmatic/templates/maposmatic/maps.html | 3 +++ 3 files changed, 11 insertions(+) diff --git a/www/maposmatic/templates/maposmatic/map-feed.html b/www/maposmatic/templates/maposmatic/map-feed.html index 2878a701..e4d714b9 100644 --- a/www/maposmatic/templates/maposmatic/map-feed.html +++ b/www/maposmatic/templates/maposmatic/map-feed.html @@ -27,6 +27,10 @@ {% trans "Overlays" %} {{ obj.overlay|add_blank_after_comma }} {% endif %} + {% if obj.indexer %} + {% trans "Indexer" %} + {{ obj.indexer }} + {% endif %} {% if obj.track %} {% trans "GPX Track" %} {{ obj.track|file_basename }} diff --git a/www/maposmatic/templates/maposmatic/map-full.html b/www/maposmatic/templates/maposmatic/map-full.html index 5a02912f..3dcc24a7 100644 --- a/www/maposmatic/templates/maposmatic/map-full.html +++ b/www/maposmatic/templates/maposmatic/map-full.html @@ -85,6 +85,10 @@ {% trans "Overlays" %} {{ map.overlay|add_blank_after_comma }} {% endif %} + {% if map.indexer %} + {% trans "Indexer" %} + {{ map.indexer }} + {% endif %} {% if map.track %} {% trans "GPX Track" %} {{ map.track|file_basename }} diff --git a/www/maposmatic/templates/maposmatic/maps.html b/www/maposmatic/templates/maposmatic/maps.html index 08b546e1..66e8eefc 100644 --- a/www/maposmatic/templates/maposmatic/maps.html +++ b/www/maposmatic/templates/maposmatic/maps.html @@ -76,6 +76,9 @@ {% if map.overlay %} {% trans "Overlay(s)" %}{{ map.overlay|add_blank_after_comma }} {% endif %} + {% if map.indexer %} + {% trans "Indexer" %}{{ map.indexer }} + {% endif %} {% if map.track %} {% trans "GPX track" %}{{ map.track|file_basename }} {% endif %} From da0742d3bf0463d1a519e375ec6ea5973a870ccb Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Sun, 25 Sep 2022 10:40:18 +0000 Subject: [PATCH 2/2] make queue position display a bit smaller to allow for double digit numbers without line wrap --- www/static/css/maposmatic.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/static/css/maposmatic.css b/www/static/css/maposmatic.css index a5177624..10e176e7 100644 --- a/www/static/css/maposmatic.css +++ b/www/static/css/maposmatic.css @@ -323,7 +323,7 @@ a.carousel-control { display: none; } color: #eee; text-align: center; font-weight: bold; - font-size: 100pt; + font-size: 60pt; letter-spacing: -2px; align: center; }