12345678910111213141516171819202122232425262728 |
- <UserControl xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:vm="using:AvaloniaApplication3.ViewModels"
- mc:Ignorable="d" d:DesignWidth="500" d:DesignHeight="600"
- x:Class="AvaloniaApplication3.Views.AuthorizationPage"
- x:DataType="vm:MainWindowViewModel"
- x:CompileBindings="True">
-
- <StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
- <Image Margin="0 0 0 12" Source="/Images/waving-hand.png" Height="30" Width="30" HorizontalAlignment="Left"/>
- <TextBlock Text="С возвращением!" Margin="0 0 0 12" Classes="title"/>
- <TextBlock Text="Авторизуйтесь, чтобы получить доступ к аккунту" Margin="0 0 0 62"/>
- <StackPanel Orientation="Vertical" Margin="0 0 0 30">
- <TextBlock Text="Логин" Margin="0 0 0 10"/>
- <TextBox Watermark="Введите ваш логин" Text="{Binding Login}"/>
- </StackPanel>
- <StackPanel Orientation="Vertical" Margin="0 0 0 44">
- <TextBlock Text="Пароль" Margin="0 0 0 10"/>
- <TextBox Classes="revealPasswordButton" Text="{Binding Pass}" PasswordChar="•" Watermark="Введите ваш пароль" Margin="0 0 0 10"/>
- <TextBlock Classes="error" Text="{Binding ErrorMessage}" Margin="0 0 0 30"></TextBlock>
- <Button Classes="blueBtn" HorizontalAlignment="Stretch" Command="{Binding LogIn}" CommandParameter="{Binding $parent[Window]}">Войти</Button>
- </StackPanel>
- <TextBlock Text="Нет аккаунта? / Забыли пароль (потом)" Margin="0 0 0 10" HorizontalAlignment="Center"/>
- <Button Content="Зарегестироваться" HorizontalAlignment="Center" Command="{Binding ToRegisterPage}"/>
- </StackPanel>
- </UserControl>
|