Subversion Repository Public Repository

Nextrek

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<Page
    x:Class="SmartCharging.StandardUserLoggedInPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SmartCharging"
   
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    
    <Grid x:Name="LayoutRoot" Background="#2cdaff">



        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="10"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>


        <!--<Image Grid.Row="0" Source="Assets/splash-half.png" NineGrid="0" IsHoldingEnabled="False" IsHitTestVisible="False" IsDoubleTapEnabled="False" IsRightTapEnabled="False" IsTapEnabled="False" RenderTransformOrigin="0.5,0.5" >
        </Image>-->

        <local:Header Grid.Row="0"></local:Header>

        <!--TODO: Content should be placed within the following grid-->
        <Rectangle Grid.Row="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Stroke="White" Fill="White" ></Rectangle>
        <Grid Grid.Row="2" x:Name="LoginFormContainer" Background="#ffffff" >
            <Grid.RowDefinitions>
                <RowDefinition Height="2*" />
                
                <RowDefinition Height="2*"/>
               
                <RowDefinition Height="2*"/>
                
                <RowDefinition Height="2*"/>
                
                <RowDefinition Height="*"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"></ColumnDefinition>
                <ColumnDefinition Width="3*"></ColumnDefinition>
                <ColumnDefinition Width="3*"></ColumnDefinition>
                <ColumnDefinition Width="*"></ColumnDefinition>
            </Grid.ColumnDefinitions>

            <Button x:ConnectionId='1' x:Name="ManageSiteButton" x:Uid="ManageSiteButton" Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" Style="{StaticResource ButtonStyleFlat}" Content="Gestione locale" FontSize="14" Padding="0,0,10,0" BorderThickness="0" Margin="0,3,3,3" Background="#FFD1D1D1"                                  Foreground="#FF666666"/>


            <Button x:ConnectionId='2' x:Name="RechargeNowButton" x:Uid="ChargeNowButton" Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Style="{StaticResource ButtonStyleFlat}" Content="Ricarica al più presto" FontSize="14" Padding="0,0,10,0" BorderThickness="0" Margin="0,3,3,3" Background="#FF564966"                                  />


            <Button x:ConnectionId='3' x:Name="ChargeWithPreferenceButton" x:Uid="ChargeWithPreferenceButton"  Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2"  BorderBrush="#FF564966" Content="Ricarica con preferenze" Foreground="#FF564966" Margin="0" Height="64" Style="{StaticResource ButtonStyleFlat}" FontSize="14"                                            IsEnabled="False" />


            <!--<ComboBox x:Name="SiteTypeCombo" x:Uid="SiteTypeCombo" PlaceholderText="Tipologie di locali" Grid.Row="2" Grid.RowSpan="100" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Header="" Foreground="#FF666666" Background="#FFD1D1D1" SelectionChanged="SiteTypeCombo_SelectionChanged" MaxDropDownHeight="50" VerticalContentAlignment="Stretch" VerticalAlignment="Top" Height="60" BorderThickness="1">

                <ComboBoxItem>
                    <x:String>Item 1</x:String>
                </ComboBoxItem>
                <ComboBoxItem>
                    <x:String>Item 2</x:String>
                </ComboBoxItem>
                <ComboBoxItem>
                    <x:String>Item 3</x:String>
                </ComboBoxItem>
                <ComboBoxItem>
                    <x:String>Item 4</x:String>
                </ComboBoxItem>
                <ComboBoxItem>
                    <x:String>Item 5</x:String>
                </ComboBoxItem>
                </ComboBox>-->

            <Button x:Name="SiteTypeButton"  x:Uid="SiteTypeButton" Content="Scegli la tipologia di locali" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" Style="{StaticResource ButtonStyleFlat}"  FontSize="14" Padding="0,0,10,0" BorderThickness="0" Margin="0,3,3,3" Background="#FFD1D1D1" Foreground="#FF666666">
                
                <Button.Flyout >
                    <Flyout >
                        <ScrollViewer ScrollViewer.VerticalScrollBarVisibility="Auto">
                            <ListView x:Name="SiteTypeList">
                                <ListView.ItemsPanel>
                                    <ItemsPanelTemplate>
                                        <StackPanel Orientation="Vertical"></StackPanel>
                                    </ItemsPanelTemplate>
                                </ListView.ItemsPanel>
                                <ListView.ItemTemplate>
                                    <DataTemplate>
                                        <ListBoxItem x:ConnectionId='4' Content="{Binding Label}" FontSize="20"                             Margin="10,10"></ListBoxItem>
                                    </DataTemplate>
                                </ListView.ItemTemplate>
                        </ListView>
                        </ScrollViewer>
                    </Flyout>
                   
                </Button.Flyout>
            </Button>

    
        </Grid>

        <ProgressRing x:Name="Loader" IsActive="True" Grid.RowSpan="100" Grid.ColumnSpan="100" Background="#99000000" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsHitTestVisible="True" Visibility="Collapsed" Foreground="#FF2CDAFF"/>


    </Grid>
</Page>

Commits for Nextrek/Android/SmartCharging/SmartCharging_WP/SmartCharging/obj/Release/StandardUserLoggedInPage.xaml

Diff revisions: vs.
Revision Author Commited Message
799 JMBauan picture JMBauan Thu 08 Oct, 2015 13:36:32 +0000