diff --git a/package.json b/package.json index e47b1b4841b9e62c7514db2109b0ab204e50c776..7f4e0b37271c86311fbec94026c3889ca3d5c07e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mc_frontend", - "version": "1.3.9", + "version": "1.4.0", "author": "Ionic Framework", "homepage": "https://ionicframework.com/", "scripts": { diff --git a/src/app/app.component.html b/src/app/app.component.html index 8c3d2c6c0447de3509ba63f4d81531d15872ffce..341d8be92788cb1e9ecb8ab8a2cfcfff5eee8bbe 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -6,52 +6,72 @@ - - - - {{'HOME' | translate}} - - - - - {{ 'EXERCISE_GENERATE' | translate }} - - - - {{ 'EXERCISE_LIST' | translate }} - - - - {{ 'TEST' | translate }} - - - - + + + + + {{'HOME' | translate}} + + + + + + + {{ 'EXERCISE_GENERATE' | translate }} + + + + + + + {{ 'EXERCISE_LIST' | translate }} + + + + + + + {{ 'TEST' | translate }} + + + + + +

{{ 'DOCUMENTATION' | translate }}

-
- - - {{ 'ABOUT' | translate }} - - - - {{ 'DOC_SOFTWARE' | translate }} - - - - {{ 'DOC_EXERCISES' | translate }} - - - - {{ 'DOC_VOC_UNIT' | translate }} - - -
-
-
+ + + + + {{ 'ABOUT' | translate }} + + + + + + + {{ 'DOC_SOFTWARE' | translate }} + + + + + + + {{ 'DOC_EXERCISES' | translate }} + + + + + + + {{ 'DOC_VOC_UNIT' | translate }} + + + + + +
- \ No newline at end of file + diff --git a/src/app/author-detail/author-detail.page.html b/src/app/author-detail/author-detail.page.html index 2fed1ea3785aa52f5ef2105e8d716ebdb7ca5da7..765d8deb54cab8de141c2a56ac949ced7cbacced 100644 --- a/src/app/author-detail/author-detail.page.html +++ b/src/app/author-detail/author-detail.page.html @@ -2,15 +2,13 @@ -
- - {{ corpusService.currentAuthor.name }} -
+ + {{ corpusService.currentAuthor?.name }} @@ -21,11 +19,11 @@ - + - + - {{ 'BACK' | translate }} - \ No newline at end of file + {{ 'BACK' | translate }} + diff --git a/src/app/author-detail/author-detail.page.scss b/src/app/author-detail/author-detail.page.scss index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..dbff053475a6423b52ce1680c4ae611ab9f139e6 100644 --- a/src/app/author-detail/author-detail.page.scss +++ b/src/app/author-detail/author-detail.page.scss @@ -0,0 +1,3 @@ +button { + color: var(--ion-color-primary-shade); +} diff --git a/src/app/author/author.page.html b/src/app/author/author.page.html index 93f368592cc6e3d5d09922ca77708d9ad889fe2f..9db8090c845a6295e89cdee92833c02438e02182 100644 --- a/src/app/author/author.page.html +++ b/src/app/author/author.page.html @@ -2,15 +2,13 @@ -
- - {{ 'AUTHOR_SELECT' | translate }} -
+ + {{ 'AUTHOR_SELECT' | translate }} @@ -36,7 +34,7 @@ @@ -46,13 +44,11 @@ - -

{{'AUTHOR' | translate}}

@@ -66,7 +62,6 @@
-
- \ No newline at end of file + diff --git a/src/app/author/author.page.scss b/src/app/author/author.page.scss index ce7681e63b0d979698a3a6b84d2c90a0afd48621..2fc085d59ac64921915c41d635f876890e520c64 100644 --- a/src/app/author/author.page.scss +++ b/src/app/author/author.page.scss @@ -1,5 +1,5 @@ .author { - text-align: left; + text-align: center; font-size: 0.9em; } diff --git a/src/app/author/author.page.ts b/src/app/author/author.page.ts index c2780ed9b7cf1e3d4bb92d6ddca2310c3b30e97e..3821fd6ddde4bdd90c9b04450f5c11c5ba9f6c6b 100644 --- a/src/app/author/author.page.ts +++ b/src/app/author/author.page.ts @@ -25,7 +25,8 @@ export class AuthorPage { public translate: TranslateService, public corpusService: CorpusService, public http: HttpClient, - public exerciseService: ExerciseService) { + public exerciseService: ExerciseService, + public helperService: HelperService) { if (!this.corpusService.availableAuthors) { this.corpusService.loadCorporaFromLocalStorage(); } @@ -70,6 +71,8 @@ export class AuthorPage { showCorpora(author: Author) { this.corpusService.currentAuthor = author; + HelperService.mostRecentSetup.currentAuthor = author; + this.helperService.saveMostRecentSetup().then(); this.navCtrl.navigateForward('/author-detail').then(); } diff --git a/src/app/corpus.service.ts b/src/app/corpus.service.ts index 2aaee946a3a0dd6fc6fa59f7a569a2f2cdf9f3ca..c797c175cfb23e214a91015f6e4b30fb840ded06 100644 --- a/src/app/corpus.service.ts +++ b/src/app/corpus.service.ts @@ -55,6 +55,7 @@ export class CorpusService { instructionsTranslation: '' }); public invalidTextRangeString: string; + public isMostRecentSetupLoaded = false; public isTextRangeCorrect = false; public phenomenonMap: PhenomenonMap = new PhenomenonMap({ case: new PhenomenonMapContent({translationObject: CaseTranslations}), @@ -69,10 +70,12 @@ export class CorpusService { public toastCtrl: ToastController, public helperService: HelperService, ) { + this.isMostRecentSetupLoaded = false; HelperService.waitForConfig().then(() => { this.checkForUpdates().then(() => { this.checkAnnisResponse().then(() => { this.restoreLastCorpus().then(() => { + this.isMostRecentSetupLoaded = true; }, () => { }); }, () => { @@ -121,6 +124,7 @@ export class CorpusService { } this.helperService.loadMostRecentSetup().then(() => { this.annisResponse = HelperService.mostRecentSetup.annisResponse; + this.currentAuthor = HelperService.mostRecentSetup.currentAuthor; this.currentUrn = HelperService.mostRecentSetup.currentUrn; this.currentCorpus = HelperService.mostRecentSetup.currentCorpus; return outerResolve(); diff --git a/src/app/doc-exercises/doc-exercises.page.html b/src/app/doc-exercises/doc-exercises.page.html index e4e5d659cb43e62204e41e090263621f1c543a18..c6a8b591ead1cda03237cdd701511b6b055839df 100644 --- a/src/app/doc-exercises/doc-exercises.page.html +++ b/src/app/doc-exercises/doc-exercises.page.html @@ -1,341 +1,138 @@ - - - -
- - {{ 'DOC_EXERCISES' | translate }} - -
-
- - - -
+ + + +
+ + {{ 'DOC_EXERCISES' | translate }} + +
+
+ + + +
- - - - -

{{'TEST' | translate}}

-
-
- - - {{'DOC_EXERCISES_VOC_UNIT_INTRO' | translate}} - - - - -

ID

-
- -

{{'DOC_EXERCISES_NAME' | translate}}

-
- -

{{'DOC_EXERCISES_TYPE' | translate}}

-
- -

{{'DOC_EXERCISES_LEVEL' | translate}}

-
- -

{{'DOC_EXERCISES_FUNCTION' | translate}}

-
-
- - - - 1 - - - {{'DOC_EXERCISES_VOC_UNIT_1' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_1_TYPE' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_1_LEVEL' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_1_FUNCTION' | translate}} - - - - - - 2 - - - {{'DOC_EXERCISES_VOC_UNIT_2' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_2_TYPE' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_2_LEVEL' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_2_FUNCTION' | translate}} - - - - - - 3 - - - {{'DOC_EXERCISES_VOC_UNIT_3' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_3_TYPE' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_3_LEVEL' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_3_FUNCTION' | translate}} - - - - - - 4 - - - {{'DOC_EXERCISES_VOC_UNIT_4' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_4_TYPE' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_4_LEVEL' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_4_FUNCTION' | translate}} - - - - - - 5 - - - {{'DOC_EXERCISES_VOC_UNIT_5' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_5_TYPE' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_5_LEVEL' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_5_FUNCTION' | translate}} - - - - - - 6 - - - {{'DOC_EXERCISES_VOC_UNIT_6' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_6_TYPE' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_6_LEVEL' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_6_FUNCTION' | translate}} - - - - - - 7 - - - {{'DOC_EXERCISES_VOC_UNIT_7' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_7_TYPE' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_7_LEVEL' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_7_FUNCTION' | translate}} - - - - - - 8 - - - {{'DOC_EXERCISES_VOC_UNIT_8' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_8_TYPE' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_8_LEVEL' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_8_FUNCTION' | translate}} - - - - - - 9 - - - {{'DOC_EXERCISES_VOC_UNIT_9' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_9_TYPE' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_9_LEVEL' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_9_FUNCTION' | translate}} - - - - - - 10 - - - {{'DOC_EXERCISES_VOC_UNIT_10' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_10_TYPE' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_10_LEVEL' | translate}} - - - {{'DOC_EXERCISES_VOC_UNIT_10_FUNCTION' | translate}} - - - - -
-
-
-
- - -

{{'EXERCISE_GENERATE' | translate}}

-
-
- - -

ID

-
- -

{{'DOC_EXERCISES_NAME' | translate}}

-
- -

{{'DOC_EXERCISES_TYPE' | translate}}

-
- -

{{'DOC_EXERCISES_LEVEL' | translate}}

-
- -

{{'DOC_EXERCISES_FUNCTION' | translate}}

-
-
- - - - 1 - - - {{'DOC_EXERCISES_GEN_1' | translate}} - - - {{'DOC_EXERCISES_GEN_1_TYPE' | translate}} - - - {{'DOC_EXERCISES_GEN_1_LEVEL' | translate}} - - - {{'DOC_EXERCISES_GEN_1_FUNCTION' | translate}} - - - - - 2 - - - {{'DOC_EXERCISES_GEN_2' | translate}} - - - {{'DOC_EXERCISES_GEN_2_TYPE' | translate}} - - - {{'DOC_EXERCISES_GEN_2_LEVEL' | translate}} - - - {{'DOC_EXERCISES_GEN_2_FUNCTION' | translate}} - - - - - 3 - - - {{'DOC_EXERCISES_GEN_3' | translate}} - - - {{'DOC_EXERCISES_GEN_3_TYPE' | translate}} - - - {{'DOC_EXERCISES_GEN_3_LEVEL' | translate}} - - - {{'DOC_EXERCISES_GEN_3_FUNCTION' | translate}} - - - -
-
-
+ + + +

{{'TEST' | translate}}

+
+
+ + + {{'DOC_EXERCISES_VOC_UNIT_INTRO' | translate}} + + + + +

ID

+
+ +

{{'DOC_EXERCISES_NAME' | translate}}

+
+ +

{{'DOC_EXERCISES_TYPE' | translate}}

+
+ +

{{'DOC_EXERCISES_LEVEL' | translate}}

+
+ +

{{'DOC_EXERCISES_FUNCTION' | translate}}

+
+
+ + + {{i + 1}} + + {{ vud.name | translate}} + + + {{ vud.type | translate}} + + + {{ vud.level | translate}} + + + {{ vud.function | translate}} + + + +
+
+
+ + +

{{'EXERCISE_GENERATE' | translate}}

+
+
+ + +

ID

+
+ +

{{'DOC_EXERCISES_NAME' | translate}}

+
+ +

{{'DOC_EXERCISES_TYPE' | translate}}

+
+ +

{{'DOC_EXERCISES_LEVEL' | translate}}

+
+ +

{{'DOC_EXERCISES_FUNCTION' | translate}}

+
+
+ + + {{i + 1}} + + {{ egd.name | translate}} + + + {{ egd.type | translate}} + + + {{ egd.level | translate}} + + + {{ egd.function | translate}} + + + +
+
+
- - - - - {{ 'ABOUT' | translate }} - - - - {{ 'DOC_SOFTWARE' | translate}} - - - - {{'DOC_VOC_UNIT' | translate}} - - - - {{ 'IMPRINT' | translate }} - - - + + + + + {{ 'ABOUT' | translate }} + + + + {{ 'DOC_SOFTWARE' | translate}} + + + + {{'DOC_VOC_UNIT' | translate}} + + + + {{ 'IMPRINT' | translate }} + + + - \ No newline at end of file + diff --git a/src/app/doc-exercises/doc-exercises.page.ts b/src/app/doc-exercises/doc-exercises.page.ts index 9087120fc9309f6efde6e0dba434744d2fce670a..114b26bb82fef98b465ef011eac555d00fac1d51 100644 --- a/src/app/doc-exercises/doc-exercises.page.ts +++ b/src/app/doc-exercises/doc-exercises.page.ts @@ -1,24 +1,42 @@ -import { Component, OnInit } from '@angular/core'; +import {Component, OnInit} from '@angular/core'; import {HelperService} from 'src/app/helper.service'; import {NavController} from '@ionic/angular'; import {HttpClient} from '@angular/common/http'; import {TranslateService} from '@ngx-translate/core'; +import {ExerciseDocumentation} from 'src/app/models/exerciseDocumentation'; @Component({ - selector: 'app-doc-exercises', - templateUrl: './doc-exercises.page.html', - styleUrls: ['./doc-exercises.page.scss'], + selector: 'app-doc-exercises', + templateUrl: './doc-exercises.page.html', + styleUrls: ['./doc-exercises.page.scss'], }) -export class DocExercisesPage { - HelperService = HelperService; +export class DocExercisesPage implements OnInit { + exerciseGenDocs: ExerciseDocumentation[] = []; + HelperService = HelperService; + vocUnitDocs: ExerciseDocumentation[] = []; - constructor(public navCtrl: NavController, - public http: HttpClient, - public translate: TranslateService) { } - - goToHomePage() { - this.navCtrl.navigateForward('/home').then(); - } + constructor(public navCtrl: NavController, + public http: HttpClient, + public translate: TranslateService) { + } + ngOnInit(): void { + [...Array(10).keys()].forEach((i: number) => { + this.vocUnitDocs.push(new ExerciseDocumentation({ + name: `DOC_EXERCISES_VOC_UNIT_${i + 1}`, + function: `DOC_EXERCISES_VOC_UNIT_${i + 1}_FUNCTION`, + level: `DOC_EXERCISES_VOC_UNIT_${i + 1}_LEVEL`, + type: `DOC_EXERCISES_VOC_UNIT_${i + 1}_TYPE` + })); + }); + [...Array(3).keys()].forEach((i: number) => { + this.exerciseGenDocs.push(new ExerciseDocumentation({ + name: `DOC_EXERCISES_GEN_${i + 1}`, + function: `DOC_EXERCISES_GEN_${i + 1}_FUNCTION`, + level: `DOC_EXERCISES_GEN_${i + 1}_LEVEL`, + type: `DOC_EXERCISES_GEN_${i + 1}_TYPE` + })); + }); + } } diff --git a/src/app/doc-software/doc-software.page.html b/src/app/doc-software/doc-software.page.html index dbc7d2bcab11fa65bb52f6369f0cf4ccbae1a45a..3abaa3b1443c79f543f10557413592ff1705b0ee 100644 --- a/src/app/doc-software/doc-software.page.html +++ b/src/app/doc-software/doc-software.page.html @@ -1,147 +1,121 @@ - - - -
+ + + + - {{ 'DOC_SOFTWARE' | translate }} - -
-
- - - -
+ {{ 'DOC_SOFTWARE' | translate }} + + + +
- -

{{'MACHINA_CALLIDA' | translate}}

- - {{'MACHINA_CALLIDA_INTRO' | translate}}
- -
-

{{'DOC_SOFTWARE_DEV_TITLE' | translate}}

-
    -
  1. - {{'DOC_SOFTWARE_DEV_1' | translate}}
    Skizze, wie die Software-Architektur aussehen soll -
  2. -
  3. - {{'DOC_SOFTWARE_DEV_2' | translate}} -
  4. -
  5. - {{'DOC_SOFTWARE_DEV_3' | translate}} -
  6. -
  7. - {{'DOC_SOFTWARE_DEV_4' | translate}} -
  8. -
  9. - {{'DOC_SOFTWARE_DEV_5' | translate}} -
  10. -
  11. - {{'DOC_SOFTWARE_DEV_6' | translate}} -
  12. -
  13. - {{'DOC_SOFTWARE_DEV_7' | translate}} -
  14. -
  15. - {{'DOC_SOFTWARE_DEV_8' | translate}} -
  16. -
  17. - {{'DOC_SOFTWARE_DEV_9' | translate}} -
  18. -
  19. - {{'DOC_SOFTWARE_DEV_10' | translate}} -
  20. -
  21. - {{'DOC_SOFTWARE_DEV_11' | translate}} -
  22. -
  23. - {{'DOC_SOFTWARE_DEV_12' | translate}} -
  24. -
  25. - {{'DOC_SOFTWARE_DEV_13' | translate}} -
  26. -
  27. - {{'DOC_SOFTWARE_DEV_14' | translate}} -
  28. -
- -

Software dependencies

- - -
- + + +

{{'MACHINA_CALLIDA' | translate}}

+
+ + {{'MACHINA_CALLIDA_INTRO' | translate}} + + + + + +

{{'DOC_SOFTWARE_DEV_TITLE' | translate}}

+
+ +
    +
  1. + {{'DOC_SOFTWARE_DEV_1' | translate}}
    Skizze, wie die Software-Architektur aussehen soll +
  2. +
  3. {{'DOC_SOFTWARE_DEV_' + (i + 2).toString() | translate}}
  4. +
+
+ +

Software dependencies

+
+ + Ancient Greek and Latin Dependency Treebank (AGLDT): The Ancient Greek and Latin Dependency + Treebank + (AGLDT) + is the earliest treebank for Ancient Greek and Latin, called Perseus. + + + + + PROIEL Treebank: The PROIEL Treebank is a + treebank of ancient Indo-European languages, including Latin and Ancient Greek. It uses a refined + version of dependency grammar and is available under a Creative Commons + Attribution-NonCommercial-ShareAlike + 4.0 International. + + + + ANNIS: ANNIS, + which stands for Annotation of Information Structure, is an open source, + versatile web browser-based search and visualization architecture for complex multilevel + linguistic corpora with diverse types of annotation. + + + + + CoNLL-U Viewer + + + + Bamberger Wortschatz: The underlying reading corpus was determined by a detailed analysis of the + current curricula and a comparison of the most important text editions. It contains the full range of + texts and authors read at intermediate level. They are given in the epilogue together with the text + passages recorded. The total volume of the corpus examined is considerable, with over 140,000 word + forms: after deduction of the references to names, 7,154 lemmas, i.e. potential learning words. This + makes the result all the more surprising and pleasing: with 1248 vocabulary, a good 83% of this text + corpus can be captured. The detailed studies and preliminary work for the new generation of word studies + were carried out within the framework of a didactic project sponsored by the publishing house under the + title Bamberger Wortschatz (ADEO-Basiswortschatz). + + +
- - - - - - {{ 'ABOUT' | translate }} - - - - {{'DOC_EXERCISES' | translate}} - - - - {{'DOC_VOC_UNIT' | translate}} - - - - {{ 'IMPRINT' | translate }} - - - - - \ No newline at end of file + + + + + + {{ 'ABOUT' | translate }} + + + + {{'DOC_EXERCISES' | translate}} + + + + {{'DOC_VOC_UNIT' | translate}} + + + + {{ 'IMPRINT' | translate }} + + + + + diff --git a/src/app/doc-software/doc-software.page.scss b/src/app/doc-software/doc-software.page.scss index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e08b1ad5c6daf165db622f04d45efe641c4a226a 100644 --- a/src/app/doc-software/doc-software.page.scss +++ b/src/app/doc-software/doc-software.page.scss @@ -0,0 +1,3 @@ +ion-grid { + text-align: left; +} diff --git a/src/app/doc-software/doc-software.page.ts b/src/app/doc-software/doc-software.page.ts index d7a501f5044ab00c6bbf084b56daa9c7c8bfe617..46b80b45e5ae3306ca395779bae7575f41fbc01d 100644 --- a/src/app/doc-software/doc-software.page.ts +++ b/src/app/doc-software/doc-software.page.ts @@ -1,24 +1,21 @@ -import { Component, OnInit } from '@angular/core'; +import {Component, OnInit} from '@angular/core'; import {HelperService} from 'src/app/helper.service'; import {NavController} from '@ionic/angular'; import {HttpClient} from '@angular/common/http'; import {TranslateService} from '@ngx-translate/core'; @Component({ - selector: 'app-doc-software', - templateUrl: './doc-software.page.html', - styleUrls: ['./doc-software.page.scss'], + selector: 'app-doc-software', + templateUrl: './doc-software.page.html', + styleUrls: ['./doc-software.page.scss'], }) export class DocSoftwarePage { - HelperService = HelperService; - - constructor(public navCtrl: NavController, - public http: HttpClient, - public translate: TranslateService) { } - - goToHomePage() { - this.navCtrl.navigateForward('/home').then(); - } + devIndices: number[] = [...Array(13).keys()]; + HelperService = HelperService; + constructor(public navCtrl: NavController, + public http: HttpClient, + public translate: TranslateService) { + } } diff --git a/src/app/doc-voc-unit/doc-voc-unit.page.html b/src/app/doc-voc-unit/doc-voc-unit.page.html index 280417cc16360f02e0c74a513addbfd012785dd2..f05b9054a9454dbde0e45e9b4e75b156a34ebd8f 100644 --- a/src/app/doc-voc-unit/doc-voc-unit.page.html +++ b/src/app/doc-voc-unit/doc-voc-unit.page.html @@ -1,141 +1,115 @@ - - - -
- - {{ 'DOC_VOC_UNIT' | translate }} - -
-
- - - -
+ + + +
+ + {{ 'DOC_VOC_UNIT' | translate }} + +
+
+ + + +
-

{{'DOC_VOC_UNIT_HYP_TITLE' | translate}}

- -

{{'DOC_VOC_UNIT_RQ_TITLE' | translate}}

-
    -
  1. - {{'DOC_VOC_UNIT_RQ_1' | translate}} -
  2. -
  3. - {{'DOC_VOC_UNIT_RQ_2' | translate}} -
  4. -
  5. - {{'DOC_VOC_UNIT_RQ_3' | translate}} -
  6. -
  7. - {{'DOC_VOC_UNIT_RQ_4' | translate}} -
  8. -
  9. - {{'DOC_VOC_UNIT_RQ_5' | translate}} -
  10. -
  11. - {{'DOC_VOC_UNIT_RQ_6' | translate}} -
  12. -
  13. - {{'DOC_VOC_UNIT_RQ_7' | translate}} -
  14. -
  15. - {{'DOC_VOC_UNIT_RQ_8' | translate}} -
  16. -
  17. - {{'DOC_VOC_UNIT_RQ_9' | translate}} -
  18. -
  19. - {{'DOC_VOC_UNIT_RQ_10' | translate}} -
  20. -
-

{{'DOC_VOC_UNIT_ST_TITLE' | translate}}

- - {{'DOC_VOC_UNIT_ST_TEXT_SELECTION' | translate}}
- {{'DOC_VOC_UNIT_ST_TEXT_SELECTION_JUSTIFICATION' | translate}}
- {{'DOC_VOC_UNIT_ST_VOC_SELECTION_GENERAL' | translate}}
- {{'DOC_VOC_UNIT_ST_VOC_SELECTION_SPECIAL' | translate}}
-
-

{{'DOC_VOC_UNIT_ST_SEQ_TITLE' | translate}}

-
    -
  1. - {{'DOC_VOC_UNIT_ST_SEQ_1' | translate}} -
  2. -
  3. - {{'DOC_VOC_UNIT_ST_SEQ_2' | translate}} -
  4. -
  5. - {{'DOC_VOC_UNIT_ST_SEQ_3' | translate}} -
  6. -
  7. - {{'DOC_VOC_UNIT_ST_SEQ_4' | translate}} -
  8. -
  9. - {{'DOC_VOC_UNIT_ST_SEQ_5' | translate}} -
  10. -
  11. - {{'DOC_VOC_UNIT_ST_SEQ_6' | translate}} -
  12. -
-
- {{'DOC_VOC_UNIT_ST_SEQ_JUSTIFICATION' | translate}} -
-
-

{{'DOC_VOC_UNIT_ST_EX_TYPES_TITLE' | translate}}

- {{'DOC_VOC_UNIT_ST_EX_TYPES_TEXT' | translate}}
-
-

{{'DOC_VOC_UNIT_ST_REAL_TITLE' | translate}}

- {{'DOC_VOC_UNIT_ST_REAL_TEXT' | translate}}
-
-

{{'DOC_VOC_UNIT_ST_EVA_TITLE' | translate}}

- {{'DOC_VOC_UNIT_ST_EVA_TEXT' | translate}}
-
- - + + +

{{'DOC_VOC_UNIT_HYP_TITLE' | translate}}

+
+ +
    +
  • + {{ 'DOC_VOC_UNIT_HYP_' + (i + 1).toString() | translate }} +
  • +
+
+ +

{{'DOC_VOC_UNIT_RQ_TITLE' | translate}}

+
+ +
    +
  1. + {{ 'DOC_VOC_UNIT_RQ_' + (i + 1).toString() | translate }} +
  2. +
+
+ +

{{'DOC_VOC_UNIT_ST_TITLE' | translate}}

+
+ + {{'DOC_VOC_UNIT_ST_TEXT_SELECTION' | translate}} + + + {{'DOC_VOC_UNIT_ST_TEXT_SELECTION_JUSTIFICATION' | translate}} + + + {{'DOC_VOC_UNIT_ST_VOC_SELECTION_GENERAL' | translate}} + + + {{'DOC_VOC_UNIT_ST_VOC_SELECTION_SPECIAL' | translate}} + + +

{{'DOC_VOC_UNIT_ST_SEQ_TITLE' | translate}}

+
+ +
    +
  1. + {{ 'DOC_VOC_UNIT_ST_SEQ_' + (i + 1).toString() | translate }} +
  2. +
+
+ + {{'DOC_VOC_UNIT_ST_SEQ_JUSTIFICATION' | translate}} + + +

{{'DOC_VOC_UNIT_ST_EX_TYPES_TITLE' | translate}}

+
+ + {{'DOC_VOC_UNIT_ST_EX_TYPES_TEXT' | translate}} + + +

{{'DOC_VOC_UNIT_ST_REAL_TITLE' | translate}}

+
+ + {{'DOC_VOC_UNIT_ST_REAL_TEXT' | translate}} + + +

{{'DOC_VOC_UNIT_ST_EVA_TITLE' | translate}}

+
+ + {{'DOC_VOC_UNIT_ST_EVA_TEXT' | translate}}
+
+
- - - - - - {{ 'ABOUT' | translate }} - - - - {{ 'DOC_SOFTWARE' | translate}} - - - - {{'DOC_EXERCISES' | translate}} - - - - {{ 'IMPRINT' | translate }} - - - - - \ No newline at end of file + + + + + + {{ 'ABOUT' | translate }} + + + + {{ 'DOC_SOFTWARE' | translate}} + + + + {{'DOC_EXERCISES' | translate}} + + + + {{ 'IMPRINT' | translate }} + + + + + diff --git a/src/app/doc-voc-unit/doc-voc-unit.page.scss b/src/app/doc-voc-unit/doc-voc-unit.page.scss index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e08b1ad5c6daf165db622f04d45efe641c4a226a 100644 --- a/src/app/doc-voc-unit/doc-voc-unit.page.scss +++ b/src/app/doc-voc-unit/doc-voc-unit.page.scss @@ -0,0 +1,3 @@ +ion-grid { + text-align: left; +} diff --git a/src/app/doc-voc-unit/doc-voc-unit.page.ts b/src/app/doc-voc-unit/doc-voc-unit.page.ts index 62f2bc3b51a91ae1177a177789d11d4a8f541fb3..c106c30107ad040672ca51bded080a64c6932455 100644 --- a/src/app/doc-voc-unit/doc-voc-unit.page.ts +++ b/src/app/doc-voc-unit/doc-voc-unit.page.ts @@ -1,24 +1,23 @@ -import { Component, OnInit } from '@angular/core'; +import {Component, OnInit} from '@angular/core'; import {HelperService} from 'src/app/helper.service'; import {NavController} from '@ionic/angular'; import {HttpClient} from '@angular/common/http'; import {TranslateService} from '@ngx-translate/core'; @Component({ - selector: 'app-doc-voc-unit', - templateUrl: './doc-voc-unit.page.html', - styleUrls: ['./doc-voc-unit.page.scss'], + selector: 'app-doc-voc-unit', + templateUrl: './doc-voc-unit.page.html', + styleUrls: ['./doc-voc-unit.page.scss'], }) export class DocVocUnitPage { - HelperService = HelperService; + HelperService = HelperService; + hypothesisIndices: number[] = [...Array(5).keys()]; + questionsIndices: number[] = [...Array(10).keys()]; + sequenceIndices: number[] = [...Array(6).keys()]; - constructor(public navCtrl: NavController, - public http: HttpClient, - public translate: TranslateService) { } - - goToHomePage() { - this.navCtrl.navigateForward('/home').then(); - } - -} \ No newline at end of file + constructor(public navCtrl: NavController, + public http: HttpClient, + public translate: TranslateService) { + } +} diff --git a/src/app/exercise-list/exercise-list.page.html b/src/app/exercise-list/exercise-list.page.html index 9aff08127a9ebf8c9e42612d07ad264a3e612f28..85d9f8c4613dbdf8e2cd05258517368194b9d638 100644 --- a/src/app/exercise-list/exercise-list.page.html +++ b/src/app/exercise-list/exercise-list.page.html @@ -2,7 +2,7 @@ @@ -178,4 +178,4 @@

{{ 'NO_EXERCISES_FOUND' | translate }}

- \ No newline at end of file + diff --git a/src/app/exercise-parameters/exercise-parameters.page.html b/src/app/exercise-parameters/exercise-parameters.page.html index 04ab7137fd1e2660ecc58cc8d783dd3526e6def8..3a6539bd1d6d026f3fd02c79426b530616908f2d 100644 --- a/src/app/exercise-parameters/exercise-parameters.page.html +++ b/src/app/exercise-parameters/exercise-parameters.page.html @@ -8,16 +8,13 @@ -
- - {{ 'EXERCISE_PARAMETERS' | translate }} - -
+ + {{ 'EXERCISE_PARAMETERS' | translate }} @@ -33,7 +30,7 @@ @@ -92,59 +89,83 @@ - - - - - - - - -
-

- {{ 'INSTRUCTIONS' | translate }} - + {{ 'EXERCISE_FEEDBACK' | translate }}

-
-
-
- -
-
- {{ 'EXERCISE_FEEDBACK' | translate }}:
- -
- -
- -
- -
-
-
-
+ + + +
+

+ {{ 'INSTRUCTIONS' | translate }} + + {{ 'EXERCISE_FEEDBACK' | translate }}

+
+ + + + + + + + + + + + + {{ 'EXERCISE_FEEDBACK' | translate }}: + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ 'PREVIEW' | translate }} @@ -152,8 +173,8 @@ - {{ 'BACK' | translate }} + {{ 'BACK' | translate }} - \ No newline at end of file + diff --git a/src/app/home/home.page.html b/src/app/home/home.page.html index ef8f58c0d9d07c1ac6b3ed7f9f31263ed5b2ed53..0c6c2706d3c4610f610c0ff05b09c06645a4ac7e 100644 --- a/src/app/home/home.page.html +++ b/src/app/home/home.page.html @@ -86,7 +86,7 @@
- Skizze, wie die Software-Architektur aussehen soll

{{ 'DOCUMENTATION' | translate }}

{{'ABOUT' | translate }}
@@ -131,4 +131,4 @@ - \ No newline at end of file + diff --git a/src/app/imprint/imprint.page.html b/src/app/imprint/imprint.page.html index 2cbcba0e2a97747f9e1ff654642b8f0b593fd02f..078f931e404c1ea9eb58b1b4b5c19f1d6b177f51 100644 --- a/src/app/imprint/imprint.page.html +++ b/src/app/imprint/imprint.page.html @@ -1,138 +1,134 @@ - -

-
- - {{ 'IMPRINT' | translate }} - -
- - - - + + +
+ + {{ 'IMPRINT' | translate }} + +
+
+ + + - + - - - Angaben gemäß §5 TMG: - - - Humboldt-Universität zu Berlin
- Institut für deutsche Sprache und Linguistik
- Sprach- und literaturwissenschaftliche Fakultät
- Herr Konstantin Schulz
- Dorotheenstraße 24
- 10099 Berlin
- Tel.: +49 (30) 2093-9720
- E-Mail: sulzkons@hu-berlin.de
- Website: CALLIDUS-Projekt
- Unter Mitarbeit von:
- Frau Dr. Andrea Beyer (Layout und Texte)
- Institut für Klassische Philologie
- Unter den Linden 6
- 10099 Berlin
-
-
- - - Haftung für Inhalte - - - Als Diensteanbieter sind wir gemäß § 7 Abs.1 TMG für eigene Inhalte auf diesen Seiten - nach den allgemeinen Gesetzen verantwortlich. Nach §§ 8 bis 10 TMG sind wir als Diensteanbieter - jedoch nicht verpflichtet, übermittelte oder gespeicherte fremde Informationen zu überwachen - oder nach Umständen zu forschen, die auf eine rechtswidrige Tätigkeit hinweisen.
- Verpflichtungen zur Entfernung oder Sperrung der Nutzung von Informationen nach den allgemeinen - Gesetzen bleiben hiervon unberührt. Eine diesbezügliche Haftung ist jedoch erst ab dem Zeitpunkt - der Kenntnis einer konkreten Rechtsverletzung möglich. Bei Bekanntwerden von entsprechenden - Rechtsverletzungen werden wir diese Inhalte umgehend entfernen. -
-
- - - Haftung für Links - - - Unser Angebot enthält Links zu externen Webseiten Dritter, auf deren Inhalte wir keinen - Einfluss haben. Deshalb können wir für diese fremden Inhalte auch keine Gewähr übernehmen. - Für die Inhalte der verlinkten Seiten ist stets der jeweilige Anbieter oder Betreiber der - Seiten verantwortlich. Die verlinkten Seiten wurden zum Zeitpunkt der Verlinkung auf mögliche - Rechtsverstöße überprüft. Rechtswidrige Inhalte waren zum Zeitpunkt der Verlinkung nicht - erkennbar.
- Eine permanente inhaltliche Kontrolle der verlinkten Seiten ist jedoch ohne konkrete - Anhaltspunkte einer Rechtsverletzung nicht zumutbar. Bei Bekanntwerden von Rechtsverletzungen - werden wir derartige Links umgehend entfernen. -
-
- - - Urheberrecht - - - Die durch die Seitenbetreiber erstellten Inhalte und Werke auf diesen Seiten unterliegen - dem deutschen Urheberrecht. Die Vervielfältigung, Bearbeitung, Verbreitung und jede Art - der Verwertung außerhalb der Grenzen des Urheberrechtes bedürfen der schriftlichen - Zustimmung des jeweiligen Autors bzw. Erstellers. Downloads und Kopien dieser Seite - sind nur für den privaten, nicht kommerziellen Gebrauch gestattet.
- Soweit die Inhalte auf dieser Seite nicht vom Betreiber erstellt wurden, werden die - Urheberrechte Dritter beachtet. Insbesondere werden Inhalte Dritter als solche gekennzeichnet. - Sollten Sie trotzdem auf eine Urheberrechtsverletzung aufmerksam werden, bitten wir um - einen entsprechenden Hinweis. Bei Bekanntwerden von Rechtsverletzungen werden wir derartige - Inhalte umgehend entfernen.
- - - - -

Copyright Favicon / Logo

-
-
- - - - - -
Icon made by Freepik -
- from www.flaticon.com - is licensed by CC 3.0 BY
-
-
-
-
-
-
+ + + Angaben gemäß §5 TMG: + + + Humboldt-Universität zu Berlin
+ Institut für deutsche Sprache und Linguistik
+ Sprach- und literaturwissenschaftliche Fakultät
+ Herr Konstantin Schulz
+ Dorotheenstraße 24
+ 10099 Berlin
+ Tel.: +49 (30) 2093-9720
+ E-Mail: sulzkons@hu-berlin.de
+ Website: CALLIDUS-Projekt
+ Unter Mitarbeit von:
+ Frau Dr. Andrea Beyer (Layout und Texte)
+ Institut für Klassische Philologie
+ Unter den Linden 6
+ 10099 Berlin
+
+
+ + + Haftung für Inhalte + + + Als Diensteanbieter sind wir gemäß § 7 Abs.1 TMG für eigene Inhalte auf diesen Seiten + nach den allgemeinen Gesetzen verantwortlich. Nach §§ 8 bis 10 TMG sind wir als Diensteanbieter + jedoch nicht verpflichtet, übermittelte oder gespeicherte fremde Informationen zu überwachen + oder nach Umständen zu forschen, die auf eine rechtswidrige Tätigkeit hinweisen.
+ Verpflichtungen zur Entfernung oder Sperrung der Nutzung von Informationen nach den allgemeinen + Gesetzen bleiben hiervon unberührt. Eine diesbezügliche Haftung ist jedoch erst ab dem Zeitpunkt + der Kenntnis einer konkreten Rechtsverletzung möglich. Bei Bekanntwerden von entsprechenden + Rechtsverletzungen werden wir diese Inhalte umgehend entfernen. +
+
+ + + Haftung für Links + + + Unser Angebot enthält Links zu externen Webseiten Dritter, auf deren Inhalte wir keinen + Einfluss haben. Deshalb können wir für diese fremden Inhalte auch keine Gewähr übernehmen. + Für die Inhalte der verlinkten Seiten ist stets der jeweilige Anbieter oder Betreiber der + Seiten verantwortlich. Die verlinkten Seiten wurden zum Zeitpunkt der Verlinkung auf mögliche + Rechtsverstöße überprüft. Rechtswidrige Inhalte waren zum Zeitpunkt der Verlinkung nicht + erkennbar.
+ Eine permanente inhaltliche Kontrolle der verlinkten Seiten ist jedoch ohne konkrete + Anhaltspunkte einer Rechtsverletzung nicht zumutbar. Bei Bekanntwerden von Rechtsverletzungen + werden wir derartige Links umgehend entfernen. +
+
+ + + Urheberrecht + + + Die durch die Seitenbetreiber erstellten Inhalte und Werke auf diesen Seiten unterliegen + dem deutschen Urheberrecht. Die Vervielfältigung, Bearbeitung, Verbreitung und jede Art + der Verwertung außerhalb der Grenzen des Urheberrechtes bedürfen der schriftlichen + Zustimmung des jeweiligen Autors bzw. Erstellers. Downloads und Kopien dieser Seite + sind nur für den privaten, nicht kommerziellen Gebrauch gestattet.
+ Soweit die Inhalte auf dieser Seite nicht vom Betreiber erstellt wurden, werden die + Urheberrechte Dritter beachtet. Insbesondere werden Inhalte Dritter als solche gekennzeichnet. + Sollten Sie trotzdem auf eine Urheberrechtsverletzung aufmerksam werden, bitten wir um + einen entsprechenden Hinweis. Bei Bekanntwerden von Rechtsverletzungen werden wir derartige + Inhalte umgehend entfernen.
+ + + +

Copyright Favicon / Logo

+
+
+ + + +
Icon made by Freepik from www.flaticon.com + is licensed by CC 3.0 BY +
+
+
+
+
+
- - - - - - {{ 'ABOUT' | translate }} - - - - {{ 'DOC_SOFTWARE' | translate}} - - - - {{'DOC_EXERCISES' | translate}} - - - - {{'DOC_VOC_UNIT' | translate}} - - - - - \ No newline at end of file + + + + + + {{ 'ABOUT' | translate }} + + + + {{ 'DOC_SOFTWARE' | translate}} + + + + {{'DOC_EXERCISES' | translate}} + + + + {{'DOC_VOC_UNIT' | translate}} + + + + + diff --git a/src/app/imprint/imprint.page.scss b/src/app/imprint/imprint.page.scss index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e08b1ad5c6daf165db622f04d45efe641c4a226a 100644 --- a/src/app/imprint/imprint.page.scss +++ b/src/app/imprint/imprint.page.scss @@ -0,0 +1,3 @@ +ion-grid { + text-align: left; +} diff --git a/src/app/info/info.page.html b/src/app/info/info.page.html index 4e5fd226a13a08ded5611fb0a6cbb3351abbfde3..cea611dc533d5177c91999651d0b1577a584e0ff 100644 --- a/src/app/info/info.page.html +++ b/src/app/info/info.page.html @@ -1,86 +1,97 @@ - - - -
- - {{ 'ABOUT' | translate }} - -
-
- - - -
+ + + +
+ + {{ 'ABOUT' | translate }} + +
+
+ + + +
- -

CALLIDUS

- - Computer-Aided Language Learning: Lexikonerwerb im Lateinunterricht - durch korpusgestützte Methoden -
- (Vocabulary Acquisition in Latin using Corpus-based Methods)
- - {{'RESEARCH_PROJECT_DATA_FUNDED' | translate}} -
-
-

{{'RESEARCH_APPROACH_TITLE' | translate}}

- {{'RESEARCH_APPROACH_TEXT' | translate}} -
-
-

{{'RESEARCH_STUDIES_TITLE' | translate}}

- {{'RESEARCH_STUDIES_TEXT' | translate}}
-
    -
  • {{'RESEARCH_STUDIES_1' | translate}},
  • -
  • {{'RESEARCH_STUDIES_2' | translate}},
  • -
  • {{'RESEARCH_STUDIES_3' | translate}},
  • -
  • {{'RESEARCH_STUDIES_4' | translate}}.
  • -
-
- -

{{'RESEARCH_PUBL_TITLE' | translate}}

-
    -
  • {{'RESEARCH_PUBL_1' | translate}},
  • -
  • {{'RESEARCH_PUBL_2' | translate}},
  • -
  • {{'RESEARCH_PUBL_3' | translate}},
  • -
  • {{'RESEARCH_PUBL_4' | translate}}.
  • -
-
- -

{{'RESEARCH_PROJECT_DATA_TITLE' | translate}}

- {{'RESEARCH_PROJECT_DATA_TEXT' | translate}}
-
- - + + +

CALLIDUS

+
+ + + Computer-Aided Language Learning: Lexikonerwerb im Lateinunterricht + durch korpusgestützte Methoden (Vocabulary Acquisition in Latin using Corpus-based + Methods) + + + + {{'RESEARCH_PROJECT_DATA_FUNDED' | translate}} + + +

{{'RESEARCH_APPROACH_TITLE' | translate}}

+
+ + {{'RESEARCH_APPROACH_TEXT' | translate}} + + +

{{'RESEARCH_STUDIES_TITLE' | translate}}

+
+ + {{'RESEARCH_STUDIES_TEXT' | translate}}
+
+ +
    +
  • + {{ 'RESEARCH_STUDIES_' + (i + 1).toString() | translate }} +
  • +
+
+ +

{{'RESEARCH_PUBL_TITLE' | translate}}

+
+ +
    +
  • + {{ 'RESEARCH_PUBL_' + (i + 1).toString() | translate }} +
  • +
+
+ +

{{'RESEARCH_PROJECT_DATA_TITLE' | translate}}

+
+ + {{'RESEARCH_PROJECT_DATA_TEXT' | translate}}
+
+
- - - - - - {{ 'DOC_SOFTWARE' | translate}} - - - - {{'DOC_EXERCISES' | translate}} - - - - {{'DOC_VOC_UNIT' | translate}} - - - - {{ 'IMPRINT' | translate }} - - - - - \ No newline at end of file + + + + + + {{ 'DOC_SOFTWARE' | translate}} + + + + {{'DOC_EXERCISES' | translate}} + + + + {{'DOC_VOC_UNIT' | translate}} + + + + {{ 'IMPRINT' | translate }} + + + + + diff --git a/src/app/info/info.page.scss b/src/app/info/info.page.scss index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e08b1ad5c6daf165db622f04d45efe641c4a226a 100644 --- a/src/app/info/info.page.scss +++ b/src/app/info/info.page.scss @@ -0,0 +1,3 @@ +ion-grid { + text-align: left; +} diff --git a/src/app/info/info.page.ts b/src/app/info/info.page.ts index e739d2683005c1813fc051fb4a028320d5e6714d..252316cadcf39037310843d87a0c4915f03ebef0 100644 --- a/src/app/info/info.page.ts +++ b/src/app/info/info.page.ts @@ -1,28 +1,21 @@ -import { Component, OnInit } from '@angular/core'; +import {Component, OnInit} from '@angular/core'; import {HelperService} from 'src/app/helper.service'; import {NavController} from '@ionic/angular'; import {HttpClient} from '@angular/common/http'; import {TranslateService} from '@ngx-translate/core'; @Component({ - selector: 'app-info', - templateUrl: './info.page.html', - styleUrls: ['./info.page.scss'], + selector: 'app-info', + templateUrl: './info.page.html', + styleUrls: ['./info.page.scss'], }) export class InfoPage { - HelperService = HelperService; - - constructor(public navCtrl: NavController, - public http: HttpClient, - public translate: TranslateService) { } - - goToAuthorPage() { - this.navCtrl.navigateForward('/author').then(); - } - - goToTestPage() { - this.navCtrl.navigateForward('/test').then(); - } + HelperService = HelperService; + studiesIndices: number[] = [...Array(4).keys()]; + constructor(public navCtrl: NavController, + public http: HttpClient, + public translate: TranslateService) { + } } diff --git a/src/app/kwic/kwic.page.html b/src/app/kwic/kwic.page.html index 64956bb0e2633d80040a5a862874f9cefb19f08d..1f1ca6f439fb0896d8cd1b079a23cbe14f0f71a0 100644 --- a/src/app/kwic/kwic.page.html +++ b/src/app/kwic/kwic.page.html @@ -1,36 +1,36 @@ - - - -
- - {{ 'KWIC' | translate }} - -
-
- - - -
+ + + +
+ + {{ 'KWIC' | translate }} + +
+
+ + + +
- - - - -
-
-
- - - {{ 'BACK' | translate }} - - -
- -
\ No newline at end of file + + + + +
+
+
+ + + {{ 'BACK' | translate }} + + +
+ + diff --git a/src/app/models/applicationState.ts b/src/app/models/applicationState.ts index b0b674b6bb656e14d2127962e8f3f204f05f7e34..3dbdeaf5a618d3ec82a7140ca814228a558a346c 100644 --- a/src/app/models/applicationState.ts +++ b/src/app/models/applicationState.ts @@ -1,9 +1,11 @@ import {CorpusMC} from 'src/app/models/corpusMC'; import {TextRange} from 'src/app/models/textRange'; import {AnnisResponse} from 'src/app/models/annisResponse'; +import {Author} from 'src/app/models/author'; export class ApplicationState { public annisResponse: AnnisResponse; + public currentAuthor: Author; public currentCorpus: CorpusMC; public currentTextRange: TextRange; public currentUrn: string; diff --git a/src/app/models/exerciseDocumentation.ts b/src/app/models/exerciseDocumentation.ts new file mode 100644 index 0000000000000000000000000000000000000000..84e21a232eb9b759f0885ae02a4776ddeed63699 --- /dev/null +++ b/src/app/models/exerciseDocumentation.ts @@ -0,0 +1,10 @@ +export class ExerciseDocumentation { + public name: string; + public type: string; + public level: string; + public function: string; + + constructor(init?: Partial) { + Object.assign(this, init); + } +} diff --git a/src/app/preview/preview.page.html b/src/app/preview/preview.page.html index f6e8cde74f41f54c69d473586cca1880d3323e64..8963587043937b93f4e25709b7290be050c9123b 100644 --- a/src/app/preview/preview.page.html +++ b/src/app/preview/preview.page.html @@ -2,7 +2,7 @@ @@ -59,8 +59,8 @@ beginning that it is going to be a download (instead of an ordinary link or clic
- - {{ 'BACK' | translate }} + + {{ 'BACK' | translate }} @@ -113,4 +113,4 @@ beginning that it is going to be a download (instead of an ordinary link or clic - \ No newline at end of file + diff --git a/src/app/ranking/ranking.page.html b/src/app/ranking/ranking.page.html index 37331f130ecf121a0b1091c6c531210e6a536466..90a401224da191545bc3ffda2807342646db2a87 100644 --- a/src/app/ranking/ranking.page.html +++ b/src/app/ranking/ranking.page.html @@ -2,7 +2,7 @@ @@ -49,7 +49,7 @@
- {{ 'BACK' | translate }} + {{ 'BACK' | translate }} @@ -57,4 +57,4 @@ - \ No newline at end of file + diff --git a/src/app/show-text/show-text.page.html b/src/app/show-text/show-text.page.html index 6dc57516f59fdcd605c91df82afc3f60327c7110..289d3c024c52f2901c819755fe2b60564441d008 100644 --- a/src/app/show-text/show-text.page.html +++ b/src/app/show-text/show-text.page.html @@ -2,17 +2,15 @@ -
- - {{corpusService.currentCorpus?.title}} - {{corpusService.currentUrn?.split(":")[corpusService.currentUrn?.split(":").length - 1]}} - -
+ + + {{corpusService.currentCorpus?.title}} {{corpusService.currentUrn?.split(":")[corpusService.currentUrn?.split(":").length - 1]}} + @@ -28,7 +26,7 @@
@@ -39,43 +37,56 @@
{{node.annis_tok}}{{ getWhiteSpace(i) }} + [class.oov]="node.is_oov">{{node.annis_tok}}{{ getWhiteSpace(i) }}
{{corpusService.currentText}}
- - - - -
-

{{ 'TEXT_COMPLEXITY' | translate }}

-
-
-
- -
-
-
- - {{ 'GENERATE_FILE_DOCX' | translate }} -
- - {{ 'GENERATE_FILE_PDF' | translate }} -
- - {{ 'VOCABULARY_CHECK' | translate }}
- - {{ "EXERCISE_SET_PARAMETERS" | translate}} + + + + + + +
+

{{ 'TEXT_COMPLEXITY' | translate }}

+
+
+ +
+ +
+
+
+ + + {{ 'GENERATE_FILE_DOCX' | translate }} + + + + + {{ 'GENERATE_FILE_PDF' | translate }} + + + + + {{ 'VOCABULARY_CHECK' | translate }} + + + + {{ "EXERCISE_SET_PARAMETERS" | translate}} + +
@@ -90,15 +101,12 @@ - - {{ 'BACK' | translate }} + + {{ 'BACK' | translate }} - - - - \ No newline at end of file + diff --git a/src/app/text-range/text-range.page.html b/src/app/text-range/text-range.page.html index 3e1b04587f312e96a0046e3b88ef9b83c8f7f84f..fa7384997932a24c20069a2a6895f753ab372f9f 100644 --- a/src/app/text-range/text-range.page.html +++ b/src/app/text-range/text-range.page.html @@ -2,15 +2,13 @@ -
- - {{corpusService.currentCorpus?.title}} -
+ + {{corpusService.currentCorpus?.title}} @@ -20,7 +18,6 @@ -

{{'TEXT_RANGE' | translate}}

@@ -30,35 +27,32 @@
+ (ngModelChange)="showFurtherReferences(true).then()" + placeholder="{{ corpusService.currentCorpus?.citation_level_1 }}" (focus)="currentInputId = 1" + (blur)="resetCurrentInputId()"/> + [(ngModel)]="corpusService.currentTextRange.start[1]" id="input2" + (ngModelChange)="showFurtherReferences(true).then()" + placeholder="{{ corpusService.currentCorpus?.citation_level_2 }}" (focus)="currentInputId = 2" + (blur)="resetCurrentInputId()" + disabled="{{!corpusService.currentCorpus?.citations.hasOwnProperty(corpusService.currentTextRange.start[0])}}"/> + [(ngModel)]="corpusService.currentTextRange.start[2]" id="input3" + (ngModelChange)="showFurtherReferences(true).then()" + placeholder="{{ corpusService.currentCorpus?.citation_level_3 }}" (focus)="currentInputId = 3" + (blur)="resetCurrentInputId()" disabled="{{isInputDisabled(true)}}"/>
- - - @@ -67,9 +61,9 @@ + *ngFor="let key of ObjectKeys(corpusService.currentCorpus.citations[corpusService.currentTextRange.start[0]].subcitations)"> @@ -78,9 +72,9 @@ + *ngFor="let key of ObjectKeys(corpusService.currentCorpus.citations[corpusService.currentTextRange.start[0]].subcitations[corpusService.currentTextRange.start[1]].subcitations)"> @@ -95,35 +89,32 @@ + (ngModelChange)="showFurtherReferences(false).then()" + placeholder="{{ corpusService.currentCorpus?.citation_level_1 }}" (focus)="currentInputId = 4" + (blur)="resetCurrentInputId()"/> + [(ngModel)]="corpusService.currentTextRange.end[1]" id="input5" + (ngModelChange)="showFurtherReferences(false).then()" + placeholder="{{ corpusService.currentCorpus?.citation_level_2 }}" (focus)="currentInputId = 5" + (blur)="resetCurrentInputId()" + disabled="{{!corpusService.currentCorpus?.citations.hasOwnProperty(corpusService.currentTextRange.start[0])}}"/> + [(ngModel)]="corpusService.currentTextRange.end[2]" id="input6" + (ngModelChange)="showFurtherReferences(false).then()" + placeholder="{{ corpusService.currentCorpus?.citation_level_3 }}" (focus)="currentInputId = 6" + (blur)="resetCurrentInputId()" disabled="{{isInputDisabled(false)}}"/> - - - @@ -132,9 +123,9 @@ + *ngFor="let key of ObjectKeys(corpusService.currentCorpus.citations[corpusService.currentTextRange.end[0]].subcitations)"> @@ -143,9 +134,9 @@ + *ngFor="let key of ObjectKeys(corpusService.currentCorpus.citations[corpusService.currentTextRange.end[0]].subcitations[corpusService.currentTextRange.end[1]].subcitations)"> @@ -154,7 +145,7 @@ - {{ 'BACK' | translate }} + {{ 'BACK' | translate }} {{ "SHOW_TEXT" | translate }} @@ -164,4 +155,4 @@ - \ No newline at end of file + diff --git a/src/app/vocabulary-check/vocabulary-check.page.html b/src/app/vocabulary-check/vocabulary-check.page.html index 8162dc49d429d99b50b85d46eb137490910b0180..3acac3e9aa280e0b356c09ea76d9111fbccf4a3e 100644 --- a/src/app/vocabulary-check/vocabulary-check.page.html +++ b/src/app/vocabulary-check/vocabulary-check.page.html @@ -2,16 +2,13 @@ -
- - {{ 'VOCABULARY_CHECK' | translate }} - -
+ + {{ 'VOCABULARY_CHECK' | translate }} @@ -35,7 +32,7 @@