<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:dx="http://schemas.devexpress.com/maui"
             x:Class="WorkFlowCheck.MAUI.Pages.Security.LoginPage"
             Title="Bejelentkezés"
             >
    <StackLayout Padding="20" VerticalOptions="Center">
        <Entry x:Name="UsernameEntry" Placeholder="Felhasználói név" />
        <Entry x:Name="PasswordEntry" Placeholder="PIN kód" IsPassword="True" Keyboard="Numeric"/>
        <!--<dx:PasswordEdit
                Text="{Binding Password, Mode=TwoWay}"
                HasError="{Binding PasswordHasError}"
                LabelText="Password"
                HelpText="*Required"
                Keyboard="Numeric"
                ErrorText="The password should contain more than 5 characters, 
                    have at least one uppercase and one lowercase letter, and one number."
                PlaceholderText="Enter password"/>-->
        <Button x:Name="LoginBtn" Text="Bejelentkezés" Clicked="OnLoginClicked" />
        <ActivityIndicator x:Name="LoadingIndicator" 
                           IsRunning="False" 
                           IsVisible="False"
                           VerticalOptions="Center" 
                           HorizontalOptions="Center" />
    </StackLayout>
</ContentPage>