|
@@ -955,7 +955,7 @@ function createDivRelazione(type, id){
|
|
|
|
|
|
function createColRelazione(text, link) {
|
|
function createColRelazione(text, link) {
|
|
htmlCode = '\
|
|
htmlCode = '\
|
|
- <div class="row"> \
|
|
|
|
|
|
+ <div class="row mb-1"> \
|
|
<div class="col"><NAME></div> \
|
|
<div class="col"><NAME></div> \
|
|
<div class="col-auto"> \
|
|
<div class="col-auto"> \
|
|
<button class="persona btn btn-default" type="button" id="<URI>">\
|
|
<button class="persona btn btn-default" type="button" id="<URI>">\
|
|
@@ -1022,7 +1022,16 @@ function handle_Events(json) {
|
|
if (events.length != 0) {
|
|
if (events.length != 0) {
|
|
document.getElementById("res_events").innerHTML = EventsTable;
|
|
document.getElementById("res_events").innerHTML = EventsTable;
|
|
} else {
|
|
} else {
|
|
- document.getElementById("res_events").innerHTML = "Nessun evento trovato";
|
|
|
|
|
|
+ var eventIcon = "<div id='map_icon' class='no_info_icon'> \
|
|
|
|
+ <svg width='30' viewBox='0 0 411 404' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'> \
|
|
|
|
+ <g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'> \
|
|
|
|
+ <g id='noun-event-1989064' fill='#000000' fill-rule='nonzero'><path d='M31.55,403.44 L380.46,403.44 C397.304,403.44 410.538,389.331 410.538,372.378 L410.538,166.098 L0.378,166.098 L0.378,372.378 C0.378,389.331 14.706,403.44 31.55,403.44 Z' id='Path'></path><polygon id='Path' points='76.94 0.562 129.44 0.562 129.44 69.468 76.94 69.468'></polygon><path d='M410.53,80.08 C410.53,63.236 397.296,49.783 380.452,49.783 L361.311,49.783 L361.311,82.924 C361.311,90.1428 355.186,95.721 347.967,95.721 L269.655,95.721 C262.4362,95.721 256.202,90.1429 256.202,82.924 L256.202,49.783 L155.582,49.783 L155.582,82.924 C155.582,90.1428 149.457,95.721 142.129,95.721 L63.817,95.721 C56.5982,95.721 50.473,90.1429 50.473,82.924 L50.473,49.783 L31.551,49.783 C14.707,49.783 0.379,63.127 0.379,80.08 L0.379,143.846 L410.539,143.846 L410.53,80.08 Z' id='Path'></path><polygon id='Path' points='282.56 0.562 335.06 0.562 335.06 69.468 282.56 69.468'></polygon></g> \
|
|
|
|
+ </g> \
|
|
|
|
+ </svg> \
|
|
|
|
+ <p>Nessun evento trovato</p> \
|
|
|
|
+ </div>";
|
|
|
|
+
|
|
|
|
+ document.getElementById("res_events").innerHTML = eventIcon;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
@@ -1377,15 +1386,16 @@ function handle_map(json) {
|
|
var longitude = long/i;
|
|
var longitude = long/i;
|
|
|
|
|
|
var mapIcon = "<div id='map_icon' class='no_info_icon'> \
|
|
var mapIcon = "<div id='map_icon' class='no_info_icon'> \
|
|
- <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'> \
|
|
|
|
- <!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d='M408 120C408 174.6 334.9 271.9 302.8 311.1C295.1 321.6 280.9 321.6 273.2 311.1C241.1 271.9 168 174.6 168 120C168 53.73 221.7 0 288 0C354.3 0 408 53.73 408 120zM288 152C310.1 152 328 134.1 328 112C328 89.91 310.1 72 288 72C265.9 72 248 89.91 248 112C248 134.1 265.9 152 288 152zM425.6 179.8C426.1 178.6 426.6 177.4 427.1 176.1L543.1 129.7C558.9 123.4 576 135 576 152V422.8C576 432.6 570 441.4 560.9 445.1L416 503V200.4C419.5 193.5 422.7 186.7 425.6 179.8zM150.4 179.8C153.3 186.7 156.5 193.5 160 200.4V451.8L32.91 502.7C17.15 508.1 0 497.4 0 480.4V209.6C0 199.8 5.975 190.1 15.09 187.3L137.6 138.3C140 152.5 144.9 166.6 150.4 179.8H150.4zM327.8 331.1C341.7 314.6 363.5 286.3 384 255V504.3L192 449.4V255C212.5 286.3 234.3 314.6 248.2 331.1C268.7 357.6 307.3 357.6 327.8 331.1L327.8 331.1z'/> \
|
|
|
|
|
|
+ <svg xmlns='http://www.w3.org/2000/svg' width='30' viewBox='0 0 576 512'> \
|
|
|
|
+ <path d='M408 120C408 174.6 334.9 271.9 302.8 311.1C295.1 321.6 280.9 321.6 273.2 311.1C241.1 271.9 168 174.6 168 120C168 53.73 221.7 0 288 0C354.3 0 408 53.73 408 120zM288 152C310.1 152 328 134.1 328 112C328 89.91 310.1 72 288 72C265.9 72 248 89.91 248 112C248 134.1 265.9 152 288 152zM425.6 179.8C426.1 178.6 426.6 177.4 427.1 176.1L543.1 129.7C558.9 123.4 576 135 576 152V422.8C576 432.6 570 441.4 560.9 445.1L416 503V200.4C419.5 193.5 422.7 186.7 425.6 179.8zM150.4 179.8C153.3 186.7 156.5 193.5 160 200.4V451.8L32.91 502.7C17.15 508.1 0 497.4 0 480.4V209.6C0 199.8 5.975 190.1 15.09 187.3L137.6 138.3C140 152.5 144.9 166.6 150.4 179.8H150.4zM327.8 331.1C341.7 314.6 363.5 286.3 384 255V504.3L192 449.4V255C212.5 286.3 234.3 314.6 248.2 331.1C268.7 357.6 307.3 357.6 327.8 331.1L327.8 331.1z'/> \
|
|
</svg> \
|
|
</svg> \
|
|
<p>Nessun luogo trovato</p> \
|
|
<p>Nessun luogo trovato</p> \
|
|
</div>";
|
|
</div>";
|
|
|
|
|
|
if (locations.length == 0) {
|
|
if (locations.length == 0) {
|
|
|
|
+ $("#people_map").css("display", "none");
|
|
$("#references_persona").css("display", "none");
|
|
$("#references_persona").css("display", "none");
|
|
- document.getElementById("map").innerHTML = mapIcon;
|
|
|
|
|
|
+ document.getElementById("people_map_no_res").innerHTML = mapIcon;
|
|
}
|
|
}
|
|
|
|
|
|
document.getElementById("list_places_person").innerHTML = myPlaces;
|
|
document.getElementById("list_places_person").innerHTML = myPlaces;
|