|
@@ -33,10 +33,10 @@ const choiceArray = [
|
|
|
];
|
|
|
|
|
|
const typeArray = [
|
|
|
- ["Oggetto", "Object"],
|
|
|
- ["Lettera", "Letter"],
|
|
|
- ["Opera d'Arte", "OA"],
|
|
|
- ["Persona", "Person"]
|
|
|
+ ["Object", "Object"],
|
|
|
+ ["Letter", "Letter"],
|
|
|
+ ["Artwork", "OA"],
|
|
|
+ ["Person", "Person"]
|
|
|
];
|
|
|
|
|
|
const graphArray = [
|
|
@@ -219,7 +219,7 @@ function populateOptions(selector, myArray) {
|
|
|
<input type="date" id="inputchoiceSelector_'+ numberId +'_b" name="end" value="1900-12-31"> \
|
|
|
</select></div></div></div>';*/
|
|
|
}
|
|
|
- else if (inputText == "Data partenza"){
|
|
|
+ else if (inputText == "Departure date"){
|
|
|
var inp = '<div style="display:flex;"><div id="box_' + numberId + '_a" class="container_choice"><div class="choice_box">Da <select style="display:none;" id ="choice_selector-' + numberId + '_a" value=' + numberId + '_a" name="sel-parent" class="advanced-form-select form-control" aria-label="Default select example"> \
|
|
|
<option selected value="0">Data partenza inizio</option> \
|
|
|
<input type="date" id="inputchoiceSelector_'+ numberId +'_a" name="start" value="1300-01-01"> \
|
|
@@ -229,7 +229,7 @@ function populateOptions(selector, myArray) {
|
|
|
<input type="date" id="inputchoiceSelector_'+ numberId +'_b" name="end" value="1900-12-31"> \
|
|
|
</select></div></div></div>';
|
|
|
}
|
|
|
- else if (inputText == "Data arrivo"){
|
|
|
+ else if (inputText == "Arrival date"){
|
|
|
var inp = '<div style="display:flex;"><div id="box_' + numberId + '_a" class="container_choice"><div class="choice_box">Da <select style="display:none;" id ="choice_selector-' + numberId + '_a" value=' + numberId + '_a" name="sel-parent" class="advanced-form-select form-control" aria-label="Default select example"> \
|
|
|
<option selected value="0">Data arrivo inizio</option> \
|
|
|
<input type="date" id="inputchoiceSelector_'+ numberId +'_a" name="start" value="1300-01-01"> \
|
|
@@ -261,7 +261,7 @@ var val = 0;
|
|
|
function addToList() {
|
|
|
val = val+1;
|
|
|
var sel = '<div id="box_' + val + '" class="container_choice"><div class="remove"><a onclick="removeElement(\'box_' + val + '\')"><i class="fa fa-trash" aria-hidden="true"></i></a></div><div class="choice_box"><select id ="choice_selector-' + val + '" value=' + val + ' name="sel-parent" class="advanced-form-select form-control" aria-label="Default select example"> \
|
|
|
- <option selected value="0">Scegli un\'opzione</option> \
|
|
|
+ <option selected value="0">Choose an option</option> \
|
|
|
</select><div id="sect-' + val + '"></div></div></div>';
|
|
|
$('#drop-down-content').append(sel);
|
|
|
var selector = 'choice_selector-' + val;
|
|
@@ -271,7 +271,7 @@ function addToList() {
|
|
|
function addToListObject() {
|
|
|
val = val+100;
|
|
|
var sel = '<div id="box_' + val + '" class="container_choice"><div class="remove"><a onclick="removeElement(\'box_' + val + '\')"><i class="fa fa-trash" aria-hidden="true"></i></a></div><div class="choice_box"><select id ="choice_selector-' + val + '" value=' + val + ' name="sel-parent" class="advanced-form-select form-control" aria-label="Default select example"> \
|
|
|
- <option selected value="0">Scegli un\'opzione</option> \
|
|
|
+ <option selected value="0">Choose an option</option> \
|
|
|
</select><div id="sect-' + val + '"></div></div></div>';
|
|
|
$('#drop-down-content-Object').append(sel);
|
|
|
var selector = 'choice_selector-' + val;
|
|
@@ -281,7 +281,7 @@ function addToListObject() {
|
|
|
function addToListOA() {
|
|
|
val = val+200;
|
|
|
var sel = '<div id="box_' + val + '" class="container_choice"><div class="remove"><a onclick="removeElement(\'box_' + val + '\')"><i class="fa fa-trash" aria-hidden="true"></i></a></div><div class="choice_box"><select id ="choice_selector-' + val + '" value=' + val + ' name="sel-parent" class="advanced-form-select form-control" aria-label="Default select example"> \
|
|
|
- <option selected value="0">Scegli un\'opzione</option> \
|
|
|
+ <option selected value="0">Choose an option</option> \
|
|
|
</select><div id="sect-' + val + '"></div></div></div>';
|
|
|
$('#drop-down-content-OA').append(sel);
|
|
|
var selector = 'choice_selector-' + val;
|
|
@@ -291,7 +291,7 @@ function addToListOA() {
|
|
|
function addToListPerson() {
|
|
|
val = val+300;
|
|
|
var sel = '<div id="box_' + val + '" class="container_choice"><div class="remove"><a onclick="removeElement(\'box_' + val + '\')"><i class="fa fa-trash" aria-hidden="true"></i></a></div><div class="choice_box"><select id ="choice_selector-' + val + '" value=' + val + ' name="sel-parent" class="advanced-form-select form-control" aria-label="Default select example"> \
|
|
|
- <option selected value="0">Scegli un\'opzione</option> \
|
|
|
+ <option selected value="0">Choose an option</option> \
|
|
|
</select><div id="sect-' + val + '"></div></div></div>';
|
|
|
$('#drop-down-content-Person').append(sel);
|
|
|
var selector = 'choice_selector-' + val;
|
|
@@ -301,7 +301,7 @@ function addToListPerson() {
|
|
|
function addToListLetter() {
|
|
|
val = val+400;
|
|
|
var sel = '<div id="box_' + val + '" class="container_choice"><div class="remove"><a onclick="removeElement(\'box_' + val + '\')"><i class="fa fa-trash" aria-hidden="true"></i></a></div><div class="choice_box"><select id ="choice_selector-' + val + '" value=' + val + ' name="sel-parent" class="advanced-form-select form-control" aria-label="Default select example"> \
|
|
|
- <option selected value="0">Scegli un\'opzione</option> \
|
|
|
+ <option selected value="0">Choose an option</option> \
|
|
|
</select><div id="sect-' + val + '"></div></div></div>';
|
|
|
$('#drop-down-content-Letter').append(sel);
|
|
|
var selector = 'choice_selector-' + val;
|
|
@@ -311,7 +311,7 @@ function addToListLetter() {
|
|
|
function addToListPlace() {
|
|
|
val = val+500;
|
|
|
var sel = '<div id="box_' + val + '" class="container_choice"><div class="remove"><a onclick="removeElement(\'box_' + val + '\')"><i class="fa fa-trash" aria-hidden="true"></i></a></div><div class="choice_box"><select id ="choice_selector-' + val + '" value=' + val + ' name="sel-parent" class="advanced-form-select form-control" aria-label="Default select example"> \
|
|
|
- <option selected value="0">Scegli un\'opzione</option> \
|
|
|
+ <option selected value="0">Choose an option</option> \
|
|
|
<input type="text" id="inputchoiceSelector_'+ val +'" class="selected_option form-control" placeholder="Enter search terms" aria-label="Enter search terms" aria-describedby="button-addon2"> \
|
|
|
</select></div></div>';
|
|
|
$('#drop-down-content-Place').append(sel);
|