All translations
Enter a message name below to show all available translations.
Found 14 translations.
Name | Current message text |
---|---|
h Bulgarian (bg) | ===Променен изглед за заглавието на анкетата в навигационната лента=== #Създайте нова директория <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/</span> . #Копирайте <span style="color: #BA2121;">/themes/survey/vanilla/ views/subviews/header/nav_bar.twig</span> към тази нова директория. #Отворете <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> и намерете „{# опция за лого #}“. Под това променете израза IF за логото/името на анкетата, така че да изглежда така:<syntaxhighlight lang="html"> {# Опция за лого #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% endif %}</syntaxhighlight> #Добавете нещо подобно към <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-марка { line-height: 60px; размер на шрифта: 32px; }</syntaxhighlight> #Превключете опцията за тема "Име на анкетата в навигационната лента" на "Да" #Трябва да видите това:<br /> [[Файл:Tutorial_tp_1_2.png]] ===Модифициран изглед за заглавието на анкетата под лентата на напредъка=== #Създаване на нова директория <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> . #Копирайте <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> в тази нова директория. #Отворете <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container .клонка</span> и добавете<nowiki><h1></nowiki> елемент за името на анкетата. Така че изглежда така: <syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Персонализирано име на анкетата #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name"> {{ aSurveyInfo.name }}</h1> {% endif %} {# Име на група #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Описание на групата #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# ПРЕДСТАВЕТЕ ВЪПРОСИТЕ Това е основната част. Той ще изобрази всеки въпрос за тази група #}<!-- PRESENT THE QUESTIONS --> {% за въпрос в aGroup.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == true %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == true %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Добавете нещо подобно към <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-марка { line-height: 60ph1.custom-survey-name { поле: 0; подравняване на текст: център; }</syntaxhighlight> #Превключете опцията за тема "Име на анкетата под лентата за напредък" на "Да" #Трябва да видите това:<br /> [[Файл:Tutorial_tp_1_3.png]] |
h Danish (da) | ===Ændret visning for undersøgelsestitel i navbaren=== #Opret en ny mappe <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/</span> . #Copy <span style="color: #BA2121;">/themes/survey/vanilla/ views/subviews/header/nav_bar.twig</span> til den nye mappe. #Åbn <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> og find "{# Logo option #}". Under det skal du ændre IF-sætningen for logoet/undersøgelsesnavnet, så det ser sådan ud:<syntaxhighlight lang="html"> {# Logomulighed #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% Afslut Hvis %}</syntaxhighlight> #Tilføj noget som dette til <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-brand { linjehøjde: 60px; skriftstørrelse: 32px; }</syntaxhighlight> #Skift "Survey name in navbar" temaindstillingen til "Yes" #Du bør se dette:<br /> [[File:Tutorial_tp_1_2.png]] ===Ændret visning for undersøgelsestitel under statuslinjen=== #Opret en ny mappe <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> . #Kopier <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> til den nye mappe. #Åbn <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container .kvist</span> og tilføj en<nowiki><h1></nowiki> element for undersøgelsens navn. Så det ser sådan ud: <syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Navn på tilpasset undersøgelse #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name"> {{ aSurveyInfo.name }}</h1> {% endif %} {# Gruppenavn #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Gruppebeskrivelse #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# PRÆSENT SPØRGSMÅLNE Dette er hoveddelen. Det vil gengive hvert spørgsmål for denne gruppe #} <!-- PRESENT THE QUESTIONS --> {% for aSpørgsmål i aGroup.aSpørgsmål %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == sand %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == sand %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Tilføj noget som dette til <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-brand { line-height: 60ph1.custom-survey-name { margin: 0; tekst-align: center; }</syntaxhighlight> #Skift "Survey name below status bar" temaindstillingen til "Yes" #Du bør se dette:<br /> [[File:Tutorial_tp_1_3.png]] |
h German (de) | ===Geänderte Ansicht für den Umfragetitel in der Navigationsleiste === #Erstellen Sie ein neues Verzeichnis <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/</span> . #Kopieren Sie <span style="color: #BA2121;">/themes/survey/vanilla/ views/subviews/header/nav_bar.twig</span> in das neue Verzeichnis. #Öffnen Sie <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> und suchen Sie nach „{# Logo option #}“. Ändern Sie darunter die IF-Anweisung für das Logo/den Umfragenamen, sodass sie wie folgt aussieht:<syntaxhighlight lang="html"> {# Logo-Option #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% endif %}</syntaxhighlight> #Fügen Sie so etwas zu <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> hinzu:<syntaxhighlight lang="css"> .navbar-brand { Zeilenhöhe: 60px; Schriftgröße: 32px; }</syntaxhighlight> #Schalten Sie die Designoption „Umfragename in der Navigationsleiste“ auf „Ja“ #Sie sollten Folgendes sehen:<br /> [[File:Tutorial_tp_1_2.png]] ===Geänderte Ansicht für Umfragetitel unter Fortschrittsbalken=== #Erstellen Sie ein neues Verzeichnis <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> . #Kopieren Sie <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> in das neue Verzeichnis. #Öffnen <span style="color: #BA2121;">Sie /themes/survey/vanilla/views/subviews/survey/group_subviews/group_container .twig</span> und fügen Sie eine hinzu<nowiki><h1></nowiki> Element für den Umfragenamen. Es sieht also so aus: <syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Benutzerdefinierter Umfragename #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name"> {{ aSurveyInfo.name }}</h1> {% endif %} {# Gruppenname #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Gruppenbeschreibung #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# PRÄSENTIEREN SIE DIE FRAGEN Dies ist der Hauptteil. Es wird jede Frage für diese Gruppe gerendert #} <!-- PRESENT THE QUESTIONS --> {% für eine Frage in aGroup.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == true %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == true %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Fügen Sie so etwas zu <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> hinzu:<syntaxhighlight lang="css"> .navbar-brand { Zeilenhöhe: 60ph1.custom-survey-name { Rand: 0; text-align: center; }</syntaxhighlight> #Schalten Sie die Designoption „Umfragename unter Fortschrittsbalken“ auf „Ja“ #Sie sollten Folgendes sehen:<br /> [[File:Tutorial_tp_1_3.png]] |
h English (en) | ===Modifed view for Survey Title in the navbar=== #Create a new directory <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/</span>. #Copy <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> to that new directory. #Open <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> and find "{# Logo option #}". Under that, modify the IF statement for the logo/survey-name, so it looks like this:<syntaxhighlight lang="html"> {# Logo option #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% endif %}</syntaxhighlight> #Add something like this to <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span>:<syntaxhighlight lang="css">.navbar-brand { line-height: 60px; font-size: 32px; }</syntaxhighlight> #Toggle the "Survey name in navbar" theme option to "Yes" #You should see this:<br />[[File:Tutorial_tp_1_2.png]] ===Modifed view for Survey Title under progress bar=== #Create a new directory <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span>. #Copy <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> to that new directory. #Open <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> and add an <nowiki><h1></nowiki> element for the survey name. So it looks like this:<syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Custom survey name #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name">{{ aSurveyInfo.name }}</h1> {% endif %} {# Group Name #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Group Description #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# PRESENT THE QUESTIONS This is the main part. It will render each question for this group #} <!-- PRESENT THE QUESTIONS --> {% for aQuestion in aGroup.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == true %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == true %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Add something like this to <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span>:<syntaxhighlight lang="css">.navbar-brand { line-height: 60ph1.custom-survey-name { margin: 0; text-align: center; }</syntaxhighlight> #Toggle the "Survey name below progress bar" theme option to "Yes" #You should see this:<br />[[File:Tutorial_tp_1_3.png]] |
h Spanish (es) | ===Vista modificada para el título de la encuesta en la barra de navegación=== #Crear un nuevo directorio <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/ .</span> #Copy <span style="color: #BA2121;">/themes/survey/vanilla/ views/subviews/header/nav_bar.twig</span> a ese nuevo directorio. #Abra <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> y busque "{# Opción de logotipo #}". Debajo de eso, modifique la declaración IF para el logotipo/nombre de la encuesta, para que se vea así:<syntaxhighlight lang="html"> {# Opción de logotipo #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ imagen(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% terminara si %}</syntaxhighlight> #Agregue algo como esto a <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-marca { altura de línea: 60px; tamaño de fuente: 32px; }</syntaxhighlight> #Cambie la opción de tema "Nombre de la encuesta en la barra de navegación" a "Sí" #Deberías ver esto:<br /> [[Archivo:Tutorial_tp_1_2.png]] ===Vista modificada para el título de la encuesta debajo de la barra de progreso=== #Crea un nuevo directorio <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> . #Copia <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> a ese nuevo directorio. #Open <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container .twig</span> y agrega un<nowiki><h1></nowiki> elemento para el nombre de la encuesta. Entonces se ve así: <syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Nombre de la encuesta personalizada #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name"> {{ aSurveyInfo.name }}</h1> {% endif %} {# Nombre del grupo #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Descripción del grupo #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# ¡PRESENTA LAS PREGUNTAS Esta es la parte principal. ¡Representará cada pregunta para este grupo #} <!-- PRESENT THE QUESTIONS --> {% para unaPregunta en unGrupo.aPreguntas %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == true %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == true %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Agregue algo como esto a <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-marca { altura de línea: 60ph1.nombre-encuesta-personalizado { margen: 0; alineación de texto: centro; }</syntaxhighlight> #Cambie la opción de tema "Nombre de la encuesta debajo de la barra de progreso" a "Sí" #Deberías ver esto:<br /> [[File:Tutorial_tp_1_3.png]] |
h French (fr) | ===Vue modifiée pour le titre de l'enquête dans la barre de navigation=== #Créez un nouveau répertoire <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/</span> . #Copy <span style="color: #BA2121;">/themes/survey/vanilla/ views/subviews/header/nav_bar.twig</span> dans ce nouveau répertoire. #Ouvrez <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> et recherchez "{# Logo option #}". En dessous, modifiez l'instruction IF pour le logo/nom de l'enquête, pour qu'elle ressemble à ceci :<syntaxhighlight lang="html"> {#Option de logo #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% fin si %}</syntaxhighlight> #Ajoutez quelque chose comme ceci à <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-marque { hauteur de ligne : 60 px ; taille de la police : 32 px ;}</syntaxhighlight> #Basculez l'option de thème « Nom de l'enquête dans la barre de navigation » sur « Oui » #Vous devriez voir ceci :<br /> [[File:Tutorial_tp_1_2.png]] ===Vue modifiée pour le titre de l'enquête sous la barre de progression=== #Créez un nouveau répertoire <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> . #Copiez <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> dans ce nouveau répertoire. #Open <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container .twig</span> et ajoutez un<nowiki><h1></nowiki> élément pour le nom de l’enquête. Cela ressemble donc à ceci : <syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {#Nom de l'enquête personnalisée #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name"> {{ aSurveyInfo.name }}</h1> {% endif %} {# Nom du groupe #}{{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Description du groupe #}{{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# PRÉSENTEZ LES QUESTIONS C'est la partie principale. Il affichera chaque question pour ce groupe #} <!-- PRESENT THE QUESTIONS --> {% pour une question dans un groupe.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% fin pour %} <!-- Hidden inputs --> {% si aGroup.show_last_group == true %}<input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% si aGroup.show_last_answer == true %}<input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Ajoutez quelque chose comme ceci à <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-marque { hauteur de ligne : 60ph1.custom-survey-name { marge : 0; aligner le texte : centre ;}</syntaxhighlight> #Basculez l'option de thème « Nom de l'enquête sous la barre de progression » sur « Oui » #Vous devriez voir ceci :<br /> [[File:Tutorial_tp_1_3.png]] |
h Hungarian (hu) | ===Módosított nézet a felmérés címéhez a navigációs sávban=== #Hozzon létre egy új könyvtárat <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/</span> . #Másolás <span style="color: #BA2121;">/themes/survey/vanilla/ views/subviews/header/nav_bar.twig</span> az új könyvtárba. #Nyissa meg <span style="color: #BA2121;">a /themes/survey/vanilla/views/subviews/header/nav_bar.twig-ot</span> , és keresse meg a „{# Logo option #}” elemet. Ez alatt módosítsa az embléma/felmérésnév IF utasítását, így az így néz ki:<syntaxhighlight lang="html"> {# Logóopció #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% endif %}</syntaxhighlight> #Adjon hozzá ehhez hasonlót <span style="color: #BA2121;">a /upload/themes/survey/yourThemeName/css/custom.css</span> fájlhoz:<syntaxhighlight lang="css"> .navbar-brand { vonalmagasság: 60 képpont; betűméret: 32 képpont; }</syntaxhighlight> #Váltsa a "Felmérés neve a navigációs sávban" témabeállítást "Igen"-re #Ezt kell látnia:<br /> [[File:Tutorial_tp_1_2.png]] ===Módosított nézet a felmérés címéhez a folyamatjelző sáv alatt=== #Hozzon létre egy új könyvtárat <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> . #Másolja a <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig-ot</span> az új könyvtárba. #Nyissa <span style="color: #BA2121;">meg a /themes/survey/vanilla/views/subviews/survey/group_subviews/group_container .twig</span> és adjunk hozzá egy<nowiki><h1></nowiki> elem a felmérés nevéhez. Tehát így néz ki: <syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Egyéni felmérés neve #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name"> {{ aSurveyInfo.name }}</h1> {% endif %} {# Csoportnév #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Csoportleírás #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# MUTASD EL A KÉRDÉSEKET Ez a fő rész. Ez minden kérdést megjelenít a csoport számára #} <!-- PRESENT THE QUESTIONS --> {% aQuestion in aGroup.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == igaz %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == igaz %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Adjon hozzá ehhez hasonlót <span style="color: #BA2121;">a /upload/themes/survey/yourThemeName/css/custom.css</span> fájlhoz:<syntaxhighlight lang="css"> .navbar-brand { line-height: 60ph1.custom-survey-name { margó: 0; text-align: center; }</syntaxhighlight> #Váltsa a "Felmérés neve a folyamatjelző alatt" téma opciót "Igen"-re #Ezt kell látnia:<br /> [[Fájl:Tutorial_tp_1_3.png]] |
h Italian (it) | ===Vista modificata per il titolo del sondaggio nella barra di navigazione=== #Crea una nuova directory <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/</span> . #Copy <span style="color: #BA2121;">/themes/survey/vanilla/ views/subviews/header/nav_bar.twig</span> nella nuova directory. # Apri <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> e trova "{# Logo option #}". Al di sotto di questo, modifica l'istruzione IF per il logo/nome del sondaggio, in modo che assomigli a questo:<syntaxhighlight lang="html"> {# Opzione logo #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% finisci se %}</syntaxhighlight> # Aggiungi qualcosa di simile a <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-marca { altezza della riga: 60px; dimensione carattere: 32px; }</syntaxhighlight> # Imposta l'opzione del tema "Nome del sondaggio nella barra di navigazione" su "Sì" #Dovresti vedere quanto segue:<br /> [[File:Tutorial_tp_1_2.png]] ===Vista modificata per il titolo del sondaggio nella barra di avanzamento=== #Crea una nuova directory <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> . #Copia <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> nella nuova directory. #Apri <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container .twig</span> e aggiungi un<nowiki><h1></nowiki> elemento per il nome del sondaggio. Quindi sembra così: <syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Nome sondaggio personalizzato #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name"> {{ aSurveyInfo.name }}</h1> {% endif %} {# nome gruppo #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Descrizione gruppo #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# PRESENTA LE DOMANDE Questa è la parte principale. Renderà ogni domanda per questo gruppo #} <!-- PRESENT THE QUESTIONS --> {% for aQuestion in aGroup.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == true %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == true %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Aggiungi qualcosa di simile a <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-marca { line-height: 60ph1.custom-survey-name { margine: 0; text-align: center; }</syntaxhighlight> # Imposta l'opzione del tema "Nome del sondaggio sotto la barra di avanzamento" su "Sì" #Dovresti vedere quanto segue:<br /> [[File:Tutorial_tp_1_3.png]] |
h Japanese (ja) | ===ナビゲーションバーのアンケートタイトルの見た目を変更する=== #次の新しいディレクトリーを作成します。<span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/</span> #<span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span>をコピーし新しいディレクトリーにコピーします。 #<span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span>を開き、"{# Logo option #}"を探します。その下で、 logo/survey-nameのIFステートメントを次のように変更します。<syntaxhighlight lang="html"> {# Logo option #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% endif %}</syntaxhighlight> #<span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span>に次のような記述を追加します。<syntaxhighlight lang="css">.navbar-brand { line-height: 60px; font-size: 32px; }</syntaxhighlight> #"Survey name in navbar"というテーマオプションを"Yes"にします。 #このようになります。<br />[[File:Tutorial_tp_1_2.png]] ===プログレスバーの下にあるアンケートタイトルの見た目を変更する=== #次の新しいディレクトリーを作成します。<span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> #<span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span>を新しいディレクトリーにコピーします。 #<span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span>を開き、アンケート名のためのエレメント<nowiki><h1></nowiki>を追加します。このようになります。<syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Custom survey name #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name">{{ aSurveyInfo.name }}</h1> {% endif %} {# Group Name #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Group Description #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# PRESENT THE QUESTIONS This is the main part. It will render each question for this group #} <!-- PRESENT THE QUESTIONS --> {% for aQuestion in aGroup.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == true %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == true %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span>に次のような記述を追加します。<syntaxhighlight lang="css">.navbar-brand { line-height: 60ph1.custom-survey-name { margin: 0; text-align: center; }</syntaxhighlight> #"Survey name below progress bar"というテーマオプションを"Yes"にします。 #このようになります。<br />[[File:Tutorial_tp_1_3.png]] |
h Dutch (nl) | ===Aangepaste view voor enquête-titel in de taakbalk=== #Maak de map <span style="color: #BA2121;">/upload/themes/survey/jeThemaNaam/views/subviews/header/</span> aan. #Kopieer <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> naar die map. #Open <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> en zoek naar "{# Logo option #}". Wijzig het IF-statement daaronder voor het logo/survey-name, zodat het er uit ziet als:<syntaxhighlight lang="html"> {# Logo option #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% endif %}</syntaxhighlight> #Voeg iets als onderstaande toe aan <span style="color: #BA2121;">/upload/themes/survey/jeThemaNaam/css/custom.css</span>:<syntaxhighlight lang="css">.navbar-brand { line-height: 60px; font-size: 32px; }</syntaxhighlight> #Zet de thema-optie tonen enquête-naam in taakbalk op "Ja". #Je zou nu moeten zien:<br />[[File:Tutorial_tp_1_2.png]] ===Aangepaste view voor enquête-titel onder voortgangsindicatie=== #Maak de map <span style="color: #BA2121;">/upload/themes/survey/jeThemaNaam/views/subviews/survey/group_subviews</span> aan. #Kopieer <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> naar die map. #Open <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> en voeg een <nowiki><h1></nowiki> element voor de enquête-titel toe. Het lijkt dan op dit:<syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Custom survey name #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name">{{ aSurveyInfo.name }}</h1> {% endif %} {# Group Name #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Group Description #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# PRESENT THE QUESTIONS This is the main part. It will render each question for this group #} <!-- PRESENT THE QUESTIONS --> {% for aQuestion in aGroup.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == true %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == true %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Voeg iets als onderstaande toe aan <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span>:<syntaxhighlight lang="css">.navbar-brand { line-height: 60ph1.custom-survey-name { margin: 0; text-align: center; }</syntaxhighlight> #Zet de thema-optie enquête-titel onder voortgangsindicatie op "Ja" #Je zou nou moeten zien :<br />[[File:Tutorial_tp_1_3.png]] |
h Polish (pl) | ===Zmodyfikowany widok tytułu ankiety na pasku nawigacyjnym=== #Utwórz nowy katalog <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/ .</span> #Kopiuj <span style="color: #BA2121;">/themes/survey/vanilla/ widoki/subviews/header/nav_bar.twig</span> do tego nowego katalogu. #Otwórz <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> i znajdź „{# Opcja logo #}”. W tym miejscu zmodyfikuj instrukcję IF dla logo/nazwy ankiety, aby wyglądała następująco:<syntaxhighlight lang="html"> {# Opcja logo #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-Response"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% endif %}</syntaxhighlight> #Dodaj coś takiego do <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-brand { wysokość linii: 60px; rozmiar czcionki: 32px; }</syntaxhighlight> #Przełącz opcję motywu „Nazwa ankiety w pasku nawigacyjnym” na „Tak” #Powinieneś zobaczyć to:<br /> [[Plik:Tutorial_tp_1_2.png]] ===Zmodyfikowany widok tytułu ankiety pod paskiem postępu=== #Utwórz nowy katalog <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> . #Skopiuj <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> do tego nowego katalogu. #Otwórz <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container .twig</span> i dodaj<nowiki><h1></nowiki> element nazwy ankiety. Wygląda to więc tak: <syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Niestandardowa nazwa ankiety #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name"> {{ aSurveyInfo.name }}</h1> {% endif %} {# Nazwa grupy #} {{ include('./subviews/survey/group_subviews/nazwa_grupy.twig') }} {# Opis grupy #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# ZADAWAJ PYTANIA To jest główna część. Wyświetli każde pytanie dla tej grupy #} <!-- PRESENT THE QUESTIONS --> {% dla pytania w aGroup.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == true %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == true %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Dodaj coś takiego do <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-brand { wysokość linii: 60ph1.nazwa-ankiety niestandardowej { margines: 0; wyrównanie tekstu: do środka; }</syntaxhighlight> #Przełącz opcję motywu „Nazwa ankiety poniżej paska postępu” na „Tak” #Powinieneś zobaczyć to:<br /> [[Plik:Tutorial_tp_1_3.png]] |
h Romanian (ro) | ===Vizualizare modificată pentru titlul sondajului în bara de navigare=== #Creați un director nou <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/</span> . #Copy <span style="color: #BA2121;">/themes/survey/vanilla/ views/subviews/header/nav_bar.twig</span> în acel director nou. #Deschide <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> și găsește „{# Logo option #}”. Sub aceasta, modificați instrucțiunea IF pentru sigla/numele sondajului, astfel încât să arate astfel:<syntaxhighlight lang="html"> {# Opțiune logo #} {% if( aSurveyInfo.options.brandlogo == „on”) %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ imagine(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == „activat”) %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% endif %}</syntaxhighlight> #Adăugați ceva de genul acesta la <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-brand { înălțimea liniei: 60px; dimensiunea fontului: 32px; }</syntaxhighlight> #Comută opțiunea temei „Numele sondajului în bara de navigare” la „Da” #Ar trebui să vezi asta:<br /> [[File:Tutorial_tp_1_2.png]] ===Vizualizarea modificată pentru titlul sondajului sub bara de progres=== #Creați un director nou <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> . #Copiați <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> în acel director nou. <span style="color: #BA2121;">#Deschideți /themes/survey/vanilla/views/subviews/survey/group_subviews/group_container .cremură</span> și adăugați un<nowiki><h1></nowiki> element pentru numele sondajului. Deci arata cam asa: <syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Nume personalizat sondaj #} {% if( aSurveyInfo.options.surveyname2 == „activat”) %} <h1 class="custom-survey-name"> {{ aSurveyInfo.name }}</h1> {% endif %} {# Nume grup #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Descrierea grupului #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# PREZENTĂ ÎNTREBĂRILE Aceasta este partea principală. Va reda fiecare întrebare pentru acest grup #} <!-- PRESENT THE QUESTIONS --> {% pentru o întrebare în aGroup.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == adevărat %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == adevărat %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Adăugați ceva de genul acesta la <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-brand { line-height: 60ph1.custom-survey-name { marja: 0; text-align: center; }</syntaxhighlight> #Comută opțiunea temei „Numele sondajului sub bara de progres” la „Da” #Ar trebui să vezi asta:<br /> [[Fișier:Tutorial_tp_1_3.png]] |
h Slovenian (sl) | ===Spremenjen pogled za naslov ankete v vrstici za krmarjenje=== #Ustvarite nov imenik <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/ .</span> #Kopiraj <span style="color: #BA2121;">/themes/survey/vanilla/ views/subviews/header/nav_bar.twig</span> v ta novi imenik. #Odprite <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> in poiščite "{# Logo option #}". Pod tem spremenite izjavo IF za logotip/ime ankete, da bo videti takole:<syntaxhighlight lang="html"> {# Možnost logotipa #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% endif %}</syntaxhighlight> #Dodajte nekaj takega v <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-blagovna znamka { line-height: 60px; velikost-pisave: 32px; }</syntaxhighlight> #Preklopite možnost teme "Ime ankete v vrstici za krmarjenje" na "Da" #Morali bi videti to:<br /> [[Datoteka:Tutorial_tp_1_2.png]] ===Spremenjen pogled za naslov ankete pod vrstico napredka=== #Ustvarite nov imenik <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> . #Kopirajte <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> v ta novi imenik. #Odprite <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container .vejico</span> in dodajte<nowiki><h1></nowiki> element za ime ankete. Torej izgleda takole: <syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Ime ankete po meri #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name"> {{ aSurveyInfo.name }}</h1> {% endif %} {# Ime skupine #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Opis skupine #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# PREDSTAVITE VPRAŠANJA To je glavni del. Upodobil bo vsako vprašanje za to skupino #} <!-- PRESENT THE QUESTIONS --> {% for aQuestion in aGroup.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == true %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == true %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Dodajte nekaj takega v <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-blagovna znamka { line-height: 60ph1.custom-survey-name { rob: 0; poravnava besedila: sredina; }</syntaxhighlight> #Preklopite možnost teme »Ime ankete pod vrstico napredka« na »Da« #Morali bi videti tole:<br /> [[Datoteka:Tutorial_tp_1_3.png]] |
h Vietnamese (vi) | ===Chế độ xem đã sửa đổi cho Tiêu đề khảo sát trong thanh điều hướng=== #Tạo thư mục mới <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/header/</span> . #Copy <span style="color: #BA2121;">/themes/survey/vanilla/ lượt xem/subviews/header/nav_bar.twig</span> vào thư mục mới đó. #Mở <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/header/nav_bar.twig</span> và tìm "{# Logo option #}". Theo đó, hãy sửa đổi câu lệnh IF cho logo/tên khảo sát để nó trông như thế này:<syntaxhighlight lang="html"> {# Tùy chọn biểu trưng #} {% if( aSurveyInfo.options.brandlogo == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }} logo-container" {{ aSurveyInfo.attr.navbarbrand }} > {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img- responsive"}) }} </div> {% endif %} {% if( aSurveyInfo.options.surveyname1 == "on") %} <div class="{{ aSurveyInfo.class.navbarbrand }}" {{ aSurveyInfo.attr.navbarbrand }} > {{ aSurveyInfo.name }} </div> {% endif %}</syntaxhighlight> #Thêm nội dung như thế này vào <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-thương hiệu { chiều cao dòng: 60px; cỡ chữ: 32px; }</syntaxhighlight> #Chuyển tùy chọn chủ đề "Tên khảo sát trong thanh điều hướng" thành "Có" #Bạn sẽ thấy điều này:<br /> [[File:Tutorial_tp_1_2.png]] ===Chế độ xem đã sửa đổi cho Tiêu đề khảo sát trong thanh tiến trình=== #Tạo thư mục mới <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/views/subviews/survey/group_subviews</span> . #Sao chép <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container.twig</span> vào thư mục mới đó. #Open <span style="color: #BA2121;">/themes/survey/vanilla/views/subviews/survey/group_subviews/group_container .twig</span> và thêm một<nowiki><h1></nowiki> phần tử cho tên khảo sát. Vì vậy, nó trông như thế này: <syntaxhighlight lang="html"><div class="{{ aSurveyInfo.class.groupcontainer }} space-col" {{ aSurveyInfo.attr.groupcontainer }}> {# Tên khảo sát tùy chỉnh #} {% if( aSurveyInfo.options.surveyname2 == "on") %} <h1 class="custom-survey-name"> {{ aSurveyInfo.name }}</h1> {% endif %} {# Tên nhóm #} {{ include('./subviews/survey/group_subviews/group_name.twig') }} {# Mô tả nhóm #} {{ include('./subviews/survey/group_subviews/group_desc.twig') }} {# TRÌNH BÀY CÂU HỎI Đây là phần chính. Nó sẽ hiển thị từng câu hỏi cho nhóm này #} <!-- PRESENT THE QUESTIONS --> {% cho aQuestion trong aGroup.aQuestions %} {{ include('./subviews/survey/question_container.twig') }} {% endfor %} <!-- Hidden inputs --> {% if aGroup.show_last_group == true %} <input type='hidden' name='lastgroup' value='{{ aGroup.lastgroup }}' id='lastgroup' /> {% endif %} {% if aGroup.show_last_answer == true %} <input type='hidden' name='lastanswer' value='{{ aGroup.lastanswer }}' id='lastanswer' /> {% endif %} </div></syntaxhighlight> # Thêm nội dung như thế này vào <span style="color: #BA2121;">/upload/themes/survey/yourThemeName/css/custom.css</span> :<syntaxhighlight lang="css"> .navbar-thương hiệu { chiều cao dòng: 60ph1.custom-survey-name { lề: 0; căn chỉnh văn bản: giữa; }</syntaxhighlight> #Chuyển tùy chọn chủ đề "Tên khảo sát bên dưới thanh tiến trình" thành "Có" #Bạn sẽ thấy điều này:<br /> [[File:Tutorial_tp_1_3.png]] |