Révision 54800558 src/app/home/home.component.html
src/app/home/home.component.html | ||
---|---|---|
11 | 11 |
--> |
12 | 12 |
<ActionItem icon="res://menu" android:visibility="collapsed" (tap)="onDrawerButtonTap()" ios.position="left"> |
13 | 13 |
</ActionItem> |
14 |
<Label text="ClicAlbum"></Label> |
|
14 |
<Label text="AbulÉdu ClicAlbum"></Label>
|
|
15 | 15 |
</ActionBar> |
16 | 16 |
|
17 | 17 |
<ScrollView> |
18 |
<GridLayout class="page__content" columns="*"> |
|
19 |
<StackLayout row="0" orientation="vertical" padding="10"> |
|
20 |
<Label text="1. Prenez une photo ou choisissez-en une de votre galerie" class="label" textAlignment="left" autocorrect="true"></Label> |
|
21 |
<GridLayout columns="*,*"> |
|
22 |
<Button id="btnTakePicture" col="0" text="Appareil photo" (tap)='onTakePictureTap($event)' padding="10" class="-primary"></Button> |
|
23 |
<Button id="btnGetPictureFromRoll" col="1" text="Galerie" (tap)='onGetPictureFromRollTap($event)' padding="10" class="-primary"></Button> |
|
24 |
</GridLayout> |
|
25 |
<Label text="2. Donnez un nom à cette photo" class="label" textAlignment="left" autocorrect="true"></Label> |
|
26 |
<TextField id="label" hint="" secure="false" maxLength="50"> |
|
27 |
</TextField> |
|
28 |
<Label text="2.bis Un petit descriptif si vous voulez" class="legende" textAlignment="left" autocorrect="true"></Label> |
|
29 |
<TextView id="legende" hint="" autocorrect="true" maxLength="512" secure="false" [text]="legende"> |
|
30 |
</TextView> |
|
31 |
<Label text="3. Entrez le nom de l'album collaboratif" class="label" textAlignment="left"></Label> |
|
32 |
<TextField id="album" [text]="album" hint="" secure="false" maxLength="50" (blur)="onBlur($event)"> |
|
33 |
</TextField> |
|
34 |
<Label text="4. Entrez le mot de passe de l'album (si nécessaire)" class="label" textAlignment="left"></Label> |
|
35 |
<TextField id="albumPass" [text]="albumPass" hint="" secure="false" maxLength="50" (blur)="onBlur($event)"> |
|
36 |
</TextField> |
|
37 |
<Label text="5. Envoyez la photo sur le serveur" class="label" textAlignment="left"></Label> |
|
38 |
<Button id="btnSendPicture" text="Envoyer la photo" (tap)='onSendPictureTap($event)' padding="10" class="-primary" [isEnabled]="hasPicture"></Button> |
|
39 |
<Label text="6. Regardez l'album sur https://{{serverURI}}/{{album}}" class="label" textAlignment="left"></Label> |
|
40 |
<Button id="btnGotoWeb" text="Aller sur https://{{serverURI}}/{{album}}" (tap)='onGotoWebTap($event)' padding="10" class="-primary"></Button> |
|
41 |
<ActivityIndicator id="busyIndicator" [busy]="isBusy" (busyChange)="onBusyChanged($event)"></ActivityIndicator> |
|
42 |
<Image [src]="cameraImage" stretch="aspectFit" margin="10"></Image> |
|
43 |
</StackLayout> |
|
44 |
</GridLayout> |
|
18 |
<StackLayout> |
|
19 |
<GridLayout class="page__content" columns="*"> |
|
20 |
<StackLayout row="0" orientation="vertical" padding="10"> |
|
21 |
<Label text="1. Prenez une photo ou choisissez-en une de votre galerie" class="label" textAlignment="left" autocorrect="true"></Label> |
|
22 |
<GridLayout columns="*,*"> |
|
23 |
<Button id="btnTakePicture" col="0" text="Appareil photo" (tap)='onTakePictureTap($event)' padding="10" class="-primary"></Button> |
|
24 |
<Button id="btnGetPictureFromRoll" col="1" text="Galerie" (tap)='onGetPictureFromRollTap($event)' padding="10" class="-primary"></Button> |
|
25 |
</GridLayout> |
|
26 |
<Label text="2. Donnez un nom à cette photo" class="label" textAlignment="left" autocorrect="true"></Label> |
|
27 |
<TextField id="label" hint="" secure="false" maxLength="50"> |
|
28 |
</TextField> |
|
29 |
<Label text="2.bis Un petit descriptif si vous voulez" class="legende" textAlignment="left" autocorrect="true"></Label> |
|
30 |
<TextView id="legende" hint="" autocorrect="true" maxLength="512" secure="false" [text]="legende"> |
|
31 |
</TextView> |
|
32 |
<Label text="3. Entrez le nom de l'album collaboratif" class="label" textAlignment="left"></Label> |
|
33 |
<TextField id="album" [text]="album" hint="" secure="false" maxLength="50" (blur)="onBlur($event)"> |
|
34 |
</TextField> |
|
35 |
<Label text="4. Entrez le mot de passe de l'album (si nécessaire)" class="label" textAlignment="left"></Label> |
|
36 |
<TextField id="albumPass" [text]="albumPass" hint="" secure="false" maxLength="50" (blur)="onBlur($event)"> |
|
37 |
</TextField> |
|
38 |
<Label text="5. Envoyez la photo sur le serveur" class="label" textAlignment="left"></Label> |
|
39 |
<Button id="btnSendPicture" text="Envoyer la photo" (tap)='onSendPictureTap($event)' padding="10" class="-primary" [isEnabled]="hasPicture"></Button> |
|
40 |
<Label text="6. Regardez l'album sur https://{{serverURI}}/{{album}}" class="label" textAlignment="left"></Label> |
|
41 |
<Button id="btnGotoWeb" text="Aller sur https://{{serverURI}}/{{album}}" (tap)='onGotoWebTap($event)' padding="10" class="-primary"></Button> |
|
42 |
<ActivityIndicator id="busyIndicator" [busy]="isBusy" (busyChange)="onBusyChanged($event)"></ActivityIndicator> |
|
43 |
<Image [src]="cameraImage" stretch="aspectFit" margin="10"></Image> |
|
44 |
</StackLayout> |
|
45 |
</GridLayout> |
|
46 |
</StackLayout> |
|
45 | 47 |
</ScrollView> |
Formats disponibles : Unified diff