You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Seekers/Views/LoginPage.xaml

28 lines
990 B

6 months ago
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Justice.Views.LoginPage"
Title="Login">
<StackLayout Padding="20">
<Label Text="Login" FontSize="Large" HorizontalOptions="Center" />
6 months ago
<!-- Role Picker -->
<Entry x:Name="UsernameEntry" Placeholder="Username"/>
<Entry x:Name="PasswordEntry" Placeholder="Password"/>
6 months ago
6 months ago
<Label Text="Select Role:" FontSize="Medium" />
<Picker x:Name="RolePicker" Title="Choose a role">
<Picker.ItemsSource>
<x:Array Type="{x:Type x:String}">
<x:String>End User</x:String>
<x:String>Authority User</x:String>
</x:Array>
</Picker.ItemsSource>
</Picker>
<!-- Login Button -->
<Button Text="Login" Clicked="OnLoginButtonClicked" />
6 months ago
</StackLayout>
</ContentPage>