diff --git a/include/limesurvey/templates/quexs/print_group.pstpl b/include/limesurvey/templates/quexs/print_group.pstpl new file mode 100644 index 00000000..49207f86 --- /dev/null +++ b/include/limesurvey/templates/quexs/print_group.pstpl @@ -0,0 +1,12 @@ + +
+

{GROUPNAME}

+ +
+{GROUPDESCRIPTION} +
+ +{QUESTIONS} + +
+ diff --git a/include/limesurvey/templates/quexs/print_img_checkbox.png b/include/limesurvey/templates/quexs/print_img_checkbox.png new file mode 100644 index 00000000..4f23dfb6 Binary files /dev/null and b/include/limesurvey/templates/quexs/print_img_checkbox.png differ diff --git a/include/limesurvey/templates/quexs/print_img_radio.png b/include/limesurvey/templates/quexs/print_img_radio.png new file mode 100644 index 00000000..d52293b2 Binary files /dev/null and b/include/limesurvey/templates/quexs/print_img_radio.png differ diff --git a/include/limesurvey/templates/quexs/print_question.pstpl b/include/limesurvey/templates/quexs/print_question.pstpl new file mode 100644 index 00000000..0e54a158 --- /dev/null +++ b/include/limesurvey/templates/quexs/print_question.pstpl @@ -0,0 +1,17 @@ + +
+
+

{QUESTION_NUMBER} [{QUESTION_CODE}]{QUESTION_TEXT} {QUESTION_MANDATORY}

+

{QUESTION_SCENARIO}

+

{QUESTION_TYPE_HELP}

+

{QUESTION_MAN_MESSAGE}

+

{QUESTION_VALID_MESSAGE}

+
+
+{ANSWER} +
+
+{QUESTIONHELP} +
+
+ diff --git a/include/limesurvey/templates/quexs/print_survey.pstpl b/include/limesurvey/templates/quexs/print_survey.pstpl new file mode 100644 index 00000000..d043252a --- /dev/null +++ b/include/limesurvey/templates/quexs/print_survey.pstpl @@ -0,0 +1,29 @@ + + + + {SITENAME} - {SURVEYNAME} +{HEADELEMENTS} + + + + +
+

{SURVEYNAME}

+ +
{SURVEYDESCRIPTION}
+ +
{WELCOME}
+ +

{THEREAREXQUESTIONS}

+{GROUPS} +{PRIVACY} +

+ {SUBMIT_BY}
+ {FAX_TO} + {SUBMIT_TEXT}
+ {THANKS}
+

+
+ + + diff --git a/include/limesurvey/templates/quexs/print_template.css b/include/limesurvey/templates/quexs/print_template.css new file mode 100644 index 00000000..936a1685 --- /dev/null +++ b/include/limesurvey/templates/quexs/print_template.css @@ -0,0 +1,278 @@ +body +{ + font-family: arial, hevetica, sans-serif; + font-size: 12px; +} + +h1,h2,h3,h4 +{ + font-family: verdana, arial, helvetica, sans-serif; +} + +h2 +{ + margin-top: 2em; +} + +h3 +{ + margin-top: 0%; +} + +* +{ + page-break-after: auto; +} +p.q-type-help +{ + margin-bottom: 0.5em; +} + +div.q-help +{ + margin-top: 1.5em; + margin-bottom: 0%; +} + +div.q-answer +{ + font-size: 110%; +} +div.q-answer ul +{ + margin-left: 0%; + padding-left: 0.2em; +} +div.q-answer ul li +{ + list-style-type:none; + line-height: 1.9em; + margin-left: 0%; + padding-left: 0%; +} + +div.survey-group +{ + page-break-after: always; +} + div.boilerplate +,div.choice-5-pt-radio +,div.date +,div.list-radio-flexible +,div.list-radio +,div.list-dropdown-flexible +,div.list-dropdown +,div.list-with-comment +,div.ranking +,div.multiple-opt +,div.language +,div.multiple-opt-comments +,div.multiple-short-txt +,div.numeric-multi +,div.numeric +,div.text-short +,div.text-long +,div.text-huge +,div.yes-no +,div.gender +,div.array-5-pt +,div.array-10-pt +,div.array-yes-uncertain-no +,div.array-increase-same-decrease +,div.array-flexible-row +,div.array-flexible-column +,div.array-multi-flexi +,div.array-multi-flexi-text +,div.array-flexible-duel-scale +{ + border: 0.1em solid #aaa; + padding: 1em; + margin: 1em 0.5em; + clear: both; + page-break-inside: avoid; + page-break-before: auto; +} + +.other +{ +} + + .question ul +,.question ul li +{ + margin-left: 0%; + padding-left: 0%; + list-style: none; +} +.question ul li { margin-bottom: 0.5em; } + img.input-radio +,img.input-checkbox +{ + position: relative; + top: 1px; + margin-right: 0.5em; +} + + div.input-other +,div.input-othercomment +,div.input-rank +,div.input-text +,div.input-textarea +{ + border: 0.1em solid #666666; +} + +li.other +{ + margin-top: 0.3em; +} +div.input-other +,div.input-othercomment +{ + width: 20em; + height: 2em; + display:inline-block; + +} + +.multiple-opt div.input-other +{ + padding-left: 5.5em; +} + +.multiple-opt-comments div.other-replacettext +{ + display:table-cell; +} + +.multiple-opt-comments div.input-other { + width: 10em; + display:inline-block; + margin-left:5px; +} + +.multiple-opt-comments div.input-othercomment { + width: 24em; + display:table-cell; +} + +div.other-replacetext +{ + white-space:nowrap; +} +.ranking .q-answer li +{ + padding-left: 4em; + line-height: 2em; +} +.ranking li div.input-rank +{ + margin: 0% 0% -1.8em -4em; + width: 3em; + height: 2em; +} + + .multiple-opt-comments .q-answer li +,.multiple-short-txt .q-answer li +,.numeric-multi .q-answer li +{ + line-height: 2em; +} + +.multiple-opt-comments div.input-text, +.multiple-short-txt div.input-text, +.numeric-multi div.input-text { + display: table-cell; + +} + + +.multiple-opt-comments .q-answer ul li span, +.multiple-short-txt .q-answer ul li span, +.numeric-multi .q-answer ul li span +{ + display:table-cell; + padding-right:5px; + +} + + +.multiple-opt-comments .q-answer ul li , +.multiple-short-txt .q-answer ul li , +.numeric-multi .q-answer ul li { + display:table-row; +} + +.multiple-opt-comments .q-answer ul , +.multiple-short-txt .q-answer ul , +.numeric-multi .q-answer ul { + display:table; + border-spacing: 3px; +} + + #limesurvey .q-answer table thead th +,#limesurvey .q-answer table .repeat th +{ + text-align: center; + vertical-align: bottom; + font-weight: normal; + padding: 0% 1em; +} +#limesurvey .q-answer table tbody td +{ + text-align: center; +} +#limesurvey .q-answer table tbody td img +{ + margin: 0%; +} + #limesurvey .q-answer table tbody th.answertext +,#limesurvey .q-answer table tbody th.arraycaptionleft +{ + text-align: left; + font-weight: normal; +} + +/* +div.array-5-pt .q-answer table thead th +,div.array-10-pt table thead th +,div.array-yes-uncertain-no .q-answer table thead th +,div.array-increase-same-decrease .q-answer table thead th +,div.array-flexible-row .q-answer table thead th +,div.array-flexible-column .q-answer table thead th +,div.array-multi-flexi .q-answer table thead th +,div.array-multi-flexi-text .q-answer table thead th +,div.array-flexible-duel-scale .q-answer table thead th +*/ +div.array-multi-flexi .q-answer table tbody td div.input-text +{ + margin-left: auto; + margin-right: auto; +} + + +.array-flexible-column tbody th.arraycaptionleft +{ + padding-right: 1em; +} +#limesurvey .q-answer table tbody th.answertextright +{ + text-align: left; + font-weight: normal; +} +/* +.array-increase-same-decrease {} +.array-flexible-row {} +.array-flexible-column {} +.slider {} +.array-multi-flexi {} +.array-flexible-duel-scale {} +*/ +.array-flexible-column col.odd +,.array-flexible-column th.odd +{ + background-color: #0c1c2b; + padding: 0% 0.3em; +} + + diff --git a/include/limesurvey/templates/quexs/printanswers.pstpl b/include/limesurvey/templates/quexs/printanswers.pstpl new file mode 100644 index 00000000..ee35c088 --- /dev/null +++ b/include/limesurvey/templates/quexs/printanswers.pstpl @@ -0,0 +1 @@ +{ANSWERTABLE} \ No newline at end of file