Actions

Translations

Theme editor/281/sl: Difference between revisions

From LimeSurvey Manual

No edit summary
No edit summary
Line 141: Line 141:
|-
|-
! scope="row" | .col-answers
! scope="row" | .col-answers
| Array question type
| Lestvica
| Column of answers
| Stolpec odgovorov
| <col class="col-answers">
| <col class="col-answers">
|
|

Revision as of 20:01, 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 vrste vprašanj <p class="question">, <ul class="question">, <table class="question">
.subquestions-list Seznam podvprašanj Več izbir, lestvica <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šanje z eno izbiro, lestvica, vprašanje za več vnosov besedil <li class="answer-item">, <td class="answer-item">
.noanswer-item Nanaša se na odgovore: brez odgovora Vprašanje z eno izbiro, lestvica <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, lestvica <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 Nanaša se na odgovore s potrditvenimi polji Več izbir, tabela številk (potrditvena polja) <li class="checkbox-item">, <td class="checkbox-item">
.radio-list Seznam izbirni gumbi Vprašanje z eno izbiro, lestvica <ul class="radio-list">, <tr class="radio-list">
.radio-item Nanaša se na odgovore s potrditvenimi polji Vprašanje z eno izbiro, lestvica <li class="radio-item">,
.text-list Seznam za vnos besedila Vprašanje z več besedila, besedilna lestvica <ul class="text-list">, <tr class="text-list">
.text-item Nanaša se na odgovore za besedilni vnos Vprašanje z več besedila, besedilna lestvica <li class="text-item">,
.numeric-list Seznam vnosa besedila le s številčnimi odgovori Več številskih odgovorov, lestvica s številkami <ul class="text-list numeric-list">, <tr class="text-list numeric-list">
.numeric-item Nanaša se na odgovore za vnos številk Več številskih odgovorov, lestvica s številkami <li class="numeric-item">, <td class="numeric-item">
.select-list Seznam izbir Lestvica številk, dvojna lestvica izbir <table class="select-list">
.select-item Nanaša se na odgovore z izbirami Lestvica številk, dvojna lestvica izbir, ena možnost z izbiranjem <p class="select-item">, <td class="select-item">
.hide Uporablja se za dostopnost: skrito s css-jem vendar berljivo z bralnikom zaslona Kratko besedilo <label class="hide"> Lahko se uporablja za druge namene
.dontread Uporablja se za dostopnost: ni berljivo z bralniki zaslonov Lestvica <th class="dontread">
.checkbox vnos[vrsta=potrditveno polje] Vprašanje s potrditvenimi polji <input type="checkbox" class="checkbox"> Skupaj s sodobnim brsklanikom: ni potrebno vendar nekateri starejši brskalniki ga potrebujejo
.radio vnos[tip=izbirni gumbi] Vprašanje z izbirnimi gumbi <input type="radio" class="radio"> Skupaj s sodobnim brsklanikom: ni potrebno vendar nekateri starejši brskalniki ga potrebujejo
.text vnos[vrsta=besedilo] Vprašanje za vnos besedila <textarea class="text">
.answertext Lestvica Nanaša se ne odgovor lestvica <th class="answertext">
.col-answers Lestvica Stolpec odgovorov <col class="col-answers">
.odd .even Lestvica Menjava za stolpec <col class="odd">
.odd .even Lestvica Menjava za stolpec <col class="odd">
.array1 .array2 Lestvica Menjava za stolpec <tr class="array1">