aboutsummaryrefslogtreecommitdiff
path: root/mobile_src/template.html
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2017-12-31 15:20:52 +0100
committerJean-Michel Vedrine <vedrine@vedrine.org>2017-12-31 15:20:52 +0100
commit560f96892a50835d21a025d4f17849f5daec1728 (patch)
treee56222fcbe665dcf83497d7322f840848bf629a2 /mobile_src/template.html
parentd2d679fbaa6df34681c96398ee60d7d04c11224a (diff)
Begin to work on a mobile version
Diffstat (limited to 'mobile_src/template.html')
-rw-r--r--mobile_src/template.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/mobile_src/template.html b/mobile_src/template.html
new file mode 100644
index 0000000..01d9544
--- /dev/null
+++ b/mobile_src/template.html
@@ -0,0 +1,8 @@
+<section class="list" ng-if="question.text || question.text === ''">
+ <div class="item item-text-wrap">
+ <p><mm-format-text watch="true" component="{{component}}" component-id="{{componentId}}">{{ question.text }}</mm-format-text></p>
+ </div>
+ <ion-input class="item item-input" ng-class='{"mm-question-answer-correct": input.isCorrect === 1, "mm-question-answer-incorrect": input.isCorrect === 0}'>
+ <input type="text" placeholder="{{ 'mm.question.answer' | translate }}" name="{{input.name}}" value="{{input.value}}" autocorrect="off" ng-disabled="input.readOnly" >
+ </ion-input>
+</section>