Mercurial > hg > webaudioevaluationtool
comparison test_create.html @ 3036:ae0950bc1c99
Close #218. Added to test_create.
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Tue, 26 Sep 2017 11:22:47 +0100 |
parents | a5a6c44bab6e |
children | fb29981a2fad |
comparison
equal
deleted
inserted
replaced
3035:1620cbee9111 | 3036:ae0950bc1c99 |
---|---|
931 <button type="button" class="btn btn-success" ng-click="addCommentQuestion()">Add Comment Question</button> | 931 <button type="button" class="btn btn-success" ng-click="addCommentQuestion()">Add Comment Question</button> |
932 <div class="node" ng-repeat="cq in page.commentQuestions"> | 932 <div class="node" ng-repeat="cq in page.commentQuestions"> |
933 <button type="button" class="btn btn-danger" ng-click="removeCommentQuestion(cq)">Remove Comment Question</button> | 933 <button type="button" class="btn btn-danger" ng-click="removeCommentQuestion(cq)">Remove Comment Question</button> |
934 <div class="attributes"> | 934 <div class="attributes"> |
935 <div class="attribute"> | 935 <div class="attribute"> |
936 <span>Type:</span> | |
937 <select ng-model="cq.type"> | |
938 <option value="question">Question</option> | |
939 <option value="checkbox">Checkbox</option> | |
940 <option value="radio">Radio</option> | |
941 <option value="slider">Slider</option> | |
942 </select> | |
943 </div> | |
944 <div class="attribute"> | |
936 <span>Unique ID:</span> | 945 <span>Unique ID:</span> |
937 <input type="text" ng-model="cq.id" required/> | 946 <input type="text" ng-model="cq.id" required/> |
938 </div> | 947 </div> |
939 <div class="attribute"> | 948 <div class="attribute"> |
940 <span>Common Name:</span> | 949 <span>Common Name:</span> |
941 <input type="text" ng-model="cq.name" /> | 950 <input type="text" ng-model="cq.name" /> |
951 </div> | |
952 <div class="attribute"> | |
953 <span>Mandatory:</span> | |
954 <input type="checkbox" ng-model="cq.mandatory" /> | |
942 </div> | 955 </div> |
943 <div class="attribute" ng-show="cq.type == 'slider'"> | 956 <div class="attribute" ng-show="cq.type == 'slider'"> |
944 <span>Minimum:</span> | 957 <span>Minimum:</span> |
945 <input type="number" ng-model="cq.min" /> | 958 <input type="number" ng-model="cq.min" /> |
946 </div> | 959 </div> |