|
@@ -234,12 +234,12 @@ function handle_data(json) {
|
|
|
}
|
|
|
|
|
|
function get_dataset_name(graph) {
|
|
|
- var string = "Scheda Onomastica";
|
|
|
- if (graph == "http://dev.restore.ovi.cnr.it:8890/aspo/onomastica") {
|
|
|
- string = string + " / Onomastica Datini";
|
|
|
+ var string = "Person";
|
|
|
+ if (graph == "http://iperion.vm.fedcloud.eu:8890/aspo/onomastica") {
|
|
|
+ string = string + " / Datini Fond";
|
|
|
}
|
|
|
- else if (graph == "http://dev.restore.ovi.cnr.it:8890/mpp/authors"){
|
|
|
- string = string + " / Artisti";
|
|
|
+ else if (graph == "http://iperion.vm.fedcloud.eu:8890/mpp/authors"){
|
|
|
+ string = string + " / Artists";
|
|
|
}
|
|
|
else {
|
|
|
string = string;
|
|
@@ -269,7 +269,7 @@ function handle_InfoGettatelli(json) {
|
|
|
if (uri_card != "") {
|
|
|
button_obj = '<button type="button" id="' + uri_card +
|
|
|
'" class="object btn btn-default" alt="oggetto" title="' + uri_card +
|
|
|
- '"><i class="fa fa-book"></i><p class="btn-text">Scheda Oggetto</p></button>';
|
|
|
+ '"><i class="fa fa-book"></i><p class="btn-text">Object</p></button>';
|
|
|
}
|
|
|
|
|
|
document.getElementById("scheda_anagrafica").innerHTML = card;
|
|
@@ -538,7 +538,7 @@ function createColRelazione(text, link) {
|
|
|
<div class="col-auto"> \
|
|
|
<button class="persona btn btn-default" type="button" id="<URI>">\
|
|
|
<i class="fa fa-user" aria-hidden="true">\
|
|
|
- <p class="btn-text">Scheda Persona</p>\
|
|
|
+ <p class="btn-text">Person</p>\
|
|
|
</i>\
|
|
|
</button>\</div> \
|
|
|
</div>\
|
|
@@ -702,7 +702,7 @@ function handle_Events(json) {
|
|
|
<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> \
|
|
|
+ <p>No event found</p> \
|
|
|
</div>";
|
|
|
|
|
|
document.getElementById("res_events_container").style.display = "none";
|
|
@@ -820,29 +820,29 @@ function handle_Letters(json) {
|
|
|
letter = '<div class="col-8"><p><span id="' + send[i][0] + '" class="title_doc lettera">'+ send[i][1] + '</span>';
|
|
|
object_type = "lettera";
|
|
|
infObject_button += '<button type="button" id="' + send[i][4] +
|
|
|
- '" class="lettera btn btn-default" alt="lettera" ><i class="fa fa-envelope"></i><p class="btn-text">Scheda Lettera</p></button>';
|
|
|
+ '" class="lettera btn btn-default" alt="lettera" ><i class="fa fa-envelope"></i><p class="btn-text">Letter</p></button>';
|
|
|
} else {
|
|
|
letter = '<div class="col-8"><p><span id="' + send[i][0] + '" class="title_doc object">'+ send[i][1] + '</span>';
|
|
|
object_type = "object";
|
|
|
infObject_button += '<button type="button" id="' + send[i][0] +
|
|
|
'" class="object btn btn-default" alt="oggetto" title="' + send[i][1] +
|
|
|
- '"><i class="fa fa-book"></i><p class="btn-text">Scheda Oggetto</p></button>';
|
|
|
+ '"><i class="fa fa-book"></i><p class="btn-text">Object</p></button>';
|
|
|
}
|
|
|
|
|
|
if (send[i][2] != "") {
|
|
|
- letter = letter + "<br />Segnatura: " + send[i][2];
|
|
|
+ letter = letter + "<br />Mark: " + send[i][2];
|
|
|
}
|
|
|
if (send[i][3] != "") {
|
|
|
- letter = letter + "<br />Data: " + send[i][3];
|
|
|
+ letter = letter + "<br />Date: " + send[i][3];
|
|
|
}
|
|
|
|
|
|
letter = letter + '</p></div>';
|
|
|
|
|
|
Send_Letters += '<div class="row res">'+ letter +
|
|
|
'<div class="col d-flex align-items-start justify-content-end">' + infObject_button +
|
|
|
- '<button type="button" value="' + object_type + '" id="' + send[i][0] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
|
|
|
+ '<button type="button" value="' + object_type + '" id="' + send[i][0] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citation</p></button>' +
|
|
|
'<button type="button" value="' + object_type + '" id="' + send[i][0] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
|
|
|
- '<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + send[i][0] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
|
|
|
+ '<a href="http://iperion.vm.fedcloud.eu/lodlive/?' + send[i][0] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
|
|
|
|
|
|
}
|
|
|
|
|
@@ -858,29 +858,29 @@ function handle_Letters(json) {
|
|
|
letter = '<div class="col-8"><p><span id="' + receive[i][0] + '" class="title_doc lettera">'+ receive[i][1] + '</span>';
|
|
|
object_type = "lettera";
|
|
|
infObject_button += '<button type="button" id="' + receive[i][4] +
|
|
|
- '" class="lettera btn btn-default" alt="lettera" ><i class="fa fa-envelope"></i><p class="btn-text">Scheda Lettera</p></button>';
|
|
|
+ '" class="lettera btn btn-default" alt="lettera" ><i class="fa fa-envelope"></i><p class="btn-text">Letter</p></button>';
|
|
|
} else {
|
|
|
letter = '<div class="col-8"><p><span id="' + receive[i][0] + '" class="title_doc object">'+ receive[i][1] + '</span>';
|
|
|
object_type = "object";
|
|
|
infObject_button += '<button type="button" id="' + receive[i][0] +
|
|
|
'" class="object btn btn-default" alt="oggetto" title="' + receive[i][1] +
|
|
|
- '"><i class="fa fa-book"></i><p class="btn-text">Scheda Oggetto</p></button>';
|
|
|
+ '"><i class="fa fa-book"></i><p class="btn-text">Object</p></button>';
|
|
|
}
|
|
|
|
|
|
if (receive[i][2] != "") {
|
|
|
- letter = letter + "<br />Segnatura: " + receive[i][2];
|
|
|
+ letter = letter + "<br />Mark: " + receive[i][2];
|
|
|
}
|
|
|
if (receive[i][3] != "") {
|
|
|
- letter = letter + "<br />Data: " + receive[i][3];
|
|
|
+ letter = letter + "<br />Date: " + receive[i][3];
|
|
|
}
|
|
|
|
|
|
letter = letter + '</p></div>';
|
|
|
|
|
|
Receive_Letters += '<div class="row res">'+ letter +
|
|
|
'<div class="col d-flex align-items-start justify-content-end">' + infObject_button +
|
|
|
- '<button type="button" value="' + object_type + '" id="' + receive[i][0] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
|
|
|
+ '<button type="button" value="' + object_type + '" id="' + receive[i][0] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citation</p></button>' +
|
|
|
'<button type="button" value="' + object_type + '" id="' + receive[i][0] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
|
|
|
- '<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + receive[i][0] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
|
|
|
+ '<a href="http://iperion.vm.fedcloud.eu/lodlive/?' + receive[i][0] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
|
|
|
}
|
|
|
|
|
|
document.getElementById("l_send").innerHTML = send.length;
|
|
@@ -889,12 +889,12 @@ function handle_Letters(json) {
|
|
|
document.getElementById("letters_receive").innerHTML = Receive_Letters;
|
|
|
|
|
|
if (send.length==0) {
|
|
|
- var messaggio = "<p class='no-results'>Nessun risultato trovato</p>";
|
|
|
+ var messaggio = "<p class='no-results'>No resource found for this query</p>";
|
|
|
document.getElementById("letters_send").innerHTML = messaggio;
|
|
|
}
|
|
|
|
|
|
if (receive.length==0) {
|
|
|
- var messaggio = "<p class='no-results'>Nessun risultato trovato</p>";
|
|
|
+ var messaggio = "<p class='no-results'>No resource found for this query</p>";
|
|
|
document.getElementById("letters_receive").innerHTML = messaggio;
|
|
|
}
|
|
|
|
|
@@ -928,25 +928,25 @@ function handle_Artwork(json) {
|
|
|
for (var i=0; i<oa.length; i++) {
|
|
|
var artwork = '<a href=' + oa[i][0] + ' target="_blank">' + oa[i][1] + '</a><br />NCT: ' + oa[i][2];
|
|
|
if (oa[i][3] != "") {
|
|
|
- artwork = artwork + "<br />Data: " + oa[i][3];
|
|
|
+ artwork = artwork + "<br />Date: " + oa[i][3];
|
|
|
}
|
|
|
|
|
|
var object_button = '<button type="button" id="' + oa[i][0] +
|
|
|
'" class="artwork btn btn-default" alt="opera d\'arte" title="' + oa[i][1] +
|
|
|
- '"><i class="fas fa-paint-brush"></i><p class="btn-text">Scheda Opera d\'Arte</p></button>';
|
|
|
+ '"><i class="fas fa-paint-brush"></i><p class="btn-text">Artwork</p></button>';
|
|
|
|
|
|
Artworks += '<div class="row res"><div class="col-8"><p>'+ artwork +'</p></div>' +
|
|
|
'<div class="col d-flex align-items-start justify-content-end">' + object_button +
|
|
|
- '<button value="OA" type="button" id="' + oa[i][0] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
|
|
|
+ '<button value="OA" type="button" id="' + oa[i][0] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citation</p></button>' +
|
|
|
'<button value="OA" type="button" id="' + oa[i][0] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
|
|
|
- '<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + oa[i][0] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
|
|
|
+ '<a href="http://iperion.vm.fedcloud.eu/lodlive/?' + oa[i][0] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
|
|
|
}
|
|
|
|
|
|
document.getElementById("n_oa").innerHTML = oa.length;
|
|
|
document.getElementById("object_oa").innerHTML = Artworks;
|
|
|
|
|
|
if (oa.length==0) {
|
|
|
- var messaggio = "<p class='no-results'>Nessun risultato trovato</p>";
|
|
|
+ var messaggio = "<p class='no-results'>No resource found for this query</p>";
|
|
|
document.getElementById("object_oa").innerHTML = messaggio;
|
|
|
}
|
|
|
|
|
@@ -982,29 +982,29 @@ function handle_Other_Documents(json) {
|
|
|
var paper = '<div class="col-8"><p><span id="' + doc[i][0] + '" class="title_doc object">'+ doc[i][1] + '</span>';
|
|
|
var object_button = '<button type="button" id="' + doc[i][0] +
|
|
|
'" class="object btn btn-default" alt="oggetto" title="' + doc[i][1] +
|
|
|
- '"><i class="fa fa-book"></i><p class="btn-text">Scheda Oggetto</p></button>';
|
|
|
+ '"><i class="fa fa-book"></i><p class="btn-text">Object</p></button>';
|
|
|
|
|
|
if (doc[i][2] != "") {
|
|
|
- paper = paper + "<br />Segnatura: " + doc[i][2];
|
|
|
+ paper = paper + "<br />Mark: " + doc[i][2];
|
|
|
}
|
|
|
if (doc[i][3] != "") {
|
|
|
- paper = paper + "<br />Data: " + doc[i][3];
|
|
|
+ paper = paper + "<br />Date: " + doc[i][3];
|
|
|
}
|
|
|
|
|
|
paper = paper + '</p></div>';
|
|
|
|
|
|
Documents += '<div class="row res">'+ paper +
|
|
|
'<div class="col d-flex align-items-start justify-content-end">' + object_button +
|
|
|
- '<button value="object" type="button" id="' + doc[i][0] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citazione</p></button>' +
|
|
|
+ '<button value="object" type="button" id="' + doc[i][0] + '" class="cit btn btn-default" alt="scheda" title="Info"><i class="fa fa-quote-right"></i><p class="btn-text">Citation</p></button>' +
|
|
|
'<button value="object" type="button" id="' + doc[i][0] + '" class="hyp btn btn-default" alt="scheda" title="Info"><i class="fa fa-link"></i><p class="btn-text">Hyperlink</p></button>' +
|
|
|
- '<a href="http://dev.restore.ovi.cnr.it/lodlive/?' + doc[i][0] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
|
|
|
+ '<a href="http://iperion.vm.fedcloud.eu/lodlive/?' + doc[i][0] + '" target="_blank"><button type="button" class="btn btn-default info" alt="LOD"><i class="fa fa-share-alt"></i><p class="btn-text">Lod</p></button></a></div></div>';
|
|
|
}
|
|
|
|
|
|
document.getElementById("n_ass").innerHTML = doc.length;
|
|
|
document.getElementById("other_documents").innerHTML = Documents;
|
|
|
|
|
|
if (doc.length==0) {
|
|
|
- var messaggio = "<p class='no-results'>Nessun risultato trovato</p>";
|
|
|
+ var messaggio = "<p class='no-results'>No resource found for this query</p>";
|
|
|
document.getElementById("other_documents").innerHTML = messaggio;
|
|
|
}
|
|
|
|
|
@@ -1124,7 +1124,7 @@ function handle_map(json) {
|
|
|
<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> \
|
|
|
- <p>Nessun luogo trovato</p> \
|
|
|
+ <p>No place found</p> \
|
|
|
</div>";
|
|
|
|
|
|
if (locations.length == 0) {
|