comparison test_create.html @ 3021:a5a6c44bab6e

Added showBackButton to test create
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 12 Sep 2017 15:36:10 +0100
parents 7b6cdd27f3ee
children ae0950bc1c99
comparison
equal deleted inserted replaced
3020:664065577426 3021:a5a6c44bab6e
140 </div> 140 </div>
141 </div> 141 </div>
142 </div> 142 </div>
143 <div id="globalpresurvey" class="node" ng-controller="survey" ng-init="survey = specification.preTest"> 143 <div id="globalpresurvey" class="node" ng-controller="survey" ng-init="survey = specification.preTest">
144 <h2>Pre Test Survey</h2> 144 <h2>Pre Test Survey</h2>
145 <div class="attributes">
146 <div class="attribute" data-container="body" data-toggle="popover" data-placement="bottom" data-trigger="hover" data-content="Allow users to go both back and forward in the test">
147 <span>Show back button: </span>
148 <input type="checkbox" ng-model="survey.showBackButton" />
149 </div>
150 </div>
145 <button type="button" class="btn btn-success" ng-click="addSurveyEntry()">Add Entry</button> 151 <button type="button" class="btn btn-success" ng-click="addSurveyEntry()">Add Entry</button>
146 <div class="node surveyentry" ng-repeat="opt in survey.options" ng-controller="surveyOption"> 152 <div class="node surveyentry" ng-repeat="opt in survey.options" ng-controller="surveyOption">
147 <h3>Survey Entry</h3> 153 <h3>Survey Entry</h3>
148 <button type="button" class="btn btn-danger" ng-click="removeSurveyEntry(opt);">Delete Entry</button> 154 <button type="button" class="btn btn-danger" ng-click="removeSurveyEntry(opt);">Delete Entry</button>
149 <div class="attributes"> 155 <div class="attributes">
271 </div> 277 </div>
272 </div> 278 </div>
273 </div> 279 </div>
274 <div id="globalpostsurvey" class="node" ng-controller="survey" ng-init="survey = specification.postTest"> 280 <div id="globalpostsurvey" class="node" ng-controller="survey" ng-init="survey = specification.postTest">
275 <h2>Post Test Survey</h2> 281 <h2>Post Test Survey</h2>
282 <div class="attributes">
283 <div class="attribute" data-container="body" data-toggle="popover" data-placement="bottom" data-trigger="hover" data-content="Allow users to go both back and forward in the test">
284 <span>Show back button: </span>
285 <input type="checkbox" ng-model="survey.showBackButton" />
286 </div>
287 </div>
276 <button type="button" class="btn btn-success" ng-click="addSurveyEntry()">Add Entry</button> 288 <button type="button" class="btn btn-success" ng-click="addSurveyEntry()">Add Entry</button>
277 <div class="node surveyentry" ng-repeat="opt in survey.options" ng-controller="surveyOption"> 289 <div class="node surveyentry" ng-repeat="opt in survey.options" ng-controller="surveyOption">
278 <h3>Survey Entry</h3> 290 <h3>Survey Entry</h3>
279 <button type="button" class="btn btn-danger" ng-click="removeSurveyEntry(opt);">Delete Entry</button> 291 <button type="button" class="btn btn-danger" ng-click="removeSurveyEntry(opt);">Delete Entry</button>
280 <div class="attributes"> 292 <div class="attributes">
548 <span style="font-weight:600">{{page.commentboxprefix}} A</span> 560 <span style="font-weight:600">{{page.commentboxprefix}} A</span>
549 </p> 561 </p>
550 </div> 562 </div>
551 <div class="node" ng-controller="survey" ng-init="survey = page.preTest"> 563 <div class="node" ng-controller="survey" ng-init="survey = page.preTest">
552 <h2>Pre Page Survey</h2> 564 <h2>Pre Page Survey</h2>
565 <div class="attributes">
566 <div class="attribute" data-container="body" data-toggle="popover" data-placement="bottom" data-trigger="hover" data-content="Allow users to go both back and forward in the test">
567 <span>Show back button: </span>
568 <input type="checkbox" ng-model="survey.showBackButton" />
569 </div>
570 </div>
553 <button type="button" class="btn btn-success" ng-click="addSurveyEntry()">Add Entry</button> 571 <button type="button" class="btn btn-success" ng-click="addSurveyEntry()">Add Entry</button>
554 <div class="node surveyentry" ng-repeat="opt in survey.options" ng-controller="surveyOption"> 572 <div class="node surveyentry" ng-repeat="opt in survey.options" ng-controller="surveyOption">
555 <h3>Survey Entry</h3> 573 <h3>Survey Entry</h3>
556 <button type="button" class="btn btn-danger" ng-click="removeSurveyEntry(opt);">Delete Entry</button> 574 <button type="button" class="btn btn-danger" ng-click="removeSurveyEntry(opt);">Delete Entry</button>
557 <div class="attributes"> 575 <div class="attributes">
679 </div> 697 </div>
680 </div> 698 </div>
681 </div> 699 </div>
682 <div class="node" ng-controller="survey" ng-init="survey = page.postTest"> 700 <div class="node" ng-controller="survey" ng-init="survey = page.postTest">
683 <h2>Post Page Survey</h2> 701 <h2>Post Page Survey</h2>
702 <div class="attributes">
703 <div class="attribute" data-container="body" data-toggle="popover" data-placement="bottom" data-trigger="hover" data-content="Allow users to go both back and forward in the test">
704 <span>Show back button: </span>
705 <input type="checkbox" ng-model="survey.showBackButton" />
706 </div>
707 </div>
684 <button type="button" class="btn btn-success" ng-click="addSurveyEntry()">Add Entry</button> 708 <button type="button" class="btn btn-success" ng-click="addSurveyEntry()">Add Entry</button>
685 <div class="node surveyentry" ng-repeat="opt in survey.options" ng-controller="surveyOption"> 709 <div class="node surveyentry" ng-repeat="opt in survey.options" ng-controller="surveyOption">
686 <h3>Survey Entry</h3> 710 <h3>Survey Entry</h3>
687 <button type="button" class="btn btn-danger" ng-click="removeSurveyEntry(opt);">Delete Entry</button> 711 <button type="button" class="btn btn-danger" ng-click="removeSurveyEntry(opt);">Delete Entry</button>
688 <div class="attributes"> 712 <div class="attributes">