root / src / app / settings / settings.component.html @ dc3b59bd
Historique | Voir | Annoter | Télécharger (3,51 ko)
1 |
<ActionBar>
|
---|---|
2 |
<!--
|
3 |
Use the NavigationButton as a side-drawer button in Android
|
4 |
because ActionItems are shown on the right side of the ActionBar
|
5 |
-->
|
6 |
<NavigationButton ios:visibility="collapsed" icon="res://menu" (tap)="onDrawerButtonTap()"></NavigationButton> |
7 |
<!--
|
8 |
Use the ActionItem for IOS with position set to left. Using the
|
9 |
NavigationButton as a side-drawer button in iOS is not possible,
|
10 |
because its function is to always navigate back in the application.
|
11 |
-->
|
12 |
<ActionItem icon="res://menu" android:visibility="collapsed" (tap)="onDrawerButtonTap()" ios.position="left"> |
13 |
</ActionItem>
|
14 |
<Label text="Configuration"></Label> |
15 |
</ActionBar>
|
16 |
|
17 |
<ScrollView>
|
18 |
<GridLayout class="page__content"> |
19 |
<StackLayout row="0" orientation="vertical" padding="5"> |
20 |
<TextView row="1" editable="false" text="Bonjour, c'est la première fois que vous lancez cette application, veuillez renseigner les informations ci-dessous et cliquer ensuite sur le bouton Enregistrer" class="label"></TextView> |
21 |
<Label row="2" text="Choisissez un pseudo (sans accents ni caractères spéciaux)" class="label font-weight-bold m-b-5"></Label> |
22 |
<TextField row="3" id="pseudo" keyboardType="email" hint="" [text]='pseudo' secure="false" returnKeyType="done" (returnPress)="onReturnPress($event)" autocorrect="false" maxLength="20" (blur)="onBlur($event)" class="-primary"></TextField> |
23 |
<Label row="4" text="Entrez votre adresse email" class="label font-weight-bold m-b-5"></Label> |
24 |
<TextField row="5" id="email" keyboardType="email" hint="" [text]='email' secure="false" returnKeyType="done" (returnPress)="onReturnPress($event)" autocorrect="true" maxLength="50" class="-primary"></TextField> |
25 |
<!-- <Label row="6" text="Choisissez le serveur de transfert (cliquez pour changer)" class="label font-weight-bold m-b-5"></Label> -->
|
26 |
|
27 |
<StackLayout row="6"> |
28 |
<Label class="p-10" text="Choisissez le serveur de stockage que vous voulez utiliser:" textWrap="true"></Label> |
29 |
<StackLayout class="p-10" *ngFor="let option of radioOptions"> |
30 |
<StackLayout orientation="horizontal" verticalAlignment="center"> |
31 |
<CheckBox #elem [checked]="option.selected" (checkedChange)="elem.checked !== option.selected && changeCheckedRadio(option)" class="checkbox" boxType="circle"></CheckBox> |
32 |
<StackLayout verticalAlignment="center"> |
33 |
<Label [text]="option.label" textWrap="true" (tap)="changeCheckedRadio(option)"></Label> |
34 |
</StackLayout>
|
35 |
</StackLayout>
|
36 |
</StackLayout>
|
37 |
<!-- <Label class="p-10" text="Si vous voulez ajouter votre serveur dans la liste, prenez contact avec nous... https://cap-rel.fr/contact/" textWrap="true"></Label> -->
|
38 |
</StackLayout>
|
39 |
|
40 |
<!-- <ListPicker row="7" id="serverList" [items]="serversLabel" class="picker" class="-primary"></ListPicker> -->
|
41 |
<!-- <DropDown itemsTextAlignment="center" backgroundColor="#aaa" class="picker" [(ngModel)]="selectedIndex" [items]="serversLabel" [(ngModel)]="selectedIndex"></DropDown> -->
|
42 |
<!-- <Button row="7" id="btnChooseSrv" text="Choisir un serveur" (tap)='onChooseServerTap($event)' padding="10" class="-primary"></Button> -->
|
43 |
|
44 |
<Button row="8" id="btnSave" text="Enregistrer" (tap)='onSaveTap($event)' padding="10" class="-primary"></Button> |
45 |
</StackLayout>
|
46 |
</GridLayout>
|
47 |
</ScrollView>
|