1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-24 06:06:07 +03:00
ProxySU/ProxySuper.WPF/Views/TrojanGo/TrojanGoInstallView.xaml
2021-08-18 17:34:32 +08:00

64 lines
3.2 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<views:MvxWindow x:Class="ProxySuper.WPF.Views.TrojanGo.TrojanGoInstallView"
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:ProxySuper.WPF.Views.TrojanGo"
xmlns:ctrl="clr-namespace:ProxySuper.WPF.Controls"
xmlns:views="clr-namespace:MvvmCross.Platforms.Wpf.Views;assembly=MvvmCross.Platforms.Wpf"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
Title="TrojanGoInstallView" Height="600" Width="1000">
<StackPanel>
<ctrl:ProgressControl />
<StackPanel Orientation="Horizontal" Margin="20,0,0,0">
<Label Content="{DynamicResource Install}" FontWeight="Bold" FontSize="14" />
<Button Content="{DynamicResource XrayInstallerInstall}"
Command="{Binding Path=InstallCommand}"
Padding="10,3"
Margin="10,0,0,0" />
<Button Content="{DynamicResource XrayInstallerUpdateSettings}"
Command="{Binding Path=UpdateSettingsCommand}"
Padding="10,3"
Margin="10,0,0,0" />
<Button Content="{DynamicResource XrayInstallerUninstall}"
Command="{Binding Path=UninstallCommand}"
Padding="10,3"
Margin="10,0,0,0" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="20,15,0,0">
<Label Content="{DynamicResource Settings}" FontWeight="Bold" FontSize="14" />
<Button Content="{DynamicResource XrayInstallerUploadCert}"
Command="{Binding Path=UploadCertCommand}"
Padding="10,3"
Margin="10,0,0,0" />
<Button Content="{DynamicResource XrayInstallerInstallCert}"
Command="{Binding Path=ApplyForCertCommand}"
Padding="10,3"
Margin="10,0,0,0" />
<Button Content="{DynamicResource XrayInstallerUploadWeb}"
Command="{Binding Path=UploadWebCommand}"
Padding="10,3"
Margin="10,0,0,0" />
</StackPanel>
<StackPanel Margin="20,10,0,0" Orientation="Horizontal">
<Label Content="说明" FontWeight="Bold" FontSize="14" VerticalAlignment="Top" />
<StackPanel Margin="10,0,0,0">
<Label Content="1.【更新配置】 修改Trojan-go参数后只需使用此功能即可不需要重新安装。" FontSize="14" />
<Label Content="2.【上传自有证书】 将 (.crt和.key) 文件打包成.zip文件名称随意后缀名不能变。" FontSize="14" />
<Label Content="3.【手动续签证书】 ProxySU会在证书到期时间自动续期此功能可手动提前续期。" FontSize="14" />
<Label Content="4.【上传伪装网站】 将根目录包含 (index.html) 的文件夹,打包为.zip文件。" FontSize="14" />
</StackPanel>
</StackPanel>
</StackPanel>
</views:MvxWindow>