branch feature/multi-ui updated (e96c9b22 -> 4b8114dc)
This is an automated email from the git hooks/post-receive script. New change to branch feature/multi-ui in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from e96c9b22 Lint modifs new 5a3a8ffe Indentation new 4b8114dc Better Previous-Next question in results The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 4b8114dc835ec653872e10a3e5b76f05669f0a5f Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 23 10:22:20 2019 +0200 Better Previous-Next question in results commit 5a3a8ffe34dd07f95860886c643a5323c23016bb Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 23 10:20:09 2019 +0200 Indentation Summary of changes: .../src/main/web/tag/poll/Results.tag.html | 36 ++++++++++++---------- .../src/main/web/tag/poll/Votes.tag.html | 35 ++++++++++----------- 2 files changed, 36 insertions(+), 35 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/multi-ui in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 5a3a8ffe34dd07f95860886c643a5323c23016bb Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 23 10:20:09 2019 +0200 Indentation --- .../src/main/web/tag/poll/Votes.tag.html | 35 +++++++++++----------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html index cac6a841..11f0b6f5 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html @@ -21,24 +21,23 @@ <Votes> <div class="align-center"> - - <button type="button" - class="c-button c-button--info" - tabindex="1" - onclick={previousQuestion} - disabled={questionToVote === 0}> - <i class="fa fa-chevron-left " aria-hidden="true"></i> - {_t.previousQuestion} - </button> - - <button type="button" - class="c-button c-button--info" - tabindex="1" - onclick={nextQuestion} - disabled={questionToVote === poll.questions.length - 1}> - {_t.nextQuestion} - <i class="fa fa-chevron-right " aria-hidden="true"></i> - </button> + <button type="button" + class="c-button c-button--info" + tabindex="1" + onclick={previousQuestion} + disabled={questionToVote === 0}> + <i class="fa fa-chevron-left " aria-hidden="true"></i> + {_t.previousQuestion} + </button> + + <button type="button" + class="c-button c-button--info" + tabindex="1" + onclick={nextQuestion} + disabled={questionToVote === poll.questions.length - 1}> + {_t.nextQuestion} + <i class="fa fa-chevron-right " aria-hidden="true"></i> + </button> </div> <Vote question={question}/> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/multi-ui in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 4b8114dc835ec653872e10a3e5b76f05669f0a5f Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 23 10:22:20 2019 +0200 Better Previous-Next question in results --- .../src/main/web/tag/poll/Results.tag.html | 36 ++++++++++++---------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Results.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Results.tag.html index f3fd176d..475f949a 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Results.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Results.tag.html @@ -27,23 +27,25 @@ import "../voteCountingType/CoombsDetailResult.tag.html"; import "../voteCountingType/MajorityJudgmentDetailResult.tag.html"; <Results> - <button if={questionToVote > 0} - type="button" - class="c-button c-button--info" - tabindex="1" - onclick={previousQuestion}> - <i class="fa fa-chevron-left " aria-hidden="true"></i> - {_t.previousQuestion} - </button> - - <button if={questionToVote < poll.questions.length - 1} - type="button" - class="c-button c-button--info" - tabindex="1" - onclick={nextQuestion}> - {_t.nextQuestion} - <i class="fa fa-chevron-right " aria-hidden="true"></i> - </button> + <div class="align-center"> + <button type="button" + class="c-button c-button--info" + tabindex="1" + onclick={previousQuestion} + disabled={questionToVote === 0}> + <i class="fa fa-chevron-left " aria-hidden="true"></i> + {_t.previousQuestion} + </button> + + <button type="button" + class="c-button c-button--info" + tabindex="1" + onclick={nextQuestion} + disabled={questionToVote === poll.questions.length - 1}> + {_t.nextQuestion} + <i class="fa fa-chevron-right " aria-hidden="true"></i> + </button> + </div> <Result question={question}/> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm