1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-26 07:06:08 +03:00
ProxySU/ProxySU_Core/Views/TerminalWindow.xaml

68 lines
2.7 KiB
Plaintext
Raw Normal View History

2021-02-25 04:59:06 +03:00
<metro:MetroWindow x:Class="ProxySU_Core.TerminalWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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:local="clr-namespace:ProxySU_Core"
xmlns:metro="http://metro.mahapps.com/winfx/xaml/controls"
mc:Ignorable="d"
2021-03-09 12:52:09 +03:00
Title="主机控制台" Height="500" Width="800">
2021-02-25 04:59:06 +03:00
<StackPanel>
<RichTextBox IsReadOnly="True"
Block.LineHeight="18"
Background="#000"
Foreground="LawnGreen"
FontSize="14"
FontFamily="Consolas"
2021-03-04 13:25:52 +03:00
x:Name="OutputTextBox"
2021-02-28 13:22:21 +03:00
Height="320">
2021-02-25 04:59:06 +03:00
<FlowDocument>
<Paragraph>
<Run Text="{Binding Path=OutputText, Mode=OneWay}" />
</Paragraph>
</FlowDocument>
</RichTextBox>
2021-03-09 12:52:09 +03:00
<StackPanel Margin="10"
Orientation="Horizontal"
HorizontalAlignment="Left">
2021-02-28 13:22:21 +03:00
<Button Content="安装Xray"
Click="Install"
Height="32"
2021-03-09 12:52:09 +03:00
IsEnabled="{Binding HasConnected}"
2021-02-28 13:22:21 +03:00
Width="100"/>
2021-03-09 12:52:09 +03:00
<Button Content="申请TLS证书"
Margin="10,0,0,0"
Height="32"
Width="120"
IsEnabled="{Binding HasConnected}"
Click="InstallCert"/>
<Button Content="上传伪装网站"
Margin="10,0,0,0"
Height="32"
Width="120"
IsEnabled="{Binding HasConnected}"
Click="UploadWeb"/>
</StackPanel>
<StackPanel Margin="10,0,0,0">
<Label Content="静态网页模版(感谢网友推荐)" />
<TextBlock>
<Hyperlink NavigateUri="https://www.themezy.com" Click="OpenLink">Themezy</Hyperlink>
</TextBlock>
<TextBlock>
<Hyperlink NavigateUri="https://onepagelove.com/templates/free-templates" Click="OpenLink">Themezy</Hyperlink>
</TextBlock>
<TextBlock>
<Hyperlink NavigateUri="https://html5up.net/" Click="OpenLink">HTML5 UP</Hyperlink>
</TextBlock>
<TextBlock>
<Hyperlink NavigateUri="https://templatemo.com/" Click="OpenLink">template mo</Hyperlink>
</TextBlock>
2021-02-25 04:59:06 +03:00
</StackPanel>
</StackPanel>
</metro:MetroWindow>