]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wip #6343
authorsoufiane <soufiane@cubedesigners.com>
Wed, 4 Oct 2023 08:28:12 +0000 (10:28 +0200)
committersoufiane <soufiane@cubedesigners.com>
Wed, 4 Oct 2023 08:28:12 +0000 (10:28 +0200)
.idea/deployment.xml
js/quiz.screens.js
views/footer.blade.php

index 86c9140a418fe11d177a63acd663120cf8a96099..ef50088e62e6f614a7020fd7fad1ef1930feaf0e 100644 (file)
@@ -1,8 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
-  <component name="PublishConfigData">
+  <component name="PublishConfigData" serverName="prod" confirmBeforeUploading="false">
+    <option name="confirmBeforeUploading" value="false" />
     <serverData>
-      <paths name="dev">
+      <paths name="prod">
         <serverdata>
           <mappings>
             <mapping deploy="/resources/quiz/player/local/master" local="$PROJECT_DIR$" web="/" />
index 496449001896b7ce75ccd4cb2e873e6d210e28e1..dc5a45267167debb896af99120912818a2abe2f3 100644 (file)
@@ -55,6 +55,10 @@ QuizScreens.prototype = {
                 $this.nextQuestion();
             }
         });
+
+        if(parseInt($this.quiz.question.current().countdown_enable)) {
+            $(".centerBtn").addClass("countdown")
+        }
     },
 
     instantReview: function (review) {
index b416d074e90bd65b141ab08d87bcf7e066daed92..0d28233b062e8f9d3d599b5d03ab3bcd5e06187e 100644 (file)
@@ -5,7 +5,7 @@
             <span class="access">R</span>
         </a>
     @endisset
-    <a class="btn primary {{ isset($matchMaking) ? "confirmMatch" : "action validate" }} {{ array_key_exists("countdown_enable",$question) ? ($question['countdown_enable'] ? 'countdown' : '') : ''}}"
+    <a class="btn primary {{ isset($matchMaking) ? "confirmMatch" : "action validate" }} centerBtn"
        aria-keyshortcuts="Space">
         <span class="text">
             @if(isset($matchMaking))