From 3b5f486864864c74939b36bf741a67617fe6d4bc Mon Sep 17 00:00:00 2001 From: renato Date: Thu, 9 Jun 2016 17:54:46 +0200 Subject: [PATCH] co-datalets-creator --- controllets/data-sevc-controllet/co-datalets-creator-controllet.html | 6 ++++-- controllets/data-sevc-controllet/demo/index.html | 4 ++-- controllets/select-visualization-controllet/select-visualization-controllet_old.html | 427 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ locales/controllet_ln.js | 4 ++-- 4 files changed, 435 insertions(+), 6 deletions(-) create mode 100755 controllets/select-visualization-controllet/select-visualization-controllet_old.html diff --git a/controllets/data-sevc-controllet/co-datalets-creator-controllet.html b/controllets/data-sevc-controllet/co-datalets-creator-controllet.html index 7a70847..5cc885d 100755 --- a/controllets/data-sevc-controllet/co-datalets-creator-controllet.html +++ b/controllets/data-sevc-controllet/co-datalets-creator-controllet.html @@ -40,7 +40,6 @@ listeners : { 'page-slider-controllet_selected' : '_updateSlider', - 'dataset-selection-controllet_data-url' : '_allowSecondStep', 'select-fields-controllet_selected-fields' : '_allowThirdStep', 'filters-controllet_filters': '_allowThirdStep' }, @@ -77,7 +76,10 @@ ready : function(){ ln["localization"] = this.localization; + this.$.select_data.dataUrl = this.dataUrl; this.$.select_data.init(); + this.$.select_visualization.dataUrl = this.dataUrl; + this.$.select_visualization.init(); }, _updateSlider : function(e){ @@ -88,7 +90,7 @@ this.$.slider.chevronLeft("invisible"); this.$.slider.chevronRight(false); - if(this.$.slider.getPrevSelected() == 2) + if(this.$.slider.getPrevSelected() == 1) this.$.slider.chevronRight(true); break; case 1: diff --git a/controllets/data-sevc-controllet/demo/index.html b/controllets/data-sevc-controllet/demo/index.html index 2822bbc..7a3623b 100755 --- a/controllets/data-sevc-controllet/demo/index.html +++ b/controllets/data-sevc-controllet/demo/index.html @@ -21,8 +21,8 @@ - diff --git a/controllets/select-visualization-controllet/select-visualization-controllet_old.html b/controllets/select-visualization-controllet/select-visualization-controllet_old.html new file mode 100755 index 0000000..f6cf177 --- /dev/null +++ b/controllets/select-visualization-controllet/select-visualization-controllet_old.html @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/locales/controllet_ln.js b/locales/controllet_ln.js index 509c59a..588f3f2 100755 --- a/locales/controllet_ln.js +++ b/locales/controllet_ln.js @@ -8,7 +8,7 @@ ln["localization"] = "en"; ln["slide1Title_en"] = "SELECT DATASET"; ln["slide1Subtitle_en"] = "Select a dataset from the list or copy and paste the url of dataset."; ln["slide2Title_en"] = "SELECT DATA"; -ln["slide2Subtitle_en"] = "Select the fields from tree-view. The multi-table will show the values related to the selected fields."; +ln["slide2Subtitle_en"] = "Select the fields on the left. The table will show the values related to the selected fields."; ln["slide3Title_en"] = "SELECT VISUALIZATION"; ln["slide3Subtitle_en"] = "Select a visualization, fill out inputs and labels (optional)."; ln["back_en"] = "Back"; @@ -135,7 +135,7 @@ ln["donut_description_en"] = "If 'true' Pie will become Donut! :)"; ln["slide1Title_it"] = "SELEZIONA IL DATASET"; ln["slide1Subtitle_it"] = "Seleziona il dataset dalla lista o copia e incolla la url del dataset."; ln["slide2Title_it"] = "SELEZIONA I DATI"; -ln["slide2Subtitle_it"] = "Seleziona i campi dalla struttura ad albero. Nella tabella saranno mostrati i valori dei campi selezionati."; +ln["slide2Subtitle_it"] = "Seleziona i campi sulla sinistra. Nella tabella saranno mostrati i valori dei campi selezionati."; ln["slide3Title_it"] = "SELEZIONA LA VISUALIZZAZIONE"; ln["slide3Subtitle_it"] = "Seleziona una visualizzazione, inserisci dati di input ed etichette (opzionale)."; ln["back_it"] = "Indietro"; -- libgit2 0.21.4