-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1 lines (1 loc) · 1.5 KB
/
Copy pathindex.html
File metadata and controls
1 lines (1 loc) · 1.5 KB
1
<!DOCTYPE html><html id="ng-app" ng-app="app"></html><head><meta charset="utf-8"><title>Computer Games Rating Expert</title><script src="js/lib-script.js"></script><script src="js/app-script.js"></script><script type="text/ng-template" id="templates/answer-tpl.html"><div id="answer"><p class="h1 text-center">{{ answer.title }}</p><p class="h2 text-center">{{ answer.text }}</p></div></script><link rel="stylesheet" href="css/lib-css.css"><link rel="stylesheet" href="css/app-css.css"></head><body ng-app="app" ng-controller="appController" class="fill"><header><p id="title" class="h1 text-center">Computer Games Rating Expert</p></header><main><div id="question-slides" ng-controller="questionController"><carousel interval="0"><slide ng-repeat="question in QuestionService.questions | filter:questionFilter" index="$index" active="question.active"><p>{{ question.text }}</p><btn-group ng-if="question.type == 'MultipleAnswers'" class="btn-group-vertical multiple-options-group"><button ng-repeat="option in question.options" ng-change="QuestionService.chooseOption(question, option)" ng-model="option.isChosen" btn-checkbox class="btn btn-default">{{ option.text }}</button></btn-group><btn-group ng-if="question.type == 'OneAnswer'" class="btn-group-vertical one-option-group"><button ng-repeat="option in question.options" ng-change="QuestionService.chooseOption(question, option)" ng-model="question.chosenOption" btn-radio="option" class="btn btn-default">{{ option.text }}</button></btn-group></slide></carousel></div></main></body>