Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
README.md | H A D | 26-Oct-2020 | 1.1 KiB | 35 | 25 | |
clearall.twig | H A D | 26-Oct-2020 | 1.1 KiB | 25 | 20 | |
firstpage.twig | H A D | 26-Oct-2020 | 1.7 KiB | 48 | 34 | |
load.twig | H A D | 26-Oct-2020 | 8.2 KiB | 144 | 122 | |
main.twig | H A D | 26-Oct-2020 | 1.8 KiB | 52 | 37 | |
mainrow.twig | H A D | 26-Oct-2020 | 1.4 KiB | 35 | 27 | |
optin.twig | H A D | 26-Oct-2020 | 40 | 2 | 1 | |
optout.twig | H A D | 26-Oct-2020 | 40 | 2 | 1 | |
outerframe.twig | H A D | 26-Oct-2020 | 1.1 KiB | 25 | 19 | |
printanswers.twig | H A D | 26-Oct-2020 | 1.2 KiB | 27 | 22 | |
quotas.twig | H A D | 26-Oct-2020 | 5.5 KiB | 109 | 88 | |
register.twig | H A D | 26-Oct-2020 | 1.8 KiB | 38 | 31 | |
save.twig | H A D | 26-Oct-2020 | 12.8 KiB | 233 | 194 | |
submit.twig | H A D | 26-Oct-2020 | 4.1 KiB | 86 | 74 | |
submit_preview.twig | H A D | 26-Oct-2020 | 2.8 KiB | 59 | 54 | |
userforms.twig | H A D | 26-Oct-2020 | 1.3 KiB | 34 | 25 |
README.md
1![LimeSurvey Logo](https://account.limesurvey.org/images/logos/logo_main.png) 2# LimeSurvey Bootstrap Vanilla Survey Theme 3 4## content directory 5 6 7layout_global.twig renders the specific content via this statement: 8``` 9{% set sViewContent = './subviews/content/' ~ aSurveyInfo.include_content ~ '.twig'%} 10{% include './subviews/content/outerframe.twig' with {'include_content': sViewContent } %} 11``` 12 13see: https://github.com/LimeSurvey/LimeSurvey/blob/7ffc17fbb872791a9ba1a6b6ab68cec0263f3eca/themes/survey/vanilla/views/layout_global.twig#L103-L111 14 15Here are the subviews to render the content. Most of them corresponds to the old pstpl files for limesurvey 2.x 16 17* mainrow.twig 18* submit_preview.twig 19* quotas.twig 20* survey_list.twig 21* clearall.twig 22* register.twig 23* firstpage.twig 24* load.twig 25* outerframe.twig 26* submit.twig 27* save.twig 28* main.twig 29 30 31If you're creating a template from scratch, you're free to place the content views where ever you want. Just update the definition of sViewContent in layout_global. 32**But you must keep the filename as they are.** 33 34Please, contact LimeSurvey team if you think a file name should be changed. 35