Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 64ef6c6

Browse files
committed
Add UI content
1 parent 2f94c4c commit 64ef6c6

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

src/GitHub.VisualStudio/UI/Views/NotAGitHubRepositoryView.xaml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,35 @@
2121
</ResourceDictionary>
2222
</UserControl.Resources>
2323

24-
<TextBlock HorizontalAlignment="Center">Not a GitHub repository.</TextBlock>
24+
<DockPanel>
25+
<StackPanel Margin="10" Orientation="Vertical">
26+
<ui:OcticonImage Icon="mark_github"
27+
Foreground="{DynamicResource GitHubVsWindowText}"
28+
Margin="0,5"
29+
Width="48"
30+
Height="48" />
31+
<Label
32+
Foreground="{DynamicResource GitHubVsWindowText}"
33+
HorizontalAlignment="Center"
34+
FontSize="16"
35+
Content="This repository is not on GitHub" />
36+
<TextBlock
37+
TextWrapping="Wrap"
38+
TextAlignment="Center"
39+
HorizontalAlignment="Center"
40+
Text="Publish this repository to GitHub and get powerful collaboration, code review, and code management for open source and private projects." />
41+
<StackPanel
42+
Margin="0,5"
43+
HorizontalAlignment="Center"
44+
Orientation="Vertical">
45+
46+
<CheckBox Foreground="{DynamicResource GitHubVsToolWindowText}" Margin="10">Publish as a private repository</CheckBox>
47+
48+
<Button HorizontalAlignment="Center" Style="{DynamicResource GitHubVsPrimaryActionButton}">
49+
Publish to GitHub
50+
</Button>
51+
52+
</StackPanel>
53+
</StackPanel>
54+
</DockPanel>
2555
</local:GenericNotAGitHubRepositoryView>

0 commit comments

Comments
 (0)