2019-04-19 16:42:55 +03: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 20:47:45 +03:00
|
|
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
2019-04-19 16:42:55 +03: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 20:47:45 +03:00
|
|
|
<ToolbarItem Icon="cogs.png" Text="{u:I18n LogIn}" Clicked="LogIn_Clicked" />
|
2019-04-19 16:42:55 +03:00
|
|
|
</ContentPage.ToolbarItems>
|
|
|
|
|
|
|
|
<StackLayout>
|
|
|
|
<bv:BoxedView HasUnevenRows="True" VerticalOptions="Start">
|
|
|
|
<bv:BoxedSection HeaderHeight="0">
|
2019-04-22 20:47:45 +03:00
|
|
|
<bv:EntryCell Title="{u:I18n EmailAddress}"
|
2019-04-19 16:42:55 +03:00
|
|
|
ValueText="{Binding Email}" />
|
2019-04-22 20:47:45 +03:00
|
|
|
<bv:EntryCell Title="{u:I18n MasterPassword}"
|
2019-04-19 16:42:55 +03:00
|
|
|
ValueText="{Binding MasterPassword}"
|
|
|
|
IsPassword="True"
|
|
|
|
Button1Icon="cogs"
|
|
|
|
Button1Command="{Binding ShowPasswordCommand}" />
|
|
|
|
</bv:BoxedSection>
|
|
|
|
</bv:BoxedView>
|
2019-04-22 20:47:45 +03:00
|
|
|
<Button Text="{u:I18n GetPasswordHint}" VerticalOptions="EndAndExpand"></Button>
|
2019-04-19 16:42:55 +03:00
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
</ContentPage>
|