/
layout_first_page.twig
77 lines (61 loc) · 3.06 KB
/
layout_first_page.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{#
LimeSurvey
Copyright (C) 2007-2017 The LimeSurvey Project Team / Louis Gac
All rights reserved.
License: GNU/GPL License v2 or later, see LICENSE.php
LimeSurvey is free software. This version may have been modified pursuant
to the GNU General Public License, and as distributed it includes or
is derivative of works licensed under the GNU General Public License or
other free or open source software licenses.
See COPYRIGHT.php for copyright notices and details.
#}
<!DOCTYPE html>
<html lang="{{ aSurveyInfo.languagecode }}" dir="{{ aSurveyInfo.dir }}" class="no-js {{ aSurveyInfo.languagecode }} dir-{{ aSurveyInfo.dir }} ">
{# Headers, metadatas, etc #}
{{ include('./subviews/head.twig') }}
<body class="default lang-{{surveylanguage}} {{surveyformat}}">
{# Bootstrap Navigation Bar: the top menu #}
{{ include('./subviews/nav_bar.twig') }}
{# Top Container: in this template, it contains only #}
{{ include('./subviews/progess_bar.twig') }}
<!-- Outer Frame Container -->
<div class="outerframe container" id="outerframeContainer">
<!-- Main Row -->
<div id="main-row">
<!-- Main Col -->
<div class="col-centered" id="main-col">
{# include the various Warnings (preview mode, unanswered mandatory questions, etc) #}
{{ include('./subviews/warnings.twig') }}
{# include the form opening tag #}
{{ include('./subviews/start_form.twig') }} <!-- main form -->
{# This will display the script and the hidden inputs needed for Expression Manager #}
{{ aSurveyInfo.EM.ScriptsAndHiddenInputs }}
{# include the alert for no javascrit #}
{{ include('./subviews/no_js_alert.twig') }}
{# include the language changer selector #}
{{ include('./subviews/language_changer.twig') }}
{# If survey mode is "All in One", it will add the welcome/privacy messages if needed #}
{{ include('welcome.twig') }}
{% if(aSurveyInfo.anonymized) == "Y" %}
{{ include('privacy.twig') }}
{% endif %}
{# Presents the navigator #}
{{ include('./navigator.twig') }}
</form> <!-- main form -->
</div> <!-- main col -->
</div> <!-- main row -->
</div> <!-- outer frame container -->
{# Bootstrap alert modal #}
{{ 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 -->