1
0

29 lines
1.5 KiB
XML

<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: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}" MaxWidth="400" MaxHeight="400">
<DockPanel>
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal" VerticalAlignment="Center" Spacing="18">
<Button Command="{Binding GoBackCommand}"
Theme="{DynamicResource BorderlessButton}"
Content="Back"/>
<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>