]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wait #6248 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 7 Sep 2023 06:44:42 +0000 (08:44 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 7 Sep 2023 06:44:42 +0000 (08:44 +0200)
views/header_question.blade.php

index 18feeebbb1855d503dd5187686764137276929ad..3cbe235d93c145bf619853bbdae719d90e4f402d 100644 (file)
@@ -1,3 +1,4 @@
+{{-- $__('Confirm the match') --}}
 <header class="header-question">
     <p class="abovetitle">{{ $__('Question').' '.($position+1).'/'.$max }} </p>
     <div class="progress-container">
@@ -5,8 +6,22 @@
             <span class="progress-item {{$i===$position?'active':''}}"></span>
         @endfor
     </div>
-    <h1 id="titleQuestion">{{$question['question']}}</h1>
+
     @if($data['type'] === "draganddrop")
-        <h2 class="subtitle">{{$__('Use arrow keys to move the cards to the corresponding zone')}}</h2>
+        <h1 id="titleQuestion">
+            <span class="only-desktop">{{$__('Drag and drop each card in the right container')}}</span>
+            <span class="only-mobile">{{$__('Swipe up or down each card in the right container')}}></span>
+        </h1>
+        <h2 class="subtitle"
+            class="only-desktop">{{$__('Use arrow keys to move the cards to the corresponding zone')}}</h2>
+    @elseif($data['type']==='draganddropmatch')
+        <h1 id="titleQuestion">
+            {{$__('Answer the question by swiping left or right to select the most appropriate answer')}}
+        </h1>
+        <h2 class="subtitle" class="only-desktop">{{$__('When you feel the answer is appropriate, confirm the match to move on to the next question')}}</h2>
+    @else
+        <h1 id="titleQuestion">{{$question['question']}}</h1>
     @endif
+
+
 </header>