Nextrek
@ 799
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 |
<Page x:Class="SmartCharging.SettingsPage" 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="#FF2CDAFF"> <Grid.RowDefinitions> <RowDefinition Height="150"/> <RowDefinition Height="5"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <StackPanel Orientation="Vertical" Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Center"> <Image Width="80" Source="Assets/ic_settings_white_24dp.png" > </Image> <TextBlock Text="Impostazioni" x:Uid="SettingsTextBlock" VerticalAlignment="Center" FontSize="29" Margin="0,0,5,0"/> </StackPanel> <!--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="*"></RowDefinition> <RowDefinition Height="70" /> <!--username input--> <RowDefinition Height="70"/> <RowDefinition Height="3*"></RowDefinition> <!--password input--> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"></ColumnDefinition> <ColumnDefinition Width="3*"></ColumnDefinition> <ColumnDefinition Width="3*"></ColumnDefinition> <ColumnDefinition Width="*"></ColumnDefinition> </Grid.ColumnDefinitions> <Button x:Name="LogoutButton" x:Uid="LogoutButton" Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" BorderBrush="#FF564966" Content="Logout" Foreground="#FF564966" Margin="0" Height="64" Style="{StaticResource ButtonStyleFlat}" Tapped="LogoutButton_Tapped" /> <Button x:Name="CancelAccountButton" x:Uid="CancelAccountButton" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" BorderBrush="#FF564966" Content="Cancella Account" Foreground="#FF564966" Margin="0" Height="64" Style="{StaticResource ButtonStyleFlat}" Tapped="CancelAccountButton_Tapped" /> <StackPanel Orientation="Vertical" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="3" > <TextBlock x:Name="BatteryControlTesxBlock" Text="Controllo Livello Batteria" Foreground="#FF2CDAFF" FontSize="27" Margin="0,23,0,0" ></TextBlock> <ToggleSwitch x:Name="BatteryToastToggleSwitch" x:Uid="BatteryToastToggleSwitch" OffContent="Non abilitato" OnContent="Abilitato" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="0,0,4,0" Foreground="#FF2CDAFF" HorizontalContentAlignment="Left" Style="{StaticResource ToggleSwitchStyleDefault}" FontSize="10" Height="95" Tapped="BatteryToastToggleSwitch_Tapped" IsOn="True" Toggled="BatteryToastToggleSwitch_Toggled" /> </StackPanel> </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> |