wakka/StartupSshPage.xaml
2025-05-08 22:16:00 -05:00

27 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Page
x:Class="wakka.StartupSshPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:wakka"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid MaxWidth="400" HorizontalAlignment="Center" CornerRadius="8" VerticalAlignment="Center" Background="{ThemeResource CardBackgroundFillColorSecondaryBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Image Grid.Row="0" Margin="20,20,20,0" Source="/Assets/StoreLogo.png" />
<TextBlock FontSize="20" Grid.Row="1" Margin="20,5,20,0" VerticalAlignment="Center" HorizontalAlignment="Center" Text="wakka"/>
<TextBox Width="200" Grid.Row="2" Margin="20,20,20,20" x:Name="usernameTextBox" TextChanged="OnTextChanged" PlaceholderText="Username..."/>
<Button Width="200" Grid.Row="3" Margin="20,0,20,20" x:Name="sshKeySelectButton" Content="Select Private Key File" Click="SelectPrivateKey"/>
<Button Width="200" Grid.Row="4" Margin="20,0,20,20" x:Name="sshKeyCreateButton" Content="Create New Key" Click="CreateSshKey"/>
<Button Width="200" Grid.Row="5" Margin="20,0,20,20" x:Name="sshConnectButton" Click="AttemptConnection" Content="Connect"/>
</Grid>
</Page>