Actions

Translations

Theme editor/281/sl: Difference between revisions

From LimeSurvey Manual

(Created page with "{| class="wikitable alternance" |+ Global classes |- ! scope="col" | Class name ! scope="col" | Part ! scope="col" | Question type ! scope="col" | Examples ! scope="col" | Not...")
 
No edit summary
Line 1: Line 1:
{| class="wikitable alternance"
{| class="wikitable alternance"
|+ Global classes
|+ Globalni razredi
|-
|-
! scope="col" | Class name
! scope="col" | Ime razreda
! scope="col" | Part
! scope="col" | Območje
! scope="col" | Question type
! scope="col" | Vrsta vprašanja
! scope="col" | Examples
! scope="col" | Primeri
! scope="col" | Note
! scope="col" | Opomba
|-
|-
! scope="row" | .question
! scope="row" | .question
| All question block
| Celoten blok vprašanja
| All question type
| Vse vrstev vprašanj
|<p class="question">, <ul class="question">, <table class="question">
|<p class="question">, <ul class="question">, <table class="question">
|  
|  
|-
|-
! scope="row" | .subquestions-list
! scope="row" | .subquestions-list
| List of subquestion
| Seznam podvprašanj
| Multi choice question, array question type
| Več izbir, lestvice
| <ul class="subquestions-list">, <table class="subquestions-list">
| <ul class="subquestions-list">, <table class="subquestions-list">
| .questions-list is used too
| uporablja se tudi .questions-list  
|-
|-
! scope="row" | .answers-list
! scope="row" | .answers-list
| List of answers
| Seznam vprašanj
| Single choice question, array question type, Multi input text question
| Vprašanja z eno izbiro, lestvice, vprašanja za več vnosov besedil
| <ul class="answers-list">, <table class="answers-list">
| <ul class="answers-list">, <table class="answers-list">
|  
|  
|-
|-
! scope="row" | .answer-item
! scope="row" | .answer-item
| The answer part: one answer
| Nanaša se na odgovore: en odgovor
| Single choice question, array question type, Multi input text question
| Vprašanja z eno izbiro, lestvice, vprašanja za več vnosov besedil
| <li class="answer-item">, <td class="answer-item">
| <li class="answer-item">, <td class="answer-item">
|
|
|-
|-
! scope="row" | .noanswer-item
! scope="row" | .noanswer-item
| The answer part for no answer
| Nanaša se na odgovore: brez odgovora
| Single choice question, array question type
| Vprašanja z eno izbiro, lestvice
| <li class="noanswer-item">, <td class="noanswer-item">
| <li class="noanswer-item">, <td class="noanswer-item">
| No answer is an answer too, then have double class noanswer-item and answer-item
| Tudi če ni odgovora, je to prav tako odgovor. V tem primeru imamo dvojni razred noanswer-item in answer-item
|-
|-
! scope="row" | .question-item
! scope="row" | .question-item
| The question part: one question
| Nanaša se na vprašanje: eno vprašanje
| Multi text question, array question type
| Vprašanje z več besedila, lestvice
| <li class="question-item">, <tr class="question-item">
| <li class="question-item">, <tr class="question-item">
| Some answer are question too, then we have a lot of class="question-item answer-item"
| Nekateri odgovori so prav tako vprašanja. V tem primeru imamo veliko razredov="question-item answer-item"
|-
|-
! scope="row" | .checkbox-list
! scope="row" | .checkbox-list
| A list of checkbox
| Seznam potrditvenih polj
| Multi choice question, array number (checkbox) question type
| Več izbir, tabela številk (potrditvena polja)
| <ul class="checkbox-list">, <tr class="checkbox-list">
| <ul class="checkbox-list">, <tr class="checkbox-list">
| Some question type have multi list class: like checkbox with comment : class="checkbox-list text-list"
| Nekatere vrste vprašanj imajo razred večih seznamov: kot seznam s komentarjem: razred="checkbox-list text-list"
|-
|-
! scope="row" | .checkbox-item
! scope="row" | .checkbox-item

Revision as of 19:34, 31 August 2013

Message definition (Theme editor)
{| class="wikitable alternance"
|+ Global classes
|-
! scope="col" | Class name
! scope="col" | Part
! scope="col" | Question type
! scope="col" | Examples
! scope="col" | Note
|-
! scope="row" | .question {{ObsoleteIn|3.0}}
| All question block
| All question type
|<p class="question">, <ul class="question">, <table class="question">

|-
! scope="row" | .ls-answers {{NewIn|3.0}}
| All question block
| All question type
|<div class="ls-answers ">, <ul class="ls-answers ">, <table class="ls-answers">

|-
! scope="row" | .subquestions-list
| List of subquestion
| Multi choice question, array question type
| <ul class="subquestions-list">, <table class="subquestions-list">
| .questions-list is used too
|-
! scope="row" | .answers-list
| List of answers
| Single choice question, array question type, Multi input text question
| <ul class="answers-list">, <table class="answers-list">

|-
! scope="row" | .answer-item
| The answer part: one answer
| Single choice question, array question type, Multi input text question
| <li class="answer-item">, <td class="answer-item">
|
|-
! scope="row" | .noanswer-item
| The answer part for no answer
| Single choice question, array question type
| <li class="noanswer-item">, <td class="noanswer-item">
| No answer is an answer too, then have double class noanswer-item and answer-item
|-
! scope="row" | .question-item
| The question part: one question
| Multi text question, array question type
| <li class="question-item">, <tr class="question-item">
| Some answers are questions too. Then we have a lot of class="question-item answer-item"
|-
! scope="row" | .button-list
| A list of button
| Yes no and Gender question
| <ul class="button-list">

|-
! scope="row" | .button-item
| The answer part with a button
| Yes no and Gender question
| <li class="button-item">
|
|-
! scope="row" | .checkbox-list
| A list of checkbox
| Multi choice question, array number (checkbox) question type
| <ul class="checkbox-list">, <tr class="checkbox-list">
| Some question types use multi-list class, like checkbox with comment: class="checkbox-list text-list"
|-
! scope="row" | .checkbox-array  {{NewIn|3.0}}
| A array of checkbox
| Array (numbers) with checkbox option
| <table class="checkbox-list">

|-
! scope="row" | .checkbox-item
| The answer part with a checkbox
| Multi choice question, array number (checkbox) question type
| <li class="checkbox-item">, <td class="checkbox-item">
|
|-
! scope="row" | .radio-list
| A list of radio item
| Single choice question, array question type (each row)
| <ul class="radio-list">, <tr class="radio-list">
|
|-
! scope="row" | .radio-array {{NewIn|3.0}}
| A array of radio item
| Array question type
| <table class="radio-array">
|
|-
! scope="row" | .radio-item
| The answer part with a radio
| Single choice question, array question type
| &lt;li class="radio-item">, <td class="radio-item">
|
|-
! scope="row" | .text-list
| A list of text input
| Multi text question type, array of text
| &lt;ul class="text-list">, &lt;tr class="text-list">
|
|-
! scope="row" | .text-item
| The answer part of a text input
| Multi text question type, array of text
| &lt;li class="text-item">, <td class="text-item">
|
|-
! scope="row" | .numeric-list
| A list of text input with numeric only answer
| Multi numeric question type, array of number
| &lt;ul class="text-list numeric-list">, &lt;tr class="text-list numeric-list">
|
|-
! scope="row" | .number-list
| A list of text input with numeric only answer (each row)
| Multi numeric question type, array of number
| &lt;ul class="text-list numeric-list">, &lt;tr class="text-list numeric-list">
|
|-
! scope="row" | .number-array  {{NewIn|3.0}}
| The answer part of a numeric input
| Array of number
| &lt;table class="number-array">
|
|-
! scope="row" | .select-list  {{ObsoleteIn|2.50}}
| A list of select
| Array numbers, Dual scale array (select)
| &lt;table class="select-list">
|
|-
! scope="row" | .dropdown-list  {{NewIn|2.50}}
| A list of select
| Array numbers, Dual scale array (select) (each row)
| &lt;table class="dropdown-list">
|
|-
! scope="row" | .dropdown-array  {{NewIn|3.0}}
| A array of dropdown
| Array numbers, Dual scale array (select)
| &lt;table class="dropdown-array">
|
|-
! scope="row" | .select-item  {{ObsoleteIn|2.50}}
| The answer part of a select
| Array numbers, Dual scale array (select), single choice with select
| &lt;p class="select-item">, &lt;td class="select-item">
|
|-
! scope="row" | .dropdown-item  {{NewIn|2.50}}
| The answer part of a select
| Array numbers, Dual scale array (select), single choice with select
| &lt;p class="dropdown-item">, &lt;td class="dropdown-item">
|
|-
! scope="row" | .hide  {{ObsoleteIn|3.0}}
| Used for accessibility: hidden with css but read by screenreader, since 2.50 : you can use sr-only from bootstrap
| Short text question
| &lt;label class="hide">
| Can be used for other purposes
|-
! scope="row" | .ls-js-hidden {{NewIn|3.0}}
| Used for part to be hidden if javascript is activated
| Button for example
| &lt;div class="ls-js-hidden">
| LimeSurvey core used it, but you can use it too in your template
|-
! scope="row" | .ls-js-hidden-sr {{NewIn|3.0}}
| Used for accessibility: hide it if js is activated, but always show if user use a screenreader
| Button for example
| &lt;a class="ls-js-hidden-sr">
| Button
|-
! scope="row" | .ls-no-js-hidden {{NewIn|3.0}}
| Used for part to be hidden if javascript is not activated
| Link
| &lt;a class="ls-no-js-hidden">
| LimeSurvey core used it for inactive link if javascript is not activated
|-
! scope="row" | .ls-label-xs-visibility {{NewIn|3.0}}
|  Label to be hidden in big screen, but show with little screen (with no more table) and to screenreader
| label
| &lt;label class="ls-no-js-hidden">
| Used for label inside table cell of array question type
|-
! scope="row" | .ls-input-group-extra {{NewIn|3.0}}
| Same usage of boostrap input-group-addon, but without the border and the background.
| right suffix
| &lt;div class="ls-input-group-extra">
| Used for right and left suffix (global)
|-
! scope="row" | .checkbox {{ObsoleteIn|3.0}}
| input[type=checkbox]
| Question with checkbox
| &lt;input type="checkbox" class="checkbox">
| With modern browser: not needed, but some old browser need this
|-
! scope="row" | .radio {{ObsoleteIn|3.0}}
| input[type=radio]
| Question with radio
| &lt;input type="radio" class="radio">
| With modern browser: not needed, but some old browser need this
|-
! scope="row" | .text
| input[type=text]
| Question with input text, or textarea
| &lt;textarea class="text">
|
|-
! scope="row" | .answertext
| Array question type
| Answer part of array question type
| &lt;th class="answertext">
|
|-
! scope="row" | .col-answers
| Array question type
| Column of answers
| &lt;col class="col-answers">
|
|-
! scope="row" | .odd .even {{ObsoleteIn|2.50}}
| Array question type
| Alternation for column
| &lt;col class="odd">
|
|-
! scope="row" | .array1 .array2  {{ObsoleteIn|3.0}}
| Array question type
| Alternation for line
| &lt;tr class="array1">
|
|-
! scope="row" | .ls-odd .ls-even  {{NewIn|3.0}}
| Array question type
| Alternation for subquestion and Y axis
| &lt;tr class="ls-odd">
|
|}
Globalni razredi
Ime razreda Območje Vrsta vprašanja Primeri Opomba
.question Celoten blok vprašanja Vse vrstev vprašanj <p class="question">, <ul class="question">, <table class="question">
.subquestions-list Seznam podvprašanj Več izbir, lestvice <ul class="subquestions-list">, <table class="subquestions-list"> uporablja se tudi .questions-list
.answers-list Seznam vprašanj Vprašanja z eno izbiro, lestvice, vprašanja za več vnosov besedil <ul class="answers-list">, <table class="answers-list">
.answer-item Nanaša se na odgovore: en odgovor Vprašanja z eno izbiro, lestvice, vprašanja za več vnosov besedil <li class="answer-item">, <td class="answer-item">
.noanswer-item Nanaša se na odgovore: brez odgovora Vprašanja z eno izbiro, lestvice <li class="noanswer-item">, <td class="noanswer-item"> Tudi če ni odgovora, je to prav tako odgovor. V tem primeru imamo dvojni razred noanswer-item in answer-item
.question-item Nanaša se na vprašanje: eno vprašanje Vprašanje z več besedila, lestvice <li class="question-item">, <tr class="question-item"> Nekateri odgovori so prav tako vprašanja. V tem primeru imamo veliko razredov="question-item answer-item"
.checkbox-list Seznam potrditvenih polj Več izbir, tabela številk (potrditvena polja) <ul class="checkbox-list">, <tr class="checkbox-list"> Nekatere vrste vprašanj imajo razred večih seznamov: kot seznam s komentarjem: razred="checkbox-list text-list"
.checkbox-item The answer part with a checkbox Multi choice question, array number (checkbox) question type <li class="checkbox-item">, <td class="checkbox-item">
.radio-list A list of radio item Single choice question, array question type <ul class="radio-list">, <tr class="radio-list">
.radio-item The answer part with a radio Single choice question, array question type <li class="radio-item">,
.text-list A list of text input Multi text question type, array of text <ul class="text-list">, <tr class="text-list">
.text-item The answer part of a text input Multi text question type, array of text <li class="text-item">,
.numeric-list A list of text input with numeric only answer Multi numeric question type, array of number <ul class="text-list numeric-list">, <tr class="text-list numeric-list">
.numeric-item The answer part of a numeric input Multi numeric question type, array of number <li class="numeric-item">, <td class="numeric-item">
.select-list A list of select Array numbers, Dual scale array (select) <table class="select-list">
.select-item The answer part of a select Array numbers, Dual scale array (select), single choice with select <p class="select-item">, <td class="select-item">
.hide Used for accessibility: hidden with css but read by screenreader Short text question <label class="hide"> Can be used for other purpose
.dontread Used for accessibility: not be read by screenreader Array question type <th class="dontread">
.checkbox input[type=checkbox] Question with checkbox <input type="checkbox" class="checkbox"> With modern browser: not needed but some old browser need this
.radio input[type=radio] Question with radio <input type="radio" class="radio"> With modern browser: not needed but some old browser need this
.text input[type=text] Question with input text, or textarea <textarea class="text">
.answertext Array question type Answer part of array question type <th class="answertext">
.col-answers Array question type Column of answers <col class="col-answers">
.odd .even Array question type Alternation for column <col class="odd">
.odd .even Array question type Alternation for column <col class="odd">
.array1 .array2 Array question type Alternation for line <tr class="array1">