Commit f3046d91 authored by Chenu Denis's avatar Chenu Denis
Browse files

[fix] Good order for previous/Next : default must be first

parent f1228439
......@@ -16,7 +16,7 @@
<supportUrl>https://extensions.sondages.pro/themes-and-templates/skelvanilla-a11y-and-usuability/</supportUrl>
<copyright>Copyright (C) 2018-2019 Denis Chenu / Sondages Pro</copyright>
<license>GNU General Public License version 3 or later</license>
<version>9.0.0</version>
<version>9.0.1</version>
<apiVersion>3</apiVersion>
<description><![CDATA[<strong>LimeSurvey Bootstrap Vanilla Survey Theme with Accessibility and Options</strong><br>Base on vanilla theme, usage of more aria, fix some role and aria from core.<br>Allow usage of a lot of variations, list of variation can be updated. Some decoration option using boostrap class.]]></description>
<extends>vanilla</extends>
......
......@@ -3,17 +3,7 @@
<!-- PRESENT THE NAVIGATOR -->
<div class="{{ aSurveyInfo.class.navigatorcontainer }} row navigator " id="{{ aSurveyInfo.id.navigatorcontainer }}{{ navigatorid }}" {{ aSurveyInfo.attr.navigatorcontainer }}>
<!-- Previous button container -->
<div class="{{ aSurveyInfo.class.navigatorbuttonl }} col-xs-6 text-left" {{ aSurveyInfo.attr.navigatorbuttonl }}>
{# Previous button must be set to ON in survey settings (and it's not shown in first page, in All in One survey mode, etc) #}
{% if aNavigator.aMovePrev.show %}
<!-- Button previous -->
<button data-disable-check-validity=1 {{ str_replace("ls-button-previous","ls-button-previous"~navigatorid,aSurveyInfo.attr.navigatorbuttonprev) }} class=" {{ aNavigator.disabled }} btn btn-lg btn-default " >
{{ gT("Previous") }}
</button>
{% endif %}
</div>
<div class="{{ aSurveyInfo.class.navigatorbuttonr }} col-xs-6 text-right">
<div class="{{ aSurveyInfo.class.navigatorbuttonr }} col-xs-6 col-xs-push-6 text-right">
{# Next button is not always shown (last page, all in one mode, etc) #}
{% if aNavigator.aMoveNext.show %}
{# On last page, Next button become submit button. #}
......@@ -30,4 +20,14 @@
{% endif %}
{% endif %}
</div>
<!-- Previous button container -->
<div class="{{ aSurveyInfo.class.navigatorbuttonl }} col-xs-6 col-xs-pull-6 text-left" {{ aSurveyInfo.attr.navigatorbuttonl }}>
{# Previous button must be set to ON in survey settings (and it's not shown in first page, in All in One survey mode, etc) #}
{% if aNavigator.aMovePrev.show %}
<!-- Button previous -->
<button data-disable-check-validity=1 {{ str_replace("ls-button-previous","ls-button-previous"~navigatorid,aSurveyInfo.attr.navigatorbuttonprev) }} class=" {{ aNavigator.disabled }} btn btn-lg btn-default " >
{{ gT("Previous") }}
</button>
{% endif %}
</div>
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment