$this.nextQuestion();
}
});
-
- if(parseInt($this.quiz.question.current().countdown_enable)) {
- $(".centerBtn").addClass("countdown")
- }
},
instantReview: function (review) {
+flex-config(space-between,false,row,center)
.btn.primary
width: 100%
- max-width: 400px
+ max-width: 450px
position: absolute
left: 50%
bottom: 24px
<span class="access">R</span>
</a>
@endisset
- <a class="btn primary {{ isset($matchMaking) ? "confirmMatch" : "action validate" }} centerBtn"
+ <a class="btn primary {{ isset($matchMaking) ? "confirmMatch" : "action validate" }} {{ $countdown ? ' countdown' : '' }}"
aria-keyshortcuts="Space">
<span class="text">
@if(isset($matchMaking))
@include('components.background',['data'=>$data,'name'=>'mainBackground'])
@include('screens.intro', ['data'=> $data])
@foreach($data->questions as $key => $question)
- @include('screens.question_'.$question['type'], ['theme' => $data->theme,'data'=> $data, 'question' => $question, 'max' => $totalQuestion, 'position' => $key, 'alphabet' => $alphabet])
+ @php($coundown_enabled = $question["countdown_enable"])
+ @include('screens.question_'.$question['type'], ['theme' => $data->theme,'data'=> $data, 'question' => $question, 'max' => $totalQuestion, 'position' => $key, 'alphabet' => $alphabet, 'countdown' => $coundown_enabled])
@endforeach
@include('screens.outro', ['data'=> $data])
<div id="instantReviewAnimation"></div>
</div>
</div>
@include('screens.question_draganddrop_area',['area'=>2,'question'=>$question,'theme'=>$theme])
- @include('footer', ['question' => $question,'data' => $data, 'reset' => true, 'text' => $__('Validate answer'), 'info' => true])
+ @include('footer', ['countdown' => $countdown,'question' => $question,'data' => $data, 'reset' => true, 'text' => $__('Validate answer'), 'info' => true])
</div>
<img src="{{$theme->standardImage}}"/>
<img class="mobile question-multiple" src="{{$theme->standardImageMobile}}"/>
</div>
- @include('footer', ['question' => $question, 'data' => $data, 'reset' => true, 'text' => $__('Validate answer'), 'info' => true, 'matchMaking' => true])
+ @include('footer', ['countdown' => $countdown,'question' => $question, 'data' => $data, 'reset' => true, 'text' => $__('Validate answer'), 'info' => true, 'matchMaking' => true])
</div>
<img src="{{$theme->standardImage}}"/>
<img class="mobile question-multiple" src="{{$theme->standardImageMobile}}"/>
</div>
- @include('footer', ['question' => $question, 'data' => $data, 'reset' => true, 'info' => true])
+ @include('footer', ['countdown' => $countdown,'question' => $question, 'data' => $data, 'reset' => true, 'info' => true])
</div>