-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added skips * renamed files * added print styling * removed runner code
- Loading branch information
1 parent
c185db2
commit 111fdc7
Showing
15 changed files
with
122 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{%for expression in expressionGroup.expressions %} | ||
<div class="grid__col col-12@m"> | ||
{% if loop.first %} | ||
<span class="u-fs-r--b">If </span> | ||
{% else %} | ||
{% if (expressionGroup.operator === "And") %} | ||
<span class="u-fs-r--b">and if </span> | ||
{% else %} | ||
<span class="u-fs-r--b">or if </span> | ||
{% endif %} | ||
{% endif %} | ||
{% if expression.left.answerId %} | ||
<span class="u-fs-r"><a href="#{{ expression.left.answerId }}">Answer</a></span> | ||
{% endif %} | ||
<span class="u-fs-r--b"> {{ expression.condition }}</span> | ||
{% if expression.right.customValue %} | ||
<span class="u-fs-r">{{ expression.right.customValue.number }}</span> | ||
{% endif %} | ||
</div> | ||
{% if expression.right.optionIds %} | ||
{%for option in expression.right.optionIds %} | ||
<div class="grid__col col-12@m"> | ||
<ul> | ||
{% if optionLabels[option] %} | ||
<li class="list__item"> | ||
<span class="u-fs-r">{{ optionLabels[option] }}</span> | ||
</li> | ||
{% else %} | ||
<li class="list__item"> | ||
<span class="u-fs-r">Not found</span> | ||
</li> | ||
{% endif %} | ||
</ul> | ||
</div> | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
{%for section in sections %} | ||
<div id={{ section.id }} class="panel panel--success"> | ||
<div class="panel__header panel"> | ||
<em class="u-fs-r--b">Section - {{ section.title | parseQuestionText | safe }}</em> | ||
</div> | ||
<div class="panel__body"> | ||
<div class="summary"> | ||
<div class="u-fs-r-b"> | ||
<em>Introduction Title: </em> | ||
{{ section.introductionTitle | parseQuestionText | safe }} | ||
</div> | ||
<div id={{ section.id }} class="panel panel--success"> | ||
<div class="panel__header panel"> | ||
<em class="u-fs-r--b">Section - {{ section.title | parseQuestionText | safe }}</em> | ||
</div> | ||
<div class="panel__body"> | ||
<div class="summary"> | ||
<div class="u-fs-r-b"> | ||
<em>Introduction Title: </em> | ||
{{ section.introductionTitle | parseQuestionText | safe }} | ||
</div> | ||
<div class="summary"> | ||
<div class="u-fs-r-b"> | ||
<em>Introduction content: </em> | ||
{{ section.introductionContent | parseQuestionText | safe }} | ||
</div> | ||
</div> | ||
<div class="summary"> | ||
<div class="u-fs-r-b"> | ||
<em>Introduction content: </em> | ||
{{ section.introductionContent | parseQuestionText | safe }} | ||
</div> | ||
</div> | ||
</div> | ||
<br> | ||
{%for folder in section.folders %} | ||
{%for question in folder.pages %} | ||
{% include "question.html" %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</div> | ||
<br> | ||
{%for folder in section.folders %} | ||
{%for question in folder.pages %} | ||
{% include "question.html" %} | ||
{% endfor %} | ||
{% endfor %} | ||
{% endfor %} |
Oops, something went wrong.