<description><![CDATA[<strong>Respondage Vanilla</strong> — a clean LimeSurvey 6/7 theme (extension of the core Vanilla theme) with a custom, neatly formatted options page (all options rendered from config.xml, grouped in tabs per category), a header with left/center/right logos (the center logo is truly centered; each logo can be hidden on small screens) and thin per-client variants that carry only their own house-style values and logos. Public releases are leak-checked so no client data ships. Free software under the GPL v2 or later (see LICENSE).]]></description>
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
NOTE: The "add" tag also count as a "replace" tag.
Eg: You can't just "add" a file in the extended theme with the same name as a file here. It will always "replace" it. You must use a diffrent file name.
Eg: Vanilla manifest already has "<add>css/theme.css</add>". So if you use "<add>css/theme.css</add>" in an extended theme, it will replace the vanilla css/theme.css
NOTE: If an extended theme, if you don't change a file that is defined here, you don't need to add it again.
Eg: css/ajaxify.css is already added in vanilla. Nor fruity nor bootswatch modify it, so ne need to add / replace it in fruity or bootswatch.
Even if no mention at all about "css/ajaxify.css" is theme extending vanilla, it will still be added because it's added here
NOTE: To easy test changes in config file, you can force the use of the XML file rather than DB. To do so, turn debug mode on, and in config.php config array, on bottom of debug mode, add:
'force_xmlsettings_for_survey_rendering' => true,
Then, you will not need anymore to reset your theme each time you change the config file.
But, once turning the setting off, You will still must reset the theme to the changes are pushed to DB
<brandlogohideonsmalltype="buttons"category="Images"width="3"title="Hide the left logo on small screens (phones)"options="on|off"optionlabels="Yes|No"parent="brandlogo">on</brandlogohideonsmall>
<centerlogotype="buttons"category="Images"width="2"title="Display logo in the center of the header"options="on|off"optionlabels="Yes|No">off</centerlogo>
<centerlogohideonsmalltype="buttons"category="Images"width="3"title="Hide the center logo on small screens (phones)"options="on|off"optionlabels="Yes|No"parent="centerlogo">on</centerlogohideonsmall>
<rightlogohideonsmalltype="buttons"category="Images"width="3"title="Hide the right logo on small screens (phones)"options="on|off"optionlabels="Yes|No"parent="rightlogo">on</rightlogohideonsmall>
<logotopmargintype="duration"category="Images"width="3"title="Distance from the logo to the top of the screen (use 0px to align a logo exactly with the very top)">15px</logotopmargin>
<backgroundimagetype="buttons"category="Images"width="4"title="Background image (behind body of page)"options="on|off"optionlabels="Yes|No">on</backgroundimage>
<backgroundimagefixedtype="buttons"category="Images"width="4"title="Background image fixed or scroll"options="fixed|scroll"optionlabels="Fixed|Scroll">scroll</backgroundimagefixed>
<bodybackgroundcolortype="colorpicker"category="Images"width="8"title="Overall background color (when there is no picture in the background)"options="on|off"optionlabels="Yes|No">#dddddd</bodybackgroundcolor>
<questiontitlebackgroundcolortype="colorpicker"category="Questions"width="6"title="Question title background color"options="on|off"optionlabels="Yes|No">#5e1c64</questiontitlebackgroundcolor>
<questiontitlefontcolortype="colorpicker"category="Questions"width="6"title="Question title font color"options="on|off"optionlabels="Yes|No">#ffffff</questiontitlefontcolor>
<questionbackgroundcolortype="colorpicker"category="Questions"width="6"title="Question background color (not title)"options="on|off"optionlabels="Yes|No">#ffffff</questionbackgroundcolor>
<questionbordertype="buttons"category="Questions"width="6"title="Question border"options="box|top|none"optionlabels="Box around|Top and bottom|None">box</questionborder>
<questionborderstyletype="buttons"category="Questions"width="6"title="Question border line style"options="solid|dotted|dashed"optionlabels="Solid|Dotted|Dashed">solid</questionborderstyle>
<questionhelptextpositiontype="buttons"category="Questions"width="6"title="Question help text position"options="top|bottom"optionlabels="Top|Bottom">top</questionhelptextposition>
<checkboxcolortype="colorpicker"category="Questions"width="6"title="Checkbox/radiobutton color (when checked)"options="on|off"optionlabels="Yes|No">#ff005f</checkboxcolor>
<!-- Progress -->
<progressbarpositiontype="buttons"category="Progress"width="6"title="Position of the progress bar"options="under|in"optionlabels="Under header|In header">under</progressbarposition>
<navbarfontcolortype="colorpicker"category="Colors"width="12"title="Menu item text color in the top bar (should contrast with the header background color)"options="on|off"optionlabels="Yes|No">#444444</navbarfontcolor>
<primarycolortype="colorpicker"category="Colors"width="12"title="Primary color (for buttons)"options="on|off"optionlabels="Yes|No">#5e1c64</primarycolor>
<fontcolortype="colorpicker"category="Colors"width="12"title="Base font color"options="on|off"optionlabels="Yes|No">#444444</fontcolor>
<progressbarbackgroundcolortype="colorpicker"category="Colors"width="12"title="Progress bar background color"options="on|off"optionlabels="Yes|No">#eeeeee</progressbarbackgroundcolor>
<progressbarcolortype="colorpicker"category="Colors"width="12"title="Progress bar color"options="on|off"optionlabels="Yes|No">#5e1c64</progressbarcolor>
<progressbarfontcolortype="colorpicker"category="Colors"width="12"title="Progress bar font color"options="on|off"optionlabels="Yes|No">#ffffff</progressbarfontcolor>
<!-- Open source fonts bundled with this theme itself: font files in files/fonts/, @font-face + generic .font-<value> rules in css/fonts.css. See files/fonts/README.md (English) for how to add your own font here. -->
<fontsizetype="buttons"category="Fonts"width="12"title="Base font size"options="14px|16px|18px|20px"optionlabels="Small (14px)|Normal (16px)|Large (18px)|Extra large (20 px)">16px</fontsize>
<questiontitlefontsizetype="buttons"category="Fonts"width="6"title="Question title font size"options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px"optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</questiontitlefontsize>
<questiontitlefontweighttype="buttons"category="Fonts"width="6"title="Question title font weight"options="400|700"optionlabels="Normal|Bold">700</questiontitlefontweight>
<grouptitlefontsizetype="buttons"category="Fonts"width="6"title="Group title font size"options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px"optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">2.0rem</grouptitlefontsize>
<grouptitlefontweighttype="buttons"category="Fonts"width="6"title="Group title font weight"options="400|700"optionlabels="Normal|Bold">700</grouptitlefontweight>
<groupdescriptionfontsizetype="buttons"category="Fonts"width="6"title="Group description font size"options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px"optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</groupdescriptionfontsize>
<groupdescriptionfontweighttype="buttons"category="Fonts"width="6"title="Group description font weight"options="400|700"optionlabels="Normal|Bold">400</groupdescriptionfontweight>
</options>
<!-- Here datas about how LimeSurvey should load the theme -->
<engine>
<!-- core: use core options view file, custom: use customized options.twig view file -->
<!-- If empty, bootstrap css/js files will not be loaded. In the future, we may have more engines, like foundation -->
<cssframework>
<name>bootstrap</name>
</cssframework>
<!-- Path of the views files (can be different than views -->
<viewdirectory>views</viewdirectory>
<!-- Asset manager will copy the whole theme 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/vendor or application/config/package -->
<!-- If bootstrap is registered as a css framework, it will be loaded first -->
<descriptiontype="data"twig="on"><![CDATA[<p>{{ gT('This is a sample survey description. It could be quite long.') }}</p><p>{{ gT("But this one isn't.") }}<p>]]></description>
<welcometype="data"twig="on"><![CDATA[<p>{{ gT('Welcome to this sample survey')}} <p> <p> {{ gT('You should have a great time doing this') }} <p> ]]></welcome>
<therearexquestionstype="data"twig="on"><![CDATA[gT('There is 2 question in this survey'])]]></therearexquestions>
<datasecurity_noticetype="data"twig="on"><![CDATA[ {{ gT("Your privacy policy text is shown here.") }} ]]></datasecurity_notice>
</survey>
<grouptype="core">
<nametype="data"twig="on"><![CDATA[ {{ gT("Group 1: The first lot of questions") }} ]]></name>
<descriptiontype="data"twig="on"><![CDATA[ {{ gT("This group description is fairly vacuous, but quite important.") }} ]]></description>
</group>
<question_1type="core">
<codetype="data">'Q1 '</code>
<texttype="data"twig="on"><![CDATA[ {{ gT("How many roads must a man walk down?") }} ]]></text>
<valid_messagetype="data"twig="on"><![CDATA[ <div id="vmsg_4496_num_answers" class="em_num_answers emtip error"><span class="fa fa-exclamation-circle" aria-hidden="true"></span> {{ gT("Choose one of the following answers") }} </div> ]]></valid_message>
</question_1>
<question_2type="core">
<codetype="data">'Q2 '</code>
<texttype="data"twig="on"><![CDATA[ {{ gT("Please explain something in detail:") }} ]]></text>
<valid_messagetype="data"twig="on"><![CDATA[<div id="vmsg_4496_num_answers" class="em_num_answers emtip error"><span class="fa fa-exclamation-circle" aria-hidden="true"></span> {{ gT("Hint when response is not valid") }} </div> ]]></valid_message>
</question_2>
<assessmentstype="core">
<nametype="data"twig="on"><![CDATA[ {{ gT("Welcome to the Assessment") }} ]]></name>
<messagetype="data"twig="on"><![CDATA[ {{ gT("You got {TOTAL} points out of 3 possible points.") }} ]]></message>
</assessments>
<!-- This is an example to show you how to add your custom screen in the theme editor with custom values -->
<!-- The name of the array inside aSurveyInfo that feed your twig view is specified as "array-name". If you check quotas.twig, you'll notice the main variable is aSurveyInfo.aQuotas -->
<!-- Notice that the data you pass here are simple. You can't pass complex arrays inside the array, only key => value pairs.-->
<quotastype="custom"arrayName="aQuotas">
<sMessagetype="data"twig="on"><![CDATA[ {{ gT("Sorry your responses have exceeded a quota on this survey.") }} ]]></sMessage>