From c011cd54eb5e904c7edbcd50d6c8b16f0a96cafd Mon Sep 17 00:00:00 2001 From: luigser Date: Fri, 9 Oct 2015 18:54:11 +0200 Subject: [PATCH] selection controllet update --- controllets/data-sevc-controllet/data-sevc-controllet.html | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/controllets/data-sevc-controllet/data-sevc-controllet.html b/controllets/data-sevc-controllet/data-sevc-controllet.html index 63ee0f2..7e5ba51 100755 --- a/controllets/data-sevc-controllet/data-sevc-controllet.html +++ b/controllets/data-sevc-controllet/data-sevc-controllet.html @@ -41,7 +41,8 @@ - + + @@ -256,6 +257,15 @@ Example: width: 100%; } + paper-dialog { + position: fixed; + top: 16px; + width: auto; + height: auto; + overflow: auto; + padding : 30px; + } + +
@@ -416,6 +427,12 @@ Example: + +

+ + +
+ @@ -688,7 +705,7 @@ Example: this.selected = this.selected === 0 ? 0 : (this.selected - 1); }, /** - * Callback for manage the next pass button + * Callback to manage the next pass button * * @method _onNextClick * @@ -702,6 +719,15 @@ Example: this.selected = this.selected === 2 ? 2 : (this.selected + 1); }, /** + * Callback to manage InfoButton click to give user information about the selected dataset + * + */ + _onInfoClick : function(){ + + this.$.infoDialog.open(); + + }, + /** * Callback related to datasource selection from select menu * * @method _datasourceSelected @@ -711,6 +737,9 @@ Example: _datasourceSelected : function(e){ this.$.data_url.value = this.datasets[parseInt(e.target.id)].url; + this.$.infoDialogTitle.innerHTML = this.datasets[parseInt(e.target.id)].name; + this.$.infoDialogContent.innerHTML = this.datasets[parseInt(e.target.id)].description; + }, /** * Callback related to data url change -- libgit2 0.21.4