|
|
|
@ -5,126 +5,137 @@
|
|
|
|
|
Title="ProfilePage"
|
|
|
|
|
BackgroundColor="{StaticResource BackgroundPrimary}">
|
|
|
|
|
|
|
|
|
|
<Grid
|
|
|
|
|
Margin="20"
|
|
|
|
|
RowDefinitions="Auto, *, Auto, Auto">
|
|
|
|
|
|
|
|
|
|
<!-- Profile and return button -->
|
|
|
|
|
<ScrollView>
|
|
|
|
|
<Grid
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
RowDefinitions="Auto, *"
|
|
|
|
|
ColumnDefinitions="*, 1.5*"
|
|
|
|
|
Margin="0, 0, 0, 40">
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<ImageButton
|
|
|
|
|
Grid.Column="0"
|
|
|
|
|
Margin="20"
|
|
|
|
|
RowDefinitions="Auto, Auto, Auto, *">
|
|
|
|
|
|
|
|
|
|
<!-- Profile label and return button -->
|
|
|
|
|
<Grid
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
RowDefinitions="Auto, *"
|
|
|
|
|
ColumnDefinitions="*, 1.5*"
|
|
|
|
|
Margin="0, 0, 0, 40">
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<ImageButton
|
|
|
|
|
Grid.Column="0"
|
|
|
|
|
|
|
|
|
|
HeightRequest="50"
|
|
|
|
|
WidthRequest="50"
|
|
|
|
|
Source="arrow_back.svg"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<Label
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|
FontSize="24"
|
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
|
Text="Profile"
|
|
|
|
|
FontFamily="PoppinsBold"
|
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
HeightRequest="50"
|
|
|
|
|
WidthRequest="50"
|
|
|
|
|
Source="arrow_back.svg"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<Label
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|
FontSize="24"
|
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
|
Text="Profile"
|
|
|
|
|
FontFamily="PoppinsBold"
|
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<!-- Profile picture and name -->
|
|
|
|
|
<Grid
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
RowDefinitions="*, Auto, Auto">
|
|
|
|
|
<!-- Profile picture and name -->
|
|
|
|
|
<Grid
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
RowDefinitions="*, Auto, Auto">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
StrokeShape="RoundRectangle 10000"
|
|
|
|
|
MaximumHeightRequest="150"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
Stroke="{StaticResource BackgroundPrimary}"
|
|
|
|
|
BackgroundColor="{StaticResource BackgroundSecondary}">
|
|
|
|
|
<ImageButton
|
|
|
|
|
<Border
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
Source="default_profile_picture.png"/>
|
|
|
|
|
</Border>
|
|
|
|
|
StrokeShape="RoundRectangle 10000"
|
|
|
|
|
MaximumHeightRequest="150"
|
|
|
|
|
MaximumWidthRequest="150"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
Stroke="{StaticResource BackgroundPrimary}"
|
|
|
|
|
BackgroundColor="{StaticResource BackgroundSecondary}">
|
|
|
|
|
<ImageButton
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
Source="default_profile_picture.png"/>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
FontSize="30"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
|
Text="%Profile_Name%"
|
|
|
|
|
FontFamily="PoppinsBold"/>
|
|
|
|
|
<Label
|
|
|
|
|
<Label
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
FontSize="30"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
|
Text="%Profile_Name%"
|
|
|
|
|
FontFamily="PoppinsBold"/>
|
|
|
|
|
<Label
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
FontSize="16"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
TextColor="{StaticResource TextColorSecondary}"
|
|
|
|
|
Text="Profile settings"
|
|
|
|
|
FontFamily="PoppinsBold"/>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<!-- User inputs -->
|
|
|
|
|
<Grid
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
FontSize="16"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
TextColor="{StaticResource TextColorSecondary}"
|
|
|
|
|
Text="Profile settings"
|
|
|
|
|
FontFamily="PoppinsBold"/>
|
|
|
|
|
Margin="0, 20, 0, 0"
|
|
|
|
|
RowDefinitions="Auto, *, Auto, *">
|
|
|
|
|
<Label
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
Text="Name"
|
|
|
|
|
FontFamily="PoppinsBold"
|
|
|
|
|
TextColor="{StaticResource TextColorSecondary}"/>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
<Border
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
StrokeShape="RoundRectangle 12"
|
|
|
|
|
Stroke="{StaticResource BackgroundSecondary}">
|
|
|
|
|
<Entry
|
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
|
PlaceholderColor="{StaticResource TextColorSecondary}"
|
|
|
|
|
BackgroundColor="{StaticResource BackgroundSecondary}"
|
|
|
|
|
Text="%Profile_Name%"
|
|
|
|
|
Placeholder="Place your name here"/>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<Grid
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
Margin="0, 20, 0, 0"
|
|
|
|
|
RowDefinitions="Auto, *, Auto, *">
|
|
|
|
|
<Label
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
Text="Name"
|
|
|
|
|
FontFamily="PoppinsBold"
|
|
|
|
|
TextColor="{StaticResource TextColorSecondary}"/>
|
|
|
|
|
<Label
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
Text="Your Email"
|
|
|
|
|
FontFamily="PoppinsBold"
|
|
|
|
|
TextColor="{StaticResource TextColorSecondary}"/>
|
|
|
|
|
<Border
|
|
|
|
|
Grid.Row="3"
|
|
|
|
|
StrokeShape="RoundRectangle 12"
|
|
|
|
|
Stroke="{StaticResource BackgroundSecondary}">
|
|
|
|
|
<Entry
|
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
|
PlaceholderColor="{StaticResource TextColorSecondary}"
|
|
|
|
|
BackgroundColor="{StaticResource BackgroundSecondary}"
|
|
|
|
|
Text="%Profile_Mail%"
|
|
|
|
|
FontFamily="PoppinsBold"
|
|
|
|
|
Placeholder="Place your mail address here"/>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
StrokeShape="RoundRectangle 12"
|
|
|
|
|
Stroke="{StaticResource BackgroundSecondary}">
|
|
|
|
|
<Entry
|
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
|
PlaceholderColor="{StaticResource TextColorSecondary}"
|
|
|
|
|
BackgroundColor="{StaticResource BackgroundSecondary}"
|
|
|
|
|
Text="%Profile_Name%"
|
|
|
|
|
Placeholder="Place your name here"/>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
Text="Your Email"
|
|
|
|
|
FontFamily="PoppinsBold"
|
|
|
|
|
TextColor="{StaticResource TextColorSecondary}"/>
|
|
|
|
|
<Border
|
|
|
|
|
|
|
|
|
|
<!-- Save button -->
|
|
|
|
|
|
|
|
|
|
<VerticalStackLayout
|
|
|
|
|
Grid.Row="3"
|
|
|
|
|
StrokeShape="RoundRectangle 12"
|
|
|
|
|
Stroke="{StaticResource BackgroundSecondary}">
|
|
|
|
|
<Entry
|
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
|
PlaceholderColor="{StaticResource TextColorSecondary}"
|
|
|
|
|
BackgroundColor="{StaticResource BackgroundSecondary}"
|
|
|
|
|
Text="%Profile_Mail%"
|
|
|
|
|
FontFamily="PoppinsBold"
|
|
|
|
|
Placeholder="Place your mail address here"/>
|
|
|
|
|
</Border>
|
|
|
|
|
VerticalOptions="End">
|
|
|
|
|
<Border
|
|
|
|
|
Margin="0, 30, 0, 0"
|
|
|
|
|
Stroke="{StaticResource BackgroundPrimary}"
|
|
|
|
|
StrokeShape="RoundRectangle 12">
|
|
|
|
|
<Label
|
|
|
|
|
HeightRequest="50"
|
|
|
|
|
BackgroundColor="{StaticResource ActionButton}"
|
|
|
|
|
HorizontalTextAlignment="Center"
|
|
|
|
|
VerticalTextAlignment="Center"
|
|
|
|
|
FontFamily="PoppinsBold"
|
|
|
|
|
Text="SAVE"/>
|
|
|
|
|
</Border>
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
|
Grid.Row="4"
|
|
|
|
|
Margin="0, 30, 0, 0"
|
|
|
|
|
Stroke="{StaticResource BackgroundPrimary}"
|
|
|
|
|
StrokeShape="RoundRectangle 12">
|
|
|
|
|
<Label
|
|
|
|
|
HeightRequest="50"
|
|
|
|
|
BackgroundColor="{StaticResource ActionButton}"
|
|
|
|
|
HorizontalTextAlignment="Center"
|
|
|
|
|
VerticalTextAlignment="Center"
|
|
|
|
|
FontFamily="PoppinsBold"
|
|
|
|
|
Text="LOG IN"/>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ContentPage>
|