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.

56 lines
2.5 KiB

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <ContentPage
  3. x:Class="CircleViewerMaui.UserGroups"
  4. xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
  5. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  6. xmlns:d="http://schemas.microsoft.com/dotnet/2021/maui/design"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:local="clr-namespace:CircleViewerMaui"
  9. mc:Ignorable="d">
  10. <ContentPage.Content>
  11. <Grid Margin="20,20,20,20">
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="*" />
  14. <RowDefinition Height="*" />
  15. </Grid.RowDefinitions>
  16. <Grid.ColumnDefinitions>
  17. <ColumnDefinition Width="*" />
  18. <ColumnDefinition Width="*" />
  19. </Grid.ColumnDefinitions>
  20. <VerticalStackLayout Grid.Row="0" Grid.Column="0" Padding="10" Margin="10" BackgroundColor="Cornsilk">
  21. <Label
  22. Text="Join User Group"
  23. BackgroundColor="Purple"
  24. TextColor="White"
  25. VerticalOptions="Center"
  26. HorizontalOptions="Fill"
  27. HorizontalTextAlignment="Center"/>
  28. <Label
  29. Text="Request code:"
  30. TextColor="Purple"
  31. VerticalOptions="Center"/>
  32. <Entry x:Name="RequestCode" Placeholder="1234" TextTransform="Uppercase"></Entry>
  33. <Label
  34. Text="Verification code:"
  35. TextColor="Purple"
  36. VerticalOptions="Center"/>
  37. <Entry x:Name="VerificationCode" Placeholder="ABCD" TextTransform="Uppercase"></Entry>
  38. <Button x:Name="bnRequestVerfication" Text="Request Verification" Clicked="BnRequestVerfication_OnClicked"/>
  39. </VerticalStackLayout>
  40. <VerticalStackLayout Grid.Row="0" Grid.Column="1" Padding="10" Margin="10" BackgroundColor="Cornsilk">
  41. <Label
  42. Text="User Groups"
  43. BackgroundColor="Purple"
  44. TextColor="White"
  45. VerticalOptions="Center"
  46. HorizontalOptions="Fill"
  47. HorizontalTextAlignment="Center"/>
  48. <Picker x:Name="circlePicker" Title="Default User Group"/>
  49. <Button x:Name="bnGenInvite" Text="Invite user" Clicked="BnGenInvite_OnClicked"/>
  50. </VerticalStackLayout>
  51. </Grid>
  52. </ContentPage.Content>
  53. </ContentPage>