upload
This commit is contained in:
37
Views/RegisterWindow.xaml
Normal file
37
Views/RegisterWindow.xaml
Normal file
@@ -0,0 +1,37 @@
|
||||
<Window x:Class="SimpleWiki.Views.RegisterWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="Simple Wiki - Регистрация"
|
||||
Width="560"
|
||||
Height="720"
|
||||
ResizeMode="NoResize"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Background="{StaticResource BaseBrush}">
|
||||
<Border Background="{StaticResource BaseBrush}" Padding="28">
|
||||
<Grid Background="{StaticResource BaseBrush}">
|
||||
<Border Style="{StaticResource CardBorder}" Padding="28">
|
||||
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
||||
<StackPanel>
|
||||
<TextBlock Style="{StaticResource PageTitle}" Text="Создать аккаунт" />
|
||||
<TextBlock Style="{StaticResource CaptionTextBlock}" Text="Строгая валидация включена. Машина сомневается в тебе заранее." />
|
||||
|
||||
<TextBlock Text="ФИО" />
|
||||
<TextBox x:Name="FullNameTextBox" MaxLength="100" />
|
||||
|
||||
<TextBlock Text="Email" />
|
||||
<TextBox x:Name="EmailTextBox" MaxLength="256" />
|
||||
|
||||
<TextBlock Text="Пароль" />
|
||||
<PasswordBox x:Name="PasswordBox" MaxLength="64" />
|
||||
<TextBlock Style="{StaticResource CaptionTextBlock}" Text="8-64 символа, строчная, заглавная, цифра и спецсимвол." />
|
||||
|
||||
<CheckBox x:Name="IsAdminCheckBox" Content="Администратор" />
|
||||
|
||||
<Button Style="{StaticResource PrimaryButton}" Content="Зарегистрироваться" Click="RegisterButton_Click" />
|
||||
<Button Style="{StaticResource SecondaryButton}" Content="Назад ко входу" Click="BackButton_Click" />
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user