config.xml 19.8 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<!--
3
    Base configuration for SkelVanilla Theme.
4 5 6 7 8
    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>
Chenu Denis's avatar
Chenu Denis committed
9
        <name>skelvanilla</name>
10
        <type>theme</type>
Chenu Denis's avatar
Chenu Denis committed
11
        <title>SkelVanilla</title>
Chenu Denis's avatar
Chenu Denis committed
12
        <creationDate>2018-10-29</creationDate>
13 14
        <author>Denis Chenu</author>
        <authorEmail>noreply@sondages.pro</authorEmail>
15
        <authorUrl>https://www.sondages.pro/contact</authorUrl>
16 17
        <supportUrl>https://extensions.sondages.pro/themes-and-templates/skelvanilla-a11y-and-usuability/</supportUrl>
        <copyright>Copyright (C) 2018-2019 Denis Chenu / Sondages Pro</copyright>
18
        <license>GNU General Public License version 3 or later</license>
19
        <version>4.8.0</version>
20
        <apiVersion>3</apiVersion>
21
        <description><![CDATA[<strong>LimeSurvey Bootstrap Vanilla Survey Theme with Accessibility and Options</strong><br>Base on vanilla theme, usage of more aria, fix some role and aria from core.<br>Allow usage of a lot of variations, list of variation can be updated. Some decoration option using boostrap class.]]></description>
22
        <last_update>2019-05-12 13:06:19</last_update>
23
        <extends>vanilla</extends>
24
    </metadata>
25 26 27

    <files>
        <css>
28
            <remove>css/ajaxify.css</remove>
29
            <remove>bootstrap.css</remove>
30
            <remove>yiistrap.css</remove>
Chenu Denis's avatar
Chenu Denis committed
31
            <remove>bootstrap-slider.css</remove>
32
            <remove>awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css</remove>
33 34
            <remove>awesome-bootstrap-checkbox/awesome-bootstrap-checkbox-rtl.css</remove>
            <remove>template-core.css</remove>
Chenu Denis's avatar
Chenu Denis committed
35
            <add>css/skelvanilla.css</add>
36 37
            <add>css/theme.css</add>
            <add>css/custom.css</add>
38 39
        </css>
        <js>
40
            <remove>scripts/ajaxify.js</remove>
41
            <add>scripts/aria-live.js</add>
42
            <add>scripts/theme-vanilla.js</add>
43
            <add>scripts/skelvanilla.js</add>
44 45
            <add>scripts/theme.js</add>
            <add>scripts/custom.js</add>
46 47
        </js>
    </files>
48
    <!-- css/lsboostrap.css + css/theme.css + css/custom.css and scripts/theme.js, scripts/custom.js added in global_layout -->
49
    <!-- You can add here any option you want. It will be available in twig file via aSurveyInfo.options.youroptionname -->
50
    <!-- List of available variation, can use 0 to disable partially, remove or use "disable" : "1" to disable it -->
51 52 53
    <options>
        <hideprivacyinfo>off</hideprivacyinfo>
        <container>on</container>
54 55
        <questionhtag>off</questionhtag>
        <brandlogo>off</brandlogo>
56
        <brandlogofile>./files/logo.png</brandlogofile>
57 58 59
        <surveylistlogo>on</surveylistlogo>
        <surveylistlogofile>./files/survey_list_header.png</surveylistlogofile>
        <poweredlogo>on</poweredlogo>
60
        <poweredlogofile>./files/poweredby.png</poweredlogofile>
61 62
        <poweredlink>https://sondages.pro</poweredlink>
        <poweredtext>Theme by Sondages Pro</poweredtext>
63
        <showpopups>0</showpopups>
64 65 66
        <questioncolor>primary</questioncolor>
        <questionwrap>none</questionwrap>
        <questionsize>h4</questionsize>
67 68
        <helpcolor>text-info</helpcolor>
        <validitycolor>text-info</validitycolor>
69
        <fixedheader>off</fixedheader>
Chenu Denis's avatar
Chenu Denis committed
70
        <variation>default</variation>
71 72
        <bodyloaded>on</bodyloaded>
        <removeback>on</removeback>
73
        <fixnumauto>disable</fixnumauto>
74
        <dynamicvalidity>off</dynamicvalidity>
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
        <availablevariations>{
  "contrast": {
    "name": "Contrast",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "bootstrap": {
    "name": "Bootstrap",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "cerulean": {
    "name": "Cerulean",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "cosmo": {
    "name": "Cosmo",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "cyborg": {
    "name": "Cyborg",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "darkly": {
    "name": "Darkly",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "flatly": {
    "name": "Flatly",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "journal": {
    "name": "Journal",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "lumen": {
    "name": "Lumen",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "paper": {
    "name": "Paper",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "readable": {
    "name": "Readable",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "sandstone": {
    "name": "Sandstone",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "simplex": {
    "name": "Simplex",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "slate": {
    "name": "Slate",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "spacelab": {
    "name": "Spacelab",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "superhero": {
    "name": "Superhero",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "united": {
    "name": "United",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  },
  "yeti": {
    "name": "Yeti",
    "base": "1",
    "button": "1",
    "awesome": "1",
    "button_awesome": "1"
  }
}</availablevariations>
203
    </options>
Chenu Denis's avatar
Chenu Denis committed
204

205 206
    <!-- Here datas about how LimeSurvey should load the theme -->
    <engine>
207 208
        <cssframework>
            <name>bootstrap</name>
209
            <css replace="css/bootstrap.css">css/bootstrap.css</css>
210 211 212 213 214 215 216
        </cssframework>

        <viewdirectory>views</viewdirectory>
        <filesdirectory>files</filesdirectory>

        <packages>
            <add>moment</add>
Chenu Denis's avatar
Chenu Denis committed
217 218
            <remove>pjax</remove>
            <remove>font-noto</remove>
219 220
        </packages>

221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
        <template_editor>
            <screens>
                <question>
                    <file type="view" role="layout">layout_global.twig</file>
                    <file type="view" role="subview">./subviews/footer/footer.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>
238
                    <file type="css">./css/bootstrap.css</file>
239
                    <file type="css">./css/skelvanilla.css</file>
240
                    <file type="css">./css/theme.css</file>
241
                    <file type="css">./css/custom.css</file>
242
                    <file type="js">./scripts/aria-live.js</file>
243
                    <file type="js">./scripts/skelvanilla.js</file>
244 245 246 247 248 249 250 251 252 253
                    <file type="js">./scripts/theme.js</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/footer/footer.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="subview">./subviews/navigation/language_changer_form.twig</file>
254
                    <file type="css">./css/bootstrap.css</file>
255
                    <file type="css">./css/skelvanilla.css</file>
256 257
                    <file type="css">./css/theme.css</file>
                    <file type="css">./css/custom.css</file>
258 259 260
                    <file type="js">./scripts/aria-live.js</file>
                    <file type="js">./scripts/skelvanilla.js</file>
                    <file type="js">./scripts/theme.js</file>
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278
                    <file type="js">./scripts/custom.js</file>
                </surveylist>

                <welcome>
                    <file type="view" role="layout">layout_global.twig</file>
                    <file type="view" role="subview">./subviews/footer/footer.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.twig</file>
279
                    <file type="css">./css/bootstrap.css</file>
280
                    <file type="css">./css/theme.css</file>
281
                    <file type="js">./scripts/aria-live.js</file>
282 283 284 285 286 287 288 289 290 291 292
                    <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/footer/footer.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>
293
                    <file type="css">./css/bootstrap.css</file>
294 295 296 297 298 299 300 301 302 303 304 305 306
                    <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/footer/footer.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>
307
                    <file type="css">./css/bootstrap.css</file>
308 309 310 311 312 313 314 315 316
                    <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>
                    <file type="view" role="subview">./subviews/footer/footer.twig</file>
317 318
                    <file type="view" role="subview">./subviews/messages/warnings.twig</file>
                    <file type="view" role="subview">./subviews/messages/bootstrap_alert_modal.twig</file>
319 320 321 322 323 324 325 326
                </error>

                <clearall>
                    <file type="view" role="layout">layout_global.twig</file>
                    <file type="view" role="subview">./subviews/footer/footer.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>
327
                    <file type="css">./css/bootstrap.css</file>
328 329 330 331 332 333 334 335 336 337 338 339
                    <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/footer/footer.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>
340
                    <file type="css">./css/bootstrap.css</file>
341 342 343 344 345 346 347 348 349 350 351 352
                    <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/footer/footer.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>
353
                    <file type="css">./css/bootstrap.css</file>
354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369
                    <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="subview">./subviews/footer/footer.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/register_form.twig</file>
                    <file type="view" role="subview">./subviews/registration/required.twig</file>
370
                    <file type="css">./css/bootstrap.css</file>
371 372 373 374 375 376 377 378 379 380 381 382
                    <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>
                </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>
383
                    <file type="css">./css/bootstrap.css</file>
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404
                    <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>
                </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="subview">./subviews/footer/footer.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/save_links.twig</file>
                    <file type="view" role="subview">./subviews/navigation/language_changer_top_menu.twig</file>
                    <file type="view" role="subview">./subviews/navigation/language_changer.twig</file>
                    <file type="view" role="subview">./subviews/navigation/question_index_menu.twig</file>
                    <file type="view" role="subview">./subviews/navigation/navigator.twig</file>
405
                    <file type="view" role="subview">./subviews/navigation/navigator_move.twig</file>
406 407 408 409 410 411
                    <file type="view" role="subview">./subviews/navigation/navigator_complement.twig</file>
                    <file type="view" role="subview">./subviews/navigation/clearall_buttons.twig</file>
                    <file type="view" role="subview">./subviews/navigation/save_buttons.twig</file>
                    <file type="view" role="subview">./subviews/navigation/question_index_buttons.twig</file>
                    <file type="view" role="subview">./subviews/navigation/question_index_questions_buttons.twig</file>
                    <file type="view" role="subview">./subviews/navigation/question_index_groups_buttons.twig</file>
412
                    <file type="css">./css/bootstrap.css</file>
413 414 415 416 417 418 419 420 421
                    <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>
                </navigation>
            </screens>
        </template_editor>
    </engine>

422
</config>