aboutsummaryrefslogtreecommitdiff
path: root/mobile/algebra.html
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2019-02-02 08:33:28 +0100
committerJean-Michel Vedrine <vedrine@vedrine.org>2019-02-02 08:33:28 +0100
commit76c8063a28713326c1feb54649dd56399077cebd (patch)
treeb8e0db5ed49f90a3055aa09203c29fd19875f940 /mobile/algebra.html
parent664753b7873f3dcc200f255bfb5a7535424f9eca (diff)
First try at mobile 3.x support
Diffstat (limited to 'mobile/algebra.html')
-rw-r--r--mobile/algebra.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/mobile/algebra.html b/mobile/algebra.html
new file mode 100644
index 0000000..4f08aad
--- /dev/null
+++ b/mobile/algebra.html
@@ -0,0 +1,25 @@
+<section class="qtype-algebra" ion-list *ngIf="question.text || question.text === ''">
+ <ion-item text-wrap>
+ <core-format-text [component]="component"
+ [componentId]="componentId" [text]="question.text">
+ </core-format-text>
+ </ion-item>
+ <ion-item>
+ <ion-label
+ stacked
+ color="gray"
+ padding-left>
+ {{ 'core.question.answer' | translate }}:
+ </ion-label>
+ <ion-input
+ padding-left
+ type="text"
+ [attr.name]="question.input.name"
+ [value]="question.input.value"
+ autocorrect="off"
+ [disabled]="question.input.readOnly"
+ [ngClass]="[question.input.correctClass]"
+ >
+ </ion-input>
+ </ion-item>
+</section>