Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: renamed startapage.twig to layout.twig 😻
- Loading branch information
LouisGac
committed
Jan 17, 2017
1 parent
d34cfb7
commit 32581f0
Showing
2 changed files
with
69 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{# | ||
If you want to see what is availabe in aSurveyInfo, turn debug mode on and uncomment the following line: | ||
{{ dump(aSurveyInfo) }} | ||
#} | ||
|
||
<!DOCTYPE html> | ||
<html lang="{{ aSurveyInfo.languagecode }}" dir="{{ aSurveyInfo.dir }}" class="no-js {{ aSurveyInfo.languagecode }} dir-{{ aSurveyInfo.dir }} "> | ||
|
||
{{ include('./subviews/head.twig') }} | ||
|
||
<body class="default lang-{{surveylanguage}} {{surveyformat}}"> | ||
|
||
{# Bootstrap Navigation Bar #} | ||
{{ include('./subviews/nav_bar.twig') }} | ||
|
||
{# Top Container #} | ||
{{ include('./subviews/top_container.twig') }} | ||
|
||
|
||
<div class="outerframe container" id="outerframeContainer"> | ||
<div id="main-row"> | ||
{{ include('./subviews/flash_message.twig') }} | ||
|
||
<div class="col-centered" id="main-col"> | ||
|
||
{# include the form tag #} | ||
{{ include('./subviews/start_form.twig') }} <!-- main form --> | ||
|
||
{{ include('./subviews/no_js_alert.twig') }} | ||
|
||
{# If survey mode is "All in One", it will add the welcome/privacy messages if needed #} | ||
{{ include('./subviews/allinone_mode_welcome_privacy.twig') }} | ||
|
||
{# PRESENT THE QUESTION GROUPS #} | ||
{# NOTE: this file will also render the questions via question.twig #} | ||
{% for aGroup in aSurveyInfo.aGroups %} | ||
{{ include('./group.twig') }} | ||
{% endfor %} | ||
|
||
{# Presents the navigator #} | ||
{% if aSurveyInfo.aNavigator.show %} | ||
{{ include('./navigator.twig') }} | ||
{% endif %} | ||
|
||
{# Data shown when LEM debug timing mode is ON #} | ||
{{ include('./subviews/LEMDebug.twig') }} | ||
|
||
</form> <!-- main form --> | ||
</div> <!-- main col --> | ||
</div> <!-- main row --> | ||
</div> <!-- outer frame container --> | ||
|
||
{# Bootstrap Navigation Bar #} | ||
{{ include('./subviews/bootstrap_alert_modal.twig') }} | ||
|
||
<!-- some template.js function launched before ready --> | ||
<script type="text/javascript"> | ||
/*<![CDATA[*/ | ||
sliderSuffixClone(); | ||
fixBodyPadding(); | ||
hideQuestionWithRelevanceSubQuestion(); | ||
hideEmptyPart(); | ||
/*]]>*/ | ||
</script> | ||
</body> | ||
</html> | ||
|
||
<!-- end of startpage.twig --> |