UNPKG

unserver-unify

Version:

103 lines 4.21 kB
<div class="panel panel-body" ng-controller="GroupEvaluationCtrl as ctrl"> <div class="ibox-content"> <div class="col-xs-12 clamped clamped-2" style="height: 60px;"> <div class="myspace_hed"> Evaluate - {{ctrl.evaluation.name}} -{{ctrl.class.name}} <div class="ibox-tools"> {{ctrl.totalScore}} </div> </div> </div> <div class="row"> <div class="col-xs-12"> <div ng-repeat="q in ctrl.questions" class="paper_preview"> <div class="text-bold-600 question_table"> <div class="option_info" style="border:none; position: absolute;right:22px;"> <span class="score" ng-if="q.weightage"> <span class="color-blue">{{'Weightage' | translate}}:</span> {{q.weightage}}%</span> </div> <b class="pull-left">Q{{$index+1}}.&nbsp;</b> <span class="badge pull-left" style="margin: 3px 0 0 5px;" ng-if="q.group"> Group </span> <div class="clearfix"></div> <p class="flft wdth_95 text_left_all rightw_b4_100" ng-bind-html="q.content"></p> </div> <div class="clearfix"></div> <div class="pull-left full-width"> <b> {{'Answer' | translate }}: </b> <div class="clearfix"></div> <table class="margin-bottom-20 survey_ans" ng-if="!q.type||q.type=='single'"> <!-- radio SCQ--> <tr ng-repeat="opt in q.options"> <td align="center" width="30"> {{ numToLetters($index ) }}. </td> <td for="opt{{ $index }}"> <input id="opt{{ $index }}" ng-model="q.selection" type="radio" value="{{ opt.text }}"/> {{ opt.text }} </td> </tr> <tr> <td translate=""> Other </td> <td> <input id="optother" ng-model="q.selection" placeholder="Other" type="text"/> </td> </tr> </table> <!-- MCQ --> <table ng-if="q.type=='multiple'"> <!-- checkbox MCQ--> <tr ng-repeat="opt in q.options"> <td align="center" width="30"> {{ numToLetters($index ) }}. </td> <td for="opt{{ $index }}"> <input ng-model="opt.selection" type="checkbox" value="{{ opt.text }}"/> {{ opt.text }} </td> </tr> </table> <!-- FILL --> <div class="row" ng-if="q.type=='fill'"> <div class="col-md-12"> <textarea class="form-control" ng-model="q.selection"></textarea> </div> </div> <div class="survey_rating" ng-if="q.type=='rating'"> <span class="color-blue" max="5" ng-model="q.selection" ng-change="ctrl.rated()" uib-rating=""> </span> {{q.selection}} </div> <div class="row" ng-if="q.type=='number'"> <div class="col-md-6"> <input class="form-control" ng-model="q.selection" style="margin-top:15px;" type="number"/> </div> </div> <div class="clearfix"></div> </div> <div class="clearfix"></div> </div> <!-- <h4 ng-if="ctrl.singleqs|notEmpty">Individual Questions</h4> <div class="paper_preview" ng-repeat="q in ctrl.singleqs"> <div class="text-bold-600 question_table"> <span class="pull-left"> No {{$index+1}}. </span> <p class="flft wdth_95 text_left_all rightw_b4_100" ng-bind-html="q.content"> </p> </div> <div class="clearfix"> </div> </div> --> </div> </div> <div class="clearfix"></div> <a class="btn btn-info pull-right" ng-click="ctrl.submit()" translate=""> Submit </a> </div> </div>