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.
24 lines
1004 B
24 lines
1004 B
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="Justice.Views.RegistrationPage"
|
|
Title="Register">
|
|
|
|
<StackLayout Padding="20">
|
|
<Label Text="Register" FontSize="Large" HorizontalOptions="Center" />
|
|
|
|
<Entry x:Name="UsernameEntry" Placeholder="Username" />
|
|
<Entry x:Name="PasswordEntry" Placeholder="Password" IsPassword="True" />
|
|
|
|
<Picker x:Name="RolePicker" Title="Select Role">
|
|
<Picker.ItemsSource>
|
|
<x:Array Type="{x:Type x:String}">
|
|
<x:String>EndUser</x:String>
|
|
<x:String>AuthorityUser</x:String>
|
|
</x:Array>
|
|
</Picker.ItemsSource>
|
|
</Picker>
|
|
|
|
<Entry x:Name="AuthorityTypeEntry" Placeholder="Authority Type (Optional)" IsVisible="False" />
|
|
<Button Text="Register" Clicked="OnRegisterClicked" />
|
|
</StackLayout>
|
|
</ContentPage>
|
|
|