comparison test_create.html @ 2874:dafc6eba55fc

#209. Added minNumberPlays and maxNumberPlays to test_create
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 09 May 2017 16:17:07 +0100
parents 395762c79ecb
children 88dff8b9247c
comparison
equal deleted inserted replaced
2873:fefa7c50d263 2874:dafc6eba55fc
69 </div> 69 </div>
70 <div class="attribute"> 70 <div class="attribute">
71 <span>Play audio one-at-a-time: </span> 71 <span>Play audio one-at-a-time: </span>
72 <input type="checkbox" ng-model="specification.playOne" /> 72 <input type="checkbox" ng-model="specification.playOne" />
73 </div> 73 </div>
74 <div class="attribute">
75 <span>Minimum number of fragment plays</span>
76 <input type="number" ng-model="specification.minNumberPlays" min="0" max="{{specification.maxNumberPlays}}" />
77 </div>
78 <div class="attribute">
79 <span>Maximum number of fragment plays</span>
80 <input type="number" ng-model="specification.maxNumberPlays" min="{{specification.minNumberPlays || 0}}" />
81 </div>
74 </div> 82 </div>
75 <div class="node"> 83 <div class="node">
76 <h2>Test Completed Message</h2> 84 <h2>Test Completed Message</h2>
77 <textarea ng-model="specification.exitText"></textarea> 85 <textarea ng-model="specification.exitText"></textarea>
78 </div> 86 </div>
498 <input type="checkbox" ng-model="page.playOne" /> 506 <input type="checkbox" ng-model="page.playOne" />
499 </div> 507 </div>
500 <div class="attribute"> 508 <div class="attribute">
501 <span>Only move playing audio: </span> 509 <span>Only move playing audio: </span>
502 <input type="checkbox" ng-model="page.restrictMovement" /> 510 <input type="checkbox" ng-model="page.restrictMovement" />
511 </div>
512 <div class="attribute">
513 <span>Minimum number of fragment plays</span>
514 <input type="number" ng-model="page.minNumberPlays" min="0" max="{{page.maxNumberPlays || specification.maxNumberPlays}}" />
515 </div>
516 <div class="attribute">
517 <span>Maximum number of fragment plays</span>
518 <input type="number" ng-model="page.maxNumberPlays" min="{{page.minNumberPlays || specification.minNumberPlays || 0}}" />
503 </div> 519 </div>
504 </div> 520 </div>
505 <div class="node"> 521 <div class="node">
506 <h3>Page Title</h3> 522 <h3>Page Title</h3>
507 <textarea ng-model="page.title"></textarea> 523 <textarea ng-model="page.title"></textarea>
995 </div> 1011 </div>
996 <div class="attribute"> 1012 <div class="attribute">
997 <span>Fragment Image (URL): </span> 1013 <span>Fragment Image (URL): </span>
998 <input type="text" ng-model="fragment.image" /> 1014 <input type="text" ng-model="fragment.image" />
999 </div> 1015 </div>
1016 <div class="attribute">
1017 <span>Minimum number of plays</span>
1018 <input type="number" ng-model="fragment.minNumberPlays" min="0" max="{{fragment.maxNumberPlays || page.maxNumberPlays || specification.maxNumberPlays}}" />
1019 </div>
1020 <div class="attribute">
1021 <span>Maximum number of plays</span>
1022 <input type="number" ng-model="fragment.maxNumberPlays" min="{{fragment.minNumberPlays || page.minNumberPlays || specification.minNumberPlays || 0}}" />
1023 </div>
1000 </div> 1024 </div>
1001 </div> 1025 </div>
1002 </div> 1026 </div>
1003 <div id="popupHolder" ng-show="popupVisible"> 1027 <div id="popupHolder" ng-show="popupVisible">
1004 <div ng-controller="introduction" class="popup" ng-show="popupVisible"> 1028 <div ng-controller="introduction" class="popup" ng-show="popupVisible">