-
Notifications
You must be signed in to change notification settings - Fork 988
/
config.xml
233 lines (208 loc) · 12.8 KB
/
config.xml
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<?xml version="1.0" encoding="UTF-8"?>
<!--
(¯`·._.·(¯`·._.· Bootswatch Theme Manifest ·._.·´¯)·._.·´¯)
Base configuration for Vanilla Theme.
The content of this file is imported into DB when you install the template.
-->
<config>
<!-- Those metadata are displayed in the theme configuration page. -->
<metadata>
<name>bootswatch</name>
<title>Bootswatch Theme</title>
<creationDate>08/01/2016</creationDate>
<author>Louis-Sébastien Gac Artigas</author>
<authorEmail>louis.gac@limesurvey.org</authorEmail>
<authorUrl>http://www.limesurvey.org</authorUrl>
<copyright>Copyright (C) 2005 - 2016 LimeSurvey Gmbh, Inc. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later</license>
<version>2.0</version>
<apiVersion>3</apiVersion>
<description><![CDATA[<strong>LimeSurvey Bootwatch Theme</strong><br>Based on BootsWatch Themes: <a href='https://bootswatch.com/3/'>Visit BootsWatch page</a> ]]></description>
<last_update>2017-11-29 19:28:00</last_update>
<extends>vanilla</extends>
</metadata>
<!--
Here the list of the css/js files to add to the template package.
About packages in Yii: http://www.yiiframework.com/doc/api/1.1/CClientScript#packages-detail
-->
<files>
<css>
<add>css/ajaxify.css</add>
<add>css/theme.css</add>
<add>css/custom.css</add>
</css>
<js>
<add>scripts/theme.js</add>
<add>scripts/ajaxify.js</add>
<add>scripts/custom.js</add>
</js>
<print_css>
<add>css/print_theme.css</add>
</print_css>
</files>
<!-- You can add here any option you want. It will be available in twig file via aSurveyInfo.options.youroptionname -->
<!-- eg: Ajaxmode: will be available with aSurveyInfo.options.ajaxmode -->
<options>
<ajaxmode>on</ajaxmode>
<brandlogo>on</brandlogo>
<brandlogofile>./files/logo.png</brandlogofile>
<container>on</container>
</options>
<!-- Here datas about how LimeSurvey should load the theme -->
<engine>
<!-- If empty, bootstrap css/js files will not be loaded. In the future, we may have more engines, like foundation -->
<cssframework>
<name>bootstrap</name>
<css replace="css/bootstrap.css">css/variations/flatly.min.css</css>
</cssframework>
<!-- Path of the views files (can be different than pstpl -->
<viewdirectory>views</viewdirectory>
<!-- Asset manager will copy the whole template directory to tmp. So it's possible to refer any file in the files directory in CSS via relative path (e.g: '../files/foo.jpg') -->
<filesdirectory>files</filesdirectory>
<!-- Here, you can publish packages set as third party extensions in application/config/third_party or application/config/package -->
<!-- If bootstrap is registered as a css framework, it will be loaded first -->
<!-- Example: <packages>moment</packages> -->
<packages>
<add>pjax</add>
<add>moment</add>
</packages>
<!--
List of pages/files for tempalte editor
When a user select a page, the related files will be offer in the editable files
-->
<template_editor>
<screens>
<question>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="content">./subviews/content/main.twig</file>
<file type="view" role="subview">./subviews/survey/group.twig</file>
<file type="view" role="subview">./subviews/survey/group_subviews/group_container.twig</file>
<file type="view" role="subview">./subviews/survey/group_subviews/group_desc.twig</file>
<file type="view" role="subview">./subviews/survey/group_subviews/group_name.twig</file>
<file type="view" role="subview">./subviews/survey/question.twig</file>
<file type="view" role="subview">./subviews/survey/question_container.twig</file>
<file type="view" role="subview">./subviews/survey/question_subviews/question_text_container.twig</file>
<file type="view" role="subview">./subviews/survey/question_subviews/question_text_content.twig</file>
<file type="view" role="subview">./subviews/survey/question_subviews/answers.twig</file>
<file type="view" role="subview">./subviews/survey/question_subviews/survey_question_help.twig</file>
<file type="view" role="subview">./subviews/survey/question_subviews/valid_message_and_help.twig</file>
<file type="css">./css/theme.css</file>
<file type="js">./scripts/theme.js</file>
<file type="css">./css/custom.css</file>
<file type="js">./scripts/custom.js</file>
</question>
<surveylist>
<file type="view" role="layout">layout_survey_list.twig</file>
<file type="view" role="subview">./subviews/content/mainrow.twig</file>
<file type="view" role="subview">./subviews/content/outerframe.twig</file>
<file type="css">./css/theme.css</file>
<file type="js">./scripts/theme.js</file>
<file type="css">./css/custom.css</file>
<file type="js">./scripts/custom.js</file>
</surveylist>
<welcome>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="subview">./subviews/content/mainrow.twig</file>
<file type="view" role="subview">./subviews/content/outerframe.twig</file>
<file type="view" role="content">./subviews/content/firstpage.twig</file>
<file type="view" role="subview">./subviews/header/head.twig</file>
<file type="view" role="subview">./subviews/header/custom_header.twig</file>
<file type="view" role="subview">./subviews/header/nav_bar.twig</file>
<file type="view" role="subview">./subviews/header/progress_bar.twig</file>
<file type="view" role="subview">./subviews/messages/welcome.twig</file>
<file type="view" role="subview">./subviews/messages/warnings.twig</file>
<file type="view" role="subview">./subviews/messages/no_js_alert.twig</file>
<file type="view" role="subview">./subviews/privacy/privacy.twig</file>
<file type="view" role="subview">./subviews/navigation/language_changer_first_page.twig</file>
<file type="css">./css/theme.css</file>
<file type="js">./scripts/theme.js</file>
<file type="css">./css/custom.css</file>
<file type="js">./scripts/custom.js</file>
</welcome>
<completed>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="subview">./subviews/content/mainrow.twig</file>
<file type="view" role="subview">./subviews/content/outerframe.twig</file>
<file type="view" role="content">./subviews/content/submit.twig</file>
<file type="css">./css/theme.css</file>
<file type="js">./scripts/theme.js</file>
<file type="css">./css/custom.css</file>
<file type="js">./scripts/custom.js</file>
</completed>
<assessments>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="subview">./subviews/content/mainrow.twig</file>
<file type="view" role="subview">./subviews/content/outerframe.twig</file>
<file type="view" role="content">./subviews/content/submit.twig</file>
<file type="view" role="subview">./subviews/messages/assessments.twig</file>
<file type="css">./css/theme.css</file>
<file type="js">./scripts/theme.js</file>
<file type="css">./css/custom.css</file>
<file type="js">./scripts/custom.js</file>
</assessments>
<error>
<file type="view" role="layout">layout_errors.twig</file>
</error>
<clearall>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="subview">./subviews/content/mainrow.twig</file>
<file type="view" role="subview">./subviews/content/outerframe.twig</file>
<file type="view" role="content">./subviews/content/clearall.twig</file>
<file type="css">./css/theme.css</file>
<file type="js">./scripts/theme.js</file>
<file type="css">./css/custom.css</file>
<file type="js">./scripts/custom.js</file>
</clearall>
<load>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="subview">./subviews/content/mainrow.twig</file>
<file type="view" role="subview">./subviews/content/outerframe.twig</file>
<file type="view" role="content">./subviews/content/load.twig</file>
<file type="css">./css/theme.css</file>
<file type="js">./scripts/theme.js</file>
<file type="css">./css/custom.css</file>
<file type="js">./scripts/custom.js</file>
</load>
<save>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="subview">./subviews/content/mainrow.twig</file>
<file type="view" role="subview">./subviews/content/outerframe.twig</file>
<file type="view" role="content">./subviews/content/save.twig</file>
<file type="css">./css/theme.css</file>
<file type="js">./scripts/theme.js</file>
<file type="css">./css/custom.css</file>
<file type="js">./scripts/custom.js</file>
</save>
<register>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="content">./subviews/content/register.twig</file>
<file type="view" role="subview">./subviews/registration/register_error.twig</file>
<file type="view" role="subview">./subviews/registration/register_head.twig</file>
<file type="view" role="subview">./subviews/registration/register_message.twig</file>
<file type="view" role="subview">./subviews/registration/register_success.twig</file>
<file type="view" role="subview">./subviews/registration/required.twig</file>
</register>
<printanswers>
<file type="view" role="layout">layout_printanswers.twig</file>
<file type="view" role="subview">./subviews/content/outerframe.twig</file>
<file type="view" role="content">./subviews/content/printanswers.twig</file>
<file type="view" role="subview">./subviews/printanswers/printanswers_question.twig</file>
<file type="view" role="subview">./subviews/printanswers/printanswers_table.twig</file>
</printanswers>
<pdf>
<file type="view" role="layout">layout_print.twig</file>
</pdf>
<navigation>
<file type="view" role="layout">layout_global.twig</file>
<file type="view" role="content">./subviews/content/main.twig</file>
<file type="view" role="subview">./subviews/navigation/ajax_indicator.twig</file>
<file type="view" role="subview">./subviews/navigation/clearall_links.twig</file>
<file type="view" role="subview">./subviews/navigation/language_changer_top_menu.twig</file>
<file type="view" role="subview">./subviews/navigation/navigator.twig</file>
<file type="view" role="subview">./subviews/navigation/question_index_menu.twig</file>
<file type="view" role="subview">./subviews/navigation/save_links.twig</file>
</navigation>
</screens>
</template_editor>
</engine>
</config>