comparison test_create.html @ 3099:fc9718756d55

#200 Auto-pair fragments for AB and ABX in test create.
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 16 Jan 2018 16:11:35 +0000
parents 348d59ab726e
children 998e05c5769a
comparison
equal deleted inserted replaced
3098:348d59ab726e 3099:fc9718756d55
1091 </div> 1091 </div>
1092 <div class="modal fade bs-example-modal-lg" id="popupHolder" tabindex="-1" role="dialog" ng-controller="introduction"> 1092 <div class="modal fade bs-example-modal-lg" id="popupHolder" tabindex="-1" role="dialog" ng-controller="introduction">
1093 <div class="modal-dialog modal-lg" role="document"> 1093 <div class="modal-dialog modal-lg" role="document">
1094 <div class="modal-content"> 1094 <div class="modal-content">
1095 <div class="modal-header"> 1095 <div class="modal-header">
1096 <h4>Test Creator</h4> 1096 <h3>Test Creator</h3>
1097 <h4 class="label label-primary">v1.2.3</h4> 1097 <h3 class="label label-primary">v1.2.3</h3>
1098 </div> 1098 </div>
1099 <div class="modal-body" ng-switch="state"> 1099 <div class="modal-body" ng-switch="state">
1100 <div ng-switch-when="0"> 1100 <div ng-switch-when="0">
1101 <div> 1101 <div>
1102 <span>Welcome to the WAET test creator tool. This will allow you to create a new test from scratch to suit your testing needs. If you wish to update a test file, please drag and drop the XML document into the area below for processing, otherwise press 'Next' to start a new test. This tool generates files for the WAET 1.2.3 version.</span> 1102 <span>Welcome to the WAET test creator tool. This will allow you to create a new test from scratch to suit your testing needs. If you wish to update a test file, please drag and drop the XML document into the area below for processing, otherwise press 'Next' to start a new test. This tool generates files for the WAET 1.2.3 version.</span>
1108 <div ng-switch-when="1"> 1108 <div ng-switch-when="1">
1109 <div> 1109 <div>
1110 <span>Please select the interface you would like to use below. Selecting an interface will give a brief description of the interface type.</span> 1110 <span>Please select the interface you would like to use below. Selecting an interface will give a brief description of the interface type.</span>
1111 </div> 1111 </div>
1112 <div class="row"> 1112 <div class="row">
1113 <div class="col-md-6" style="overflow-y: scroll;height: 333px;"> 1113 <div class="col-md-6">
1114 <div class="new-test" ng-repeat="i in testSpecifications.interfaces" ng-mouseover="mouseover(i.name)" ng-click="select(i.name)"> 1114 <div class="new-test" ng-repeat="i in testSpecifications.interfaces" ng-mouseover="mouseover(i.name)" ng-click="select(i.name)">
1115 <label style="cursor:pointer"> 1115 <label style="cursor:pointer">
1116 <input type="radio" name="new-test" value="{{i.name}}" id="i.name" style="cursor:pointer" /> {{i.name}} 1116 <input type="radio" name="new-test" value="{{i.name}}" id="i.name" style="cursor:pointer" /> {{i.name}}
1117 </label> 1117 </label>
1118 </div> 1118 </div>
1120 <div class="col-md-6"> 1120 <div class="col-md-6">
1121 <span>{{description}}</span> 1121 <span>{{description}}</span>
1122 </div> 1122 </div>
1123 </div> 1123 </div>
1124 </div> 1124 </div>
1125 <div ng-switch-when="2" dropzone>
1126 <div>
1127 <h4>Audio Files</h4>
1128 <p>{{selected}} is a pairwise test with only two fragments per page. To make it easy to add a lot of fragments (and therefore pages) you can automatically drop your fragments onto here, set a name for each and we will populate your page elements for you!</p>
1129 </div>
1130 <table class="table table-bordered">
1131 <tr>
1132 <td>Filename</td>
1133 <td>Name</td>
1134 </tr>
1135 <tr ng-repeat="elem in audioFragments">
1136 <td>{{elem.fname}}</td>
1137 <td>
1138 <input type="text" ng-model="elem.name" required />
1139 </td>
1140 </tr>
1141 </table>
1142 </div>
1125 </div> 1143 </div>
1126 <div class="modal-footer"> 1144 <div class="modal-footer">
1127 <button id="popupBack" type="button" class="btn btn-default" ng-show="state>0" ng-click="back()">Back</button> 1145 <button id="popupBack" type="button" class="btn btn-default" ng-show="state>0" ng-click="back()">Back</button>
1146 <button id="popupNext" type="button" class="btn btn-warning" ng-show="state>1" ng-click="skip()">Skip</button>
1128 <button id="popupNext" type="button" class="btn btn-default" ng-click="next()">Next</button> 1147 <button id="popupNext" type="button" class="btn btn-default" ng-click="next()">Next</button>
1129 </div> 1148 </div>
1130 </div> 1149 </div>
1131 </div> 1150 </div>
1132 </div> 1151 </div>