UNPKG

unserver-unify

Version:

106 lines (104 loc) 3.25 kB
<div class="paper_preview"> <div class="option_info" ng-if="!ctrl.hideType&&q.type && q.type!='explain'"> <div class="flft" style="margin-right: 5px;"> <span ng-if="q.parentindex"> {{q.parentindex}}. </span> <strong ng-if="q.q_index"> {{ q.q_index }}. </strong> </div> [ {{ctrl.typename[q.type] | translate}} ] <span ng-if="uuid"> [{{uuid}}] </span> <span class="score" ng-if="q.score"> {{'Score' | translate}}: {{q.score || 0}}</span> </div> <!-- <div ng-if="q.type == 'explain'" class="result_summary"> <span class="type_total"> {{ctrl.typename[q.qtype] | translate}}: {{q.len}}</span> </div> --> <div ng-if="!q.type&&q.title"> <h3 style="color:blue;"> [ {{ q.title}} ] </h3> </div> <div class="row" ng-if='q.type!="explain"'> <div class="col-md-12 text-bold-600 "> <!-- <div class="flft" style="margin-right: 5px;"> <span ng-if="q.parentindex"> {{q.parentindex}}. </span> <strong ng-if="q.q_index"> {{ q.q_index }}. </strong> </div> --> <!--div class="flft wdth_95 text_left_all" bind-html-compile="q.rootContent" ng-if="q.root&&q.rootContent"> </div --> <div bind-html-compile="q.content" class="flft wdth_95 text_left_all" ng-if="q.type!='sDD'&&q.type!='mDD'"> </div> <div bind-html-compile="getTrustAsHtml(q.content)" ng-if="q.type=='sDD'||q.type=='mDD'"> <div class="margin-bottom-10"> </div> </div> </div> <div ng-if="q.type == 'single'"> <ol class="list_style_alpha flexcontainer"> <li class="text_left_all col-md-6" ng-repeat="opt in q._options track by $index "> <p bind-html-compile="opt.text"> </p> </li> </ol> <div class="clearfix"> </div> </div> <!-- multi choice --> <div ng-if="q.type == 'multiple' || q.type == 'sDD' || q.type == 'mDD'"> <ol class="list_style_alpha flexcontainer"> <li class="text_left_all col-md-6" ng-repeat="opt in q._options track by $index "> <p bind-html-compile="opt.text"> </p> </li> </ol> <div class="clearfix"> </div> </div> <!-- fill the blank --> <div ng-if="q.type == 'mfill'"> <br ng-if="!ctrl.hideType"/> </div> <!-- true of false --> <div ng-if="q.type == 'tof'"> <ol class="list_style_alpha flexcontainer"> <li class="text_left_all col-md-3"> {{ 'Correct' | translate}} </li> <li class="text_left_all col-md-3"> {{ 'Wrong' | translate}} </li> </ol> <div class="clearfix"> </div> </div> <div ng-if="q.type == 'short'"> <div class="col-md-12"> <br/> <br ng-if="!ctrl.hideType"/> <br ng-if="!ctrl.hideType"/> </div> <div class="col-md-12" ng-if="!ctrl.hideType"> <br/> <br/> <br/> <br/> </div> <div class="clearfix"> </div> </div> <!--div ng-if="q.type == 'mquestion'"> <div ng-repeat="q in q.questions"> <div ng-include="'app/examadmin/paper/questionpreview.html'"> </div> </div> <hr/> </div --> </div>