1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-27 03:52:57 +02:00
bitwarden-mobile/src/App/Pages/Accounts/HomePage.xaml

55 lines
2.3 KiB
Plaintext
Raw Normal View History

2019-03-28 22:10:10 +01:00
<?xml version="1.0" encoding="utf-8" ?>
2019-05-07 05:30:54 +02:00
<pages:BaseContentPage
2019-03-28 22:10:10 +01:00
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Bit.App.Pages.HomePage"
2019-03-29 04:52:33 +01:00
xmlns:pages="clr-namespace:Bit.App.Pages"
2019-05-02 18:20:56 +02:00
xmlns:controls="clr-namespace:Bit.App.Controls"
2019-04-22 19:47:45 +02:00
xmlns:u="clr-namespace:Bit.App.Utilities"
2022-01-21 10:31:03 +01:00
xmlns:core="clr-namespace:Bit.Core;assembly=BitwardenCore"
2019-03-29 14:16:22 +01:00
x:DataType="pages:HomeViewModel"
2019-03-29 04:52:33 +01:00
Title="{Binding PageTitle}">
2019-03-28 22:10:10 +01:00
<ContentPage.BindingContext>
2019-03-29 04:52:33 +01:00
<pages:HomeViewModel />
2019-03-28 22:10:10 +01:00
</ContentPage.BindingContext>
<ContentPage.ToolbarItems>
<ToolbarItem Text="{u:I18n Close}" Clicked="Close_Clicked" Order="Primary" Priority="-1" />
</ContentPage.ToolbarItems>
2019-03-28 22:10:10 +01:00
2019-05-02 18:20:56 +02:00
<StackLayout Spacing="0" Padding="10, 5">
2022-01-21 10:31:03 +01:00
<controls:IconButton Text="{Binding Source={x:Static core:BitwardenIcons.Cog}}"
2019-05-02 18:20:56 +02:00
StyleClass="btn-muted, btn-icon, btn-icon-platform"
HorizontalOptions="Start"
Clicked="Environment_Clicked"
2019-07-22 18:04:17 +02:00
AutomationProperties.IsInAccessibleTree="True"
AutomationProperties.Name="{u:I18n Options}">
2022-01-21 10:31:03 +01:00
<controls:IconButton.Margin>
<OnPlatform x:TypeArguments="Thickness">
<On Platform="iOS" Value="0, 10, 0, 0" />
<On Platform="Android" Value="0" />
</OnPlatform>
2022-01-21 10:31:03 +01:00
</controls:IconButton.Margin>
</controls:IconButton>
2019-05-02 18:26:09 +02:00
<StackLayout VerticalOptions="CenterAndExpand" Spacing="20">
2019-05-29 23:14:15 +02:00
<Image
x:Name="_logo"
Source="logo.png"
2019-04-19 13:42:36 +02:00
VerticalOptions="Center" />
2019-04-22 19:47:45 +02:00
<Label Text="{u:I18n LoginOrCreateNewAccount}"
2019-05-02 18:20:56 +02:00
StyleClass="text-lg"
2019-04-19 13:42:36 +02:00
HorizontalTextAlignment="Center"></Label>
2019-05-02 18:26:09 +02:00
<StackLayout Spacing="5">
<Button Text="{u:I18n LogIn}"
StyleClass="btn-primary"
Clicked="LogIn_Clicked" />
2019-05-02 18:26:09 +02:00
<Button Text="{u:I18n CreateAccount}"
Clicked="Register_Clicked" />
<Button Text="{u:I18n LogInSso}"
Clicked="LogInSso_Clicked" />
2019-05-02 18:26:09 +02:00
</StackLayout>
2019-04-19 13:42:36 +02:00
</StackLayout>
2019-03-28 22:10:10 +01:00
</StackLayout>
2019-05-07 05:30:54 +02:00
</pages:BaseContentPage>