Commit a2936bf9 authored by Konstantin Schulz's avatar Konstantin Schulz

fixed the position of selection hints in the exercise parameters page

parent eeeb3d9c
Pipeline #15859 passed with stages
in 2 minutes and 45 seconds
......@@ -77,19 +77,19 @@
<label>
<h2 class="label">{{ 'QUERY_VALUE' | translate }}</h2>
<select [(ngModel)]="query.selectedValues" name="queryValue" multiple
size="{{Math.min(query.availableValues.length, 20)}}">
size="{{Math.min(query.availableValues.length, 17)}}">
<option *ngFor="let key of query.availableValues"
[value]=key>{{ getDisplayValue(query, key, i) }}
</option>
</select>
</label>
<br>
<p style="font-size: small;">
{{ 'EXERCISE_SEARCH_HELP_TITLE' | translate}}<br>
{{ 'EXERCISE_SEARCH_HELP_SELECT_1' | translate}}<br>
{{ 'EXERCISE_SEARCH_HELP_SELECT_2' | translate}}
</p>
</ng-template>
<br>
<p style="font-size: small;">
{{ 'EXERCISE_SEARCH_HELP_TITLE' | translate}}<br>
{{ 'EXERCISE_SEARCH_HELP_SELECT_1' | translate}}<br>
{{ 'EXERCISE_SEARCH_HELP_SELECT_2' | translate}}
</p>
</ion-col>
</ion-row>
</ion-grid>
......
......@@ -121,8 +121,8 @@ export class HelperService {
public storage: Storage,
public translate: TranslateService,
) {
this.initConfig();
this.initLanguage();
this.initConfig();
this.initApplicationState();
}
......
......@@ -12,8 +12,8 @@
<div>
<ion-spinner *ngIf="helperService.openRequests.length"></ion-spinner>
<ion-select [(ngModel)]="helperService.currentLanguage" (ngModelChange)="changeLanguage($event)"
name="currentLanguage" placeholder="{{helperService.currentLanguage?.name}}"
aria-label="currentLanguage">
name="currentLanguage" aria-label="currentLanguage"
placeholder="{{helperService.currentLanguage?.name}}">
<ion-select-option *ngFor="let lang of helperService.languages" value="{{lang.shortcut}}">
{{lang.name}}</ion-select-option>
</ion-select>
......@@ -65,7 +65,7 @@
<p>
<ion-button
(click)="helperService.goToPage(navCtrl, configMC.pageUrlExerciseList)">
{{ 'CONTINUE' | translate }}
{{ 'CONTINUE' | translate }}
</ion-button>
</p>
</div>
......
......@@ -6,6 +6,10 @@
height: 40%;
}
[name="currentLanguage"] {
--placeholder-opacity: 1.0;
}
// celebration (balloons) background for the front page
//ion-content {
// --background: url('https://banner2.kisspng.com/20180309/qye/kisspng-toy-balloon-logo-round-balloon-5aa24037188f43.2515953015205827111007.jpg') no-repeat 50% 40%/500px 30%;
......
......@@ -380,7 +380,7 @@
"TUTORIAL_SOFTWARE_Q3": "Zu welchem Werk gibt es die meisten Übungen?",
"TUTORIAL_SOFTWARE_TITLE": "Fragen zur Software",
"TUTORIAL_TEXTS_Q1": "Mit welchem Vokabular erreiche ich eine höhere Textabdeckung für das erste Kapitel aus Caesars Bellum Gallicum: VIVA oder Bamberger Wortschatz?",
"TUTORIAL_TEXTS_Q2": " Welcher Text enthält mehr Ablativi Absoluti: die ersten 58 Sätze der Vulgata oder die ersten 17 Sätze aus Ciceros 'De officiis'?",
"TUTORIAL_TEXTS_Q2": " Welcher Text enthält mehr Ablativi Absoluti: die ersten 23 Sätze der Peregrinatio Aetheriae oder die ersten 22 Sätze aus Ciceros 'De officiis'?",
"TUTORIAL_TEXTS_TITLE": "Passende Textstellen finden",
"TYPE": "Typ",
"UNIT_APPLICATION_TITLE": "Wortschatzarbeit am Text",
......
......@@ -380,7 +380,7 @@
"TUTORIAL_SOFTWARE_Q3": "For which work are there the most exercises?",
"TUTORIAL_SOFTWARE_TITLE": "Software questions",
"TUTORIAL_TEXTS_Q1": "With which vocabulary do I achieve a higher text coverage for the first chapter of Caesar's Bellum Gallicum: VIVA or Bamberg vocabulary?",
"TUTORIAL_TEXTS_Q2": "Which text contains more Ablativi Absoluti: the first 58 sentences of the Vulgate or the first 17 sentences of Cicero's 'De officiis'?",
"TUTORIAL_TEXTS_Q2": "Which text contains more Ablativi Absoluti: the first 23 sentences of the Peregrinatio Aetheriae or the first 22 sentences of Cicero's 'De officiis'?",
"TUTORIAL_TEXTS_TITLE": "Find suitable texts",
"TYPE": "Type",
"UNIT_APPLICATION_TITLE": "Vocabulary work on text",
......
......@@ -138,7 +138,7 @@
margin: auto;
text-align: center;
}
.hide {
display: none;
}
......@@ -184,7 +184,7 @@
overflow: hidden;
background-color: #f2f2f2;
}
.topnav a {
float: left;
display: block;
......@@ -194,21 +194,21 @@
text-decoration: none;
font-size: 1.0em;
}
.topnav a:hover {
background-color: #003366;
color: #f2f2f2;
}
.topnav a.active {
background-color: #003366;
color: #f2f2f2;
}
.topnav .icon {
display: none;
}
/* The dropdown container */
.dropdown {
float: left;
......@@ -234,7 +234,7 @@
display: block;
}
}
@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive .icon {
......
export const version = '2.4.2';
export const version = '';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment