RegisterOrLogIn.xaml 1.6 KB

123456789101112131415161718192021222324252627
  1. <UserControl x:Class="WinUI.OnboardProcess.RegisterOrLogIn"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:WinUI.OnboardProcess"
  7. mc:Ignorable="d"
  8. d:DesignHeight="300" d:DesignWidth="300">
  9. <StackPanel>
  10. <TextBlock HorizontalAlignment="Center" FontSize="20" FontWeight="Bold" FontFamily="Segoe UI">Welcome to ZeroTier</TextBlock>
  11. <TextBlock HorizontalAlignment="Center" FontSize="16">Let's get started!</TextBlock>
  12. <TextBlock HorizontalAlignment="Center"> </TextBlock>
  13. <TextBlock HorizontalAlignment="Center" TextWrapping="Wrap">If you haven't yet created an account, click "Create Account" below. If you have an account, you can log in with your username/password, or simply enter an API key.</TextBlock>
  14. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
  15. <StackPanel.Resources>
  16. <Style TargetType="{x:Type Button}">
  17. <Setter Property="Margin" Value="10,10,0,0"/>
  18. </Style>
  19. </StackPanel.Resources>
  20. <Button x:Name="CreateAccountButton" Margin="10,5" Content="Create Account" Background="#FFFFB354" Click="CreateAccountButton_Click"/>
  21. <Button x:Name="LogInButton" Margin="10,5" Content="Log In" Background="#FFFFB354" Click="LogInButton_Click"/>
  22. <Button x:Name="TokenButton" Margin="10,5" Content="API Token" Background="#FFFFB354" Click="APIToken_Click"/>
  23. </StackPanel>
  24. </StackPanel>
  25. </UserControl>