[enh] openstreetmap / map template: improve results

implements ideas described in #69

* update the engine
* use wikidata
* update map.html template
This commit is contained in:
Alexandre Flament 2021-06-04 09:35:26 +02:00 committed by Markus Heiser
parent 92c8a8829f
commit c75425655f
9 changed files with 16192 additions and 146 deletions

View file

@ -171,6 +171,36 @@
// map formating of results
.result-map {
clear: both;
.img-thumbnail {
float: right;
width: auto;
height: 120px;
border: 0;
background: inherit;
}
.img-type {
width: 20px;
max-height: 20px;
}
.result-map-details {
font-size: 13px;
border-collapse: separate;
border-spacing: 0 0.35rem;
th {
font-weight: inherit;
width: 20rem;
vertical-align: top;
}
td {
vertical-align: top;
}
}
}
// code formating of results

View file

@ -304,6 +304,37 @@ article.result-images[data-vim-selected]::before {
}
}
.result-map {
img.image {
float: right !important;
height: 100px !important;
width: auto !important;
}
table {
font-size: .9em;
width: auto;
border-collapse: separate;
border-spacing: 0 0.35rem;
th {
font-weight: inherit;
width: 17rem;
vertical-align: top;
text-align: left;
}
td {
vertical-align: top;
text-align: left;
}
}
}
.torrent_result {
border-left: 10px solid @color-result-torrent-border;
padding-left: 3px;