mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-04-21 02:46:31 +02:00
30 lines
1.8 KiB
XML
30 lines
1.8 KiB
XML
<?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="Borepin.Page.AddServerProcess.LoginChoosePage"
|
|
xmlns:converters="clr-namespace:Borepin.Converter">
|
|
<NavigationPage.TitleView>
|
|
<Label Text="FabAccess" HorizontalOptions="End" Margin="0, 0, 10, 0" VerticalOptions="CenterAndExpand" FontSize="Medium" TextColor="{StaticResource FirstColor}"/>
|
|
</NavigationPage.TitleView>
|
|
<ContentPage.Resources>
|
|
<ResourceDictionary>
|
|
<converters:InvertBoolConverter x:Key="InvertBoolConverter"/>
|
|
</ResourceDictionary>
|
|
</ContentPage.Resources>
|
|
<ContentPage.Content>
|
|
<StackLayout Padding="20">
|
|
<StackLayout IsVisible="{Binding IsBusy}">
|
|
<ActivityIndicator IsRunning="{Binding IsBusy}"></ActivityIndicator>
|
|
</StackLayout>
|
|
<StackLayout IsVisible="{Binding IsBusy, Converter={StaticResource InvertBoolConverter}}">
|
|
<Label Text="Sign In:" Style="{StaticResource Style_Label_Property_Title}"></Label>
|
|
<Button Text="Login with Password" Command="{Binding LoginPasswordCommand}" Style="{StaticResource Style_Button_Primary}"/>
|
|
<Label Text="or" Style="{StaticResource Style_Label_Property_Title}"></Label>
|
|
<Button Text="Login with Card" Style="{StaticResource Style_Button_Primary}" IsEnabled="False"/>
|
|
|
|
<Label Text="Sign Up:" Style="{StaticResource Style_Label_Property_Title}"></Label>
|
|
<Button Text="Register" Style="{StaticResource Style_Button_Primary}" IsEnabled="False"/>
|
|
</StackLayout>
|
|
</StackLayout>
|
|
</ContentPage.Content>
|
|
</ContentPage> |