Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / src / app / home / home.component.html @ 25220fd6

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

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