Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / src / app / home / home.component.html @ 54800558

Historique | Voir | Annoter | Télécharger (3,21 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="AbulÉdu ClicAlbum"></Label>
15
</ActionBar>
16

    
17
<ScrollView>
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>
47
</ScrollView>
Redmine Appliance - Powered by TurnKey Linux