54 lines
2.2 KiB
XML
54 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<pages:BaseContentPage
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="Bit.App.Pages.HomePage"
|
|
xmlns:pages="clr-namespace:Bit.App.Pages"
|
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
|
x:DataType="pages:HomeViewModel"
|
|
Title="{Binding PageTitle}">
|
|
<ContentPage.BindingContext>
|
|
<pages:HomeViewModel />
|
|
</ContentPage.BindingContext>
|
|
|
|
<ContentPage.ToolbarItems>
|
|
<ToolbarItem Text="{u:I18n Close}" Clicked="Close_Clicked" Order="Primary" Priority="-1" />
|
|
</ContentPage.ToolbarItems>
|
|
|
|
<StackLayout Spacing="0" Padding="10, 5">
|
|
<controls:FaButton Text=""
|
|
StyleClass="btn-muted, btn-icon, btn-icon-platform"
|
|
HorizontalOptions="Start"
|
|
Clicked="Environment_Clicked"
|
|
AutomationProperties.IsInAccessibleTree="True"
|
|
AutomationProperties.Name="{u:I18n Options}">
|
|
<controls:FaButton.Margin>
|
|
<OnPlatform x:TypeArguments="Thickness">
|
|
<On Platform="iOS" Value="0, 10, 0, 0" />
|
|
<On Platform="Android" Value="0" />
|
|
</OnPlatform>
|
|
</controls:FaButton.Margin>
|
|
</controls:FaButton>
|
|
<StackLayout VerticalOptions="CenterAndExpand" Spacing="20">
|
|
<Image
|
|
x:Name="_logo"
|
|
Source="logo.png"
|
|
VerticalOptions="Center" />
|
|
<Label Text="{u:I18n LoginOrCreateNewAccount}"
|
|
StyleClass="text-lg"
|
|
HorizontalTextAlignment="Center"></Label>
|
|
<StackLayout Spacing="5">
|
|
<Button Text="{u:I18n LogIn}"
|
|
StyleClass="btn-primary"
|
|
Clicked="LogIn_Clicked" />
|
|
<Button Text="{u:I18n CreateAccount}"
|
|
Clicked="Register_Clicked" />
|
|
<Button Text="{u:I18n LogInSso}"
|
|
Clicked="LogInSso_Clicked" />
|
|
</StackLayout>
|
|
</StackLayout>
|
|
</StackLayout>
|
|
|
|
</pages:BaseContentPage>
|