30 lines
1.6 KiB
XML
30 lines
1.6 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:ursa="https://irihi.tech/ursa"
|
|
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:Flawless.Client.ViewModels"
|
|
xmlns:reactiveUi="http://reactiveui.net"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="Flawless.Client.Views.ServerConnectView"
|
|
x:DataType="vm:ServerConnectViewModel">
|
|
|
|
<Border Classes="Shadow" Theme="{StaticResource CardBorder}" Width="400" Height="400">
|
|
<DockPanel>
|
|
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal" VerticalAlignment="Center" Spacing="18">
|
|
<ursa:IconButton
|
|
Command="{Binding GoBackCommand}"
|
|
Icon="{StaticResource SemiIconArrowLeft}"/>
|
|
<Label FontSize="24" Content="{Binding Title}"/>
|
|
</StackPanel>
|
|
<reactiveUi:RoutedViewHost Router="{Binding Router}">
|
|
<reactiveUi:RoutedViewHost.DefaultContent>
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<Button Content="Login to Flawless" Command="{Binding OpenRepoPageAsyncCommand}"/>
|
|
</StackPanel>
|
|
</reactiveUi:RoutedViewHost.DefaultContent>
|
|
</reactiveUi:RoutedViewHost>
|
|
</DockPanel>
|
|
</Border>
|
|
</UserControl>
|