1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-06-30 11:14:51 +02:00
bitwarden-mobile/src/App/Pages/Accounts/LoginPage.xaml

35 lines
1.4 KiB
Plaintext
Raw Normal View History

2019-04-19 15:42:55 +02:00
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Bit.App.Pages.LoginPage"
xmlns:pages="clr-namespace:Bit.App.Pages"
2019-04-22 19:47:45 +02:00
xmlns:u="clr-namespace:Bit.App.Utilities"
2019-04-19 15:42:55 +02:00
xmlns:bv="clr-namespace:Bit.App.Controls.BoxedView"
x:DataType="pages:LoginPageViewModel"
Title="{Binding PageTitle}">
<ContentPage.BindingContext>
<pages:LoginPageViewModel />
</ContentPage.BindingContext>
<ContentPage.ToolbarItems>
2019-04-22 19:47:45 +02:00
<ToolbarItem Icon="cogs.png" Text="{u:I18n LogIn}" Clicked="LogIn_Clicked" />
2019-04-19 15:42:55 +02:00
</ContentPage.ToolbarItems>
<StackLayout>
<bv:BoxedView HasUnevenRows="True" VerticalOptions="Start">
<bv:BoxedSection HeaderHeight="0">
2019-04-22 19:47:45 +02:00
<bv:EntryCell Title="{u:I18n EmailAddress}"
2019-04-19 15:42:55 +02:00
ValueText="{Binding Email}" />
2019-04-22 19:47:45 +02:00
<bv:EntryCell Title="{u:I18n MasterPassword}"
2019-04-19 15:42:55 +02:00
ValueText="{Binding MasterPassword}"
IsPassword="True"
Button1Icon="cogs"
Button1Command="{Binding ShowPasswordCommand}" />
</bv:BoxedSection>
</bv:BoxedView>
2019-04-22 19:47:45 +02:00
<Button Text="{u:I18n GetPasswordHint}" VerticalOptions="EndAndExpand"></Button>
2019-04-19 15:42:55 +02:00
</StackLayout>
</ContentPage>