Subversion Repository Public Repository

Nextrek

Diff Revisions 690 vs 691 for /Android/SmartCharging/SmartCharging_WP/SmartCharging/SiteOwnerRegistrationPage.xaml

Diff revisions: vs.
  @@ -29,6 +29,7 @@
29 29 </Border>
30 30
31 31 <StackPanel Orientation="Vertical" Grid.Row="1" HorizontalAlignment="Stretch" Margin="40,20">
32 +
32 33 <ToggleSwitch x:Name="UserTypeToggleSwitch" x:Uid="UserTypeToggleSwitch" OffContent="Utente" OnContent="Gestore Locale" VerticalAlignment="Center" HorizontalAlignment="Right" Padding="0,0,4,0" Foreground="#FF2CDAFF" HorizontalContentAlignment="Left" Style="{StaticResource ToggleSwitchStyleDefault}" Toggled="UserTypeToggleSwitch_Toggled" />
33 34
34 35 <TextBox PlaceholderText="Nome" x:Uid="NameTextBox" x:Name="NameInput" Style="{StaticResource TextBoxStyleDefault}" Margin="0,5" Padding="0,10" BorderBrush="White" />
  @@ -63,7 +64,23 @@
63 64 </Button>
64 65
65 66 <TextBox PlaceholderText="Username" x:Name="UsernameInput" x:Uid="UsernameTextBox" Style="{StaticResource TextBoxStyleDefault}" Margin="0,5" Padding="0,10"/>
67 +
68 +
66 69 <PasswordBox x:Name="PasswordInput" PlaceholderText="Password" x:Uid="Password" Style="{StaticResource PasswordBoxStyleDefault}" Margin="0,5" Padding="0,10"/>
70 + <!--<Button x:Name="SetSiteLocationButton" x:Uid="SetSiteLocationButton" Content="Imposta posizione locale" Style="{StaticResource ButtonStyleFlat}" FontSize="14" Padding="0,0,10,0" BorderThickness="0" Margin="0,3,3,3" Background="#FFD1D1D1" Foreground="#FF666666">
71 +
72 + <Button.Flyout >
73 + <Flyout >
74 + <Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
75 + <local:MapAddressSelectorControl></local:MapAddressSelectorControl>
76 + </Grid>
77 + </Flyout>
78 +
79 + </Button.Flyout>
80 + </Button>-->
81 + <TextBlock x:Name="SetLocationTextBlock" x:Uid="SetLocationTextBlock" Text="Imposta la posizione del locale" Foreground="#FF2CDAFF" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18" FontWeight="SemiBold" Visibility="{Binding ElementName=UserTypeToggleSwitch, Path=IsOn, Converter={StaticResource BoolToVisibilityConverter}}" Margin="0,20"></TextBlock>
82 +
83 + <local:MapAddressSelectorControl Margin="-38,0" Visibility="{Binding ElementName=UserTypeToggleSwitch, Path=IsOn, Converter={StaticResource BoolToVisibilityConverter}}"></local:MapAddressSelectorControl>
67 84 <local:MultipleImagePicker x:Name="SiteImagePicker" Visibility="{Binding ElementName=UserTypeToggleSwitch, Path=IsOn, Converter={StaticResource BoolToVisibilityConverter}}"></local:MultipleImagePicker>
68 85 <Button x:Name="SubmitButton" BorderBrush="#FF564966" Content="Registrati" x:Uid="RegisterButton" Foreground="#FF564966" Margin="0,25,0,0" Height="64" Style="{StaticResource ButtonStyleFlat}" VerticalAlignment="Bottom" Tapped="SubmitButton_Tapped" />
69 86