Sfoglia il codice sorgente

Adds message below Start Timer button.

Alan Lam 8 anni fa
parent
commit
380f8c48f3
2 ha cambiato i file con 6 aggiunte e 5 eliminazioni
  1. 5 5
      engine/template.php
  2. 1 0
      public/js/app-test.js

+ 5 - 5
engine/template.php

@@ -58,13 +58,13 @@ class Template extends Model {
 			<div class="bg-light text-center p-3 mb-3" style="position: sticky; top: 104px; z-index: 1000;" id="test-stop-button-container">
 
 				<div>
-					<button class="btn btn-block btn-success" type="button" id="test-start-button">
-						Start Test
+					<button class="btn btn-block btn-success mb-3" type="button" id="test-start-button">
+						Start Timer
 					</button>
-					<button class="btn btn-block btn-danger" type="button" id="test-stop-button" style="display: none;">
-						Stop Test
+					<button class="btn btn-block btn-danger mb-3" type="button" id="test-stop-button" style="display: none;">
+						Stop Timer
 					</button>
-					<small><span id="test-duration-span">0 min. 0 sec.</span></small>
+					<small><span id="test-duration-span">Photos uploaded successfully.<br />Please use the timer to record the duration that you were in the venue.<br /> Alternatively press <span class="text-danger">Stop Timer</span> immediately to skip the timer and note the duration in Additional Notes.</span></small>
 				</div>
 			</div>
 

+ 1 - 0
public/js/app-test.js

@@ -40,6 +40,7 @@ function initialiseTestForm() {
 		$startButton.detach();
 		$stopButton.show();
 
+		updateDurationText();
 		durationInterval = setInterval(updateDurationText, 1000);
 
 	});