Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

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

Historique | Voir | Annoter | Télécharger (2,36 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
            <Button id="btnTakePicture" row="1" text="1. Prendre une photo de ce que vous voulez" (tap)='onTakePictureTap($event)' padding="10" class="-primary"></Button>
21
            <Label row="2" text="2. Donner un nom à cette photo" class="label" textAlignment="center" autocorrect="true"></Label>
22
            <TextField row="3" id="label" hint="exercice 23" secure="false" maxLength="50">
23
            </TextField>
24
            <Label row="3" text="3. Entrer le nom de l'album collaboratif" class="label" textAlignment="center"></Label>
25
            <TextField row="4" id="album" [text]="album" hint="classe-12" secure="false" maxLength="50" (blur)="onBlur($event)">
26
            </TextField>
27
            <Label row="5" text="4. Entrer le mot de passe de l'album (si nécessaire)" class="label" textAlignment="center"></Label>
28
            <TextField row="6" id="albumPass" [text]="albumPass" hint="toto" secure="false" maxLength="50" (blur)="onBlur($event)">
29
            </TextField>
30
            <Button id="btnSendPicture" row="7" text="5. Envoyer la photo" (tap)='onSendPictureTap($event)' padding="10" class="-primary" [isEnabled]="hasPicture"></Button>
31
            <Label row="8" text="6. Regarder l'album sur https://{{serverURI}}/{{album}}" class="label" textAlignment="center"></Label>
32
            <Button id="btnGotoWeb" row="9" text="Aller sur https://{{serverURI}}/{{album}}" (tap)='onGotoWebTap($event)' padding="10" class="-primary"></Button>
33
            <Image row="10" [src]="cameraImage" stretch="aspectFit" margin="10"></Image>
34
        </StackLayout>
35
    </GridLayout>
36
</ScrollView>
Redmine Appliance - Powered by TurnKey Linux