|
26 | 26 | IsTabStop="False" |
27 | 27 | VerticalScrollBarVisibility="Auto" |
28 | 28 | HorizontalScrollBarVisibility="Disabled"> |
29 | | - <RadioButtons x:Name="GatewayChoiceSelector" |
30 | | - AutomationProperties.Name="Gateway setup method" |
31 | | - MaxWidth="560" |
32 | | - MaxColumns="1" |
33 | | - HorizontalAlignment="Stretch" |
34 | | - SelectionChanged="GatewayChoice_SelectionChanged"> |
35 | | - <RadioButton x:Name="InstallChoice" |
36 | | - AutomationProperties.AutomationId="WelcomeInstallLocalGatewayChoice" |
37 | | - AutomationProperties.Name="Install a local gateway (WSL), recommended" |
38 | | - Margin="0,0,0,12" |
39 | | - HorizontalAlignment="Stretch" |
40 | | - HorizontalContentAlignment="Stretch"> |
41 | | - <Border x:Name="InstallCard" |
42 | | - HorizontalAlignment="Stretch" |
43 | | - Padding="16" CornerRadius="4" |
44 | | - Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" |
45 | | - BorderBrush="{ThemeResource AccentFillColorDefaultBrush}" |
46 | | - BorderThickness="2"> |
47 | | - <Grid ColumnDefinitions="Auto,*" ColumnSpacing="16"> |
48 | | - <Border Grid.Column="0" Width="44" Height="44" CornerRadius="6" |
49 | | - Background="{ThemeResource AccentFillColorDefaultBrush}" VerticalAlignment="Top"> |
50 | | - <FontIcon Glyph="" FontSize="20" IsTextScaleFactorEnabled="False" |
51 | | - Foreground="{ThemeResource TextOnAccentFillColorPrimaryBrush}" /> |
52 | | - </Border> |
53 | | - <StackPanel Grid.Column="1" Spacing="3"> |
54 | | - <StackPanel Orientation="Horizontal" Spacing="8"> |
55 | | - <TextBlock x:Name="InstallTitle" |
56 | | - Text="Install a local gateway (WSL)" |
57 | | - Style="{StaticResource BodyStrongTextBlockStyle}" |
58 | | - VerticalAlignment="Center" /> |
59 | | - <Border CornerRadius="4" Padding="7,1" VerticalAlignment="Center" |
60 | | - BorderBrush="{ThemeResource AccentTextFillColorPrimaryBrush}" BorderThickness="1"> |
61 | | - <TextBlock Text="Recommended" |
62 | | - Style="{StaticResource CaptionTextBlockStyle}" |
63 | | - Foreground="{ThemeResource AccentTextFillColorPrimaryBrush}" /> |
64 | | - </Border> |
65 | | - </StackPanel> |
66 | | - <TextBlock TextWrapping="Wrap" |
67 | | - Style="{StaticResource CaptionTextBlockStyle}" |
68 | | - Foreground="{ThemeResource TextFillColorSecondaryBrush}" |
69 | | - Text="A private, self-hosted OpenClaw gateway in an isolated Ubuntu WSL instance. We'll show exactly what gets installed before anything runs." /> |
| 29 | + <ListView x:Name="GatewayChoiceSelector" |
| 30 | + AutomationProperties.Name="Gateway setup method" |
| 31 | + AutomationProperties.HelpText="Choose one gateway setup method." |
| 32 | + MaxWidth="560" |
| 33 | + HorizontalAlignment="Stretch" |
| 34 | + HorizontalContentAlignment="Stretch" |
| 35 | + SelectionMode="Single" |
| 36 | + ScrollViewer.VerticalScrollMode="Disabled" |
| 37 | + ScrollViewer.VerticalScrollBarVisibility="Disabled" |
| 38 | + SelectionChanged="GatewayChoice_SelectionChanged"> |
| 39 | + <ListViewItem x:Name="InstallChoice" |
| 40 | + AutomationProperties.AutomationId="WelcomeInstallLocalGatewayChoice" |
| 41 | + AutomationProperties.Name="Install a local gateway (WSL), recommended" |
| 42 | + HorizontalContentAlignment="Stretch" |
| 43 | + VerticalContentAlignment="Center" |
| 44 | + Padding="16,12"> |
| 45 | + <Grid ColumnDefinitions="Auto,*" ColumnSpacing="16"> |
| 46 | + <Border Grid.Column="0" Width="44" Height="44" CornerRadius="6" |
| 47 | + Background="{ThemeResource AccentFillColorDefaultBrush}" VerticalAlignment="Center"> |
| 48 | + <FontIcon Glyph="" FontSize="20" IsTextScaleFactorEnabled="False" |
| 49 | + Foreground="{ThemeResource TextOnAccentFillColorPrimaryBrush}" /> |
| 50 | + </Border> |
| 51 | + <StackPanel Grid.Column="1" Spacing="3"> |
| 52 | + <StackPanel Orientation="Horizontal" Spacing="8"> |
| 53 | + <TextBlock x:Name="InstallTitle" |
| 54 | + Text="Install a local gateway (WSL)" |
| 55 | + Style="{StaticResource BodyStrongTextBlockStyle}" |
| 56 | + VerticalAlignment="Center" /> |
| 57 | + <Border CornerRadius="4" Padding="7,1" VerticalAlignment="Center" |
| 58 | + BorderBrush="{ThemeResource AccentTextFillColorPrimaryBrush}" BorderThickness="1"> |
| 59 | + <TextBlock Text="Recommended" |
| 60 | + Style="{StaticResource CaptionTextBlockStyle}" |
| 61 | + Foreground="{ThemeResource AccentTextFillColorPrimaryBrush}" /> |
| 62 | + </Border> |
70 | 63 | </StackPanel> |
71 | | - </Grid> |
72 | | - </Border> |
73 | | - </RadioButton> |
| 64 | + <TextBlock TextWrapping="Wrap" |
| 65 | + Style="{StaticResource CaptionTextBlockStyle}" |
| 66 | + Foreground="{ThemeResource TextFillColorSecondaryBrush}" |
| 67 | + Text="A private, self-hosted OpenClaw gateway in an isolated Ubuntu WSL instance. We'll show exactly what gets installed before anything runs." /> |
| 68 | + </StackPanel> |
| 69 | + </Grid> |
| 70 | + </ListViewItem> |
74 | 71 |
|
75 | | - <RadioButton x:Name="ConnectChoice" |
76 | | - AutomationProperties.AutomationId="WelcomeConnectExistingGatewayChoice" |
77 | | - AutomationProperties.Name="Connect to an existing gateway" |
78 | | - HorizontalAlignment="Stretch" |
79 | | - HorizontalContentAlignment="Stretch"> |
80 | | - <Border x:Name="ConnectCard" |
81 | | - HorizontalAlignment="Stretch" |
82 | | - Padding="16" CornerRadius="4" |
83 | | - Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" |
84 | | - BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}" |
85 | | - BorderThickness="1"> |
86 | | - <Grid ColumnDefinitions="Auto,*" ColumnSpacing="16"> |
87 | | - <Border Grid.Column="0" Width="44" Height="44" CornerRadius="6" |
88 | | - Background="{ThemeResource SubtleFillColorSecondaryBrush}" VerticalAlignment="Top"> |
89 | | - <FontIcon Glyph="" FontSize="20" IsTextScaleFactorEnabled="False" |
90 | | - Foreground="{ThemeResource TextFillColorPrimaryBrush}" /> |
91 | | - </Border> |
92 | | - <StackPanel Grid.Column="1" Spacing="3"> |
93 | | - <TextBlock Text="Connect to an existing gateway" |
94 | | - Style="{StaticResource BodyStrongTextBlockStyle}" /> |
95 | | - <TextBlock TextWrapping="Wrap" |
96 | | - Style="{StaticResource CaptionTextBlockStyle}" |
97 | | - Foreground="{ThemeResource TextFillColorSecondaryBrush}" |
98 | | - Text="Already run an OpenClaw gateway: here, on another machine, or remote? Pair without installing anything." /> |
99 | | - </StackPanel> |
100 | | - </Grid> |
101 | | - </Border> |
102 | | - </RadioButton> |
103 | | - </RadioButtons> |
| 72 | + <ListViewItem x:Name="ConnectChoice" |
| 73 | + AutomationProperties.AutomationId="WelcomeConnectExistingGatewayChoice" |
| 74 | + AutomationProperties.Name="Connect to an existing gateway" |
| 75 | + HorizontalContentAlignment="Stretch" |
| 76 | + VerticalContentAlignment="Center" |
| 77 | + Padding="16,12"> |
| 78 | + <Grid ColumnDefinitions="Auto,*" ColumnSpacing="16"> |
| 79 | + <Border Grid.Column="0" Width="44" Height="44" CornerRadius="6" |
| 80 | + Background="{ThemeResource SubtleFillColorSecondaryBrush}" VerticalAlignment="Center"> |
| 81 | + <FontIcon Glyph="" FontSize="20" IsTextScaleFactorEnabled="False" |
| 82 | + Foreground="{ThemeResource TextFillColorPrimaryBrush}" /> |
| 83 | + </Border> |
| 84 | + <StackPanel Grid.Column="1" Spacing="3"> |
| 85 | + <TextBlock Text="Connect to an existing gateway" |
| 86 | + Style="{StaticResource BodyStrongTextBlockStyle}" /> |
| 87 | + <TextBlock TextWrapping="Wrap" |
| 88 | + Style="{StaticResource CaptionTextBlockStyle}" |
| 89 | + Foreground="{ThemeResource TextFillColorSecondaryBrush}" |
| 90 | + Text="Already run an OpenClaw gateway: here, on another machine, or remote? Pair without installing anything." /> |
| 91 | + </StackPanel> |
| 92 | + </Grid> |
| 93 | + </ListViewItem> |
| 94 | + </ListView> |
104 | 95 | </ScrollViewer> |
105 | 96 |
|
106 | 97 | <Grid Grid.Row="2" ColumnDefinitions="*,Auto" Margin="0,16,0,0"> |
|
0 commit comments