comparison test_create.html @ 3098:348d59ab726e

Test creator uses Bootstrap modals
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 16 Jan 2018 15:23:45 +0000
parents c8707694f4e7
children fc9718756d55
comparison
equal deleted inserted replaced
3097:c8707694f4e7 3098:348d59ab726e
1087 </div> 1087 </div>
1088 </div> 1088 </div>
1089 </div> 1089 </div>
1090 </div> 1090 </div>
1091 </div> 1091 </div>
1092 <div id="popupHolder" ng-show="popupVisible"> 1092 <div class="modal fade bs-example-modal-lg" id="popupHolder" tabindex="-1" role="dialog" ng-controller="introduction">
1093 <div ng-controller="introduction" class="popup" ng-show="popupVisible"> 1093 <div class="modal-dialog modal-lg" role="document">
1094 <div class="popupTitle" ng-switch="state"> 1094 <div class="modal-content">
1095 <span ng-switch-when="0">Test Creator <span class="label label-primary">v1.2.2</span></span> 1095 <div class="modal-header">
1096 <span ng-switch-when="1">Create New Test</span> 1096 <h4>Test Creator</h4>
1097 </div> 1097 <h4 class="label label-primary">v1.2.3</h4>
1098 <div class="popupContent container-fluid" ng-switch="state"> 1098 </div>
1099 <div ng-switch-when="0"> 1099 <div class="modal-body" ng-switch="state">
1100 <div> 1100 <div ng-switch-when="0">
1101 <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.2 version.</span> 1101 <div>
1102 </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>
1103 <div> 1103 </div>
1104 <input type="file" id="files" ng-model="files" onchange="handleFiles(event)" /> 1104 <div>
1105 </div> 1105 <input type="file" id="files" ng-model="files" onchange="handleFiles(event)" />
1106 </div> 1106 </div>
1107 <div ng-switch-when="1"> 1107 </div>
1108 <div> 1108 <div ng-switch-when="1">
1109 <span>Please select the interface you would like to use below. Selecting an interface will give a brief description of the interface type.</span> 1109 <div>
1110 </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>
1111 <div class="row"> 1111 </div>
1112 <div class="col-md-6" style="overflow-y: scroll;height: 333px;"> 1112 <div class="row">
1113 <div class="new-test" ng-repeat="i in testSpecifications.interfaces" ng-mouseover="mouseover(i.name)" ng-click="select(i.name)"> 1113 <div class="col-md-6" style="overflow-y: scroll;height: 333px;">
1114 <label style="cursor:pointer"> 1114 <div class="new-test" ng-repeat="i in testSpecifications.interfaces" ng-mouseover="mouseover(i.name)" ng-click="select(i.name)">
1115 <input type="radio" name="new-test" value="{{i.name}}" id="i.name" style="cursor:pointer" /> {{i.name}} 1115 <label style="cursor:pointer">
1116 </label> 1116 <input type="radio" name="new-test" value="{{i.name}}" id="i.name" style="cursor:pointer" /> {{i.name}}
1117 </div> 1117 </label>
1118 </div> 1118 </div>
1119 <div class="col-md-6"> 1119 </div>
1120 <span>{{description}}</span> 1120 <div class="col-md-6">
1121 </div> 1121 <span>{{description}}</span>
1122 </div> 1122 </div>
1123 </div> 1123 </div>
1124 </div> 1124 </div>
1125 <div class="popupButtons"> 1125 </div>
1126 <button id="popupBack" type="button" class="btn btn-default" ng-show="state>0" ng-click="back()">Back</button> 1126 <div class="modal-footer">
1127 <button id="popupNext" type="button" class="btn btn-default" ng-click="next()">Next</button> 1127 <button id="popupBack" type="button" class="btn btn-default" ng-show="state>0" ng-click="back()">Back</button>
1128 <button id="popupNext" type="button" class="btn btn-default" ng-click="next()">Next</button>
1129 </div>
1128 </div> 1130 </div>
1129 </div> 1131 </div>
1130 </div> 1132 </div>
1131 <div id="screenblank" ng-show="popupVisible"></div> 1133 <div id="screenblank" ng-show="popupVisible"></div>
1132 </body> 1134 </body>