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

125 lines
5.5 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-04-19 07:12:23 +03:00
FontSize="15"
2021-04-30 06:33:58 +03:00
Title="{DynamicResource TerminalTitle}" Height="640" Width="900">
2021-02-25 04:59:06 +03:00
<StackPanel>
2021-03-11 07:05:50 +03:00
<TextBox IsReadOnly="True"
2021-02-25 04:59:06 +03:00
Block.LineHeight="18"
Background="#000"
Foreground="LawnGreen"
FontSize="14"
FontFamily="Consolas"
2021-03-04 13:25:52 +03:00
x:Name="OutputTextBox"
2021-03-15 12:58:20 +03:00
Height="260"
2021-03-11 07:05:50 +03:00
Text="{Binding Path=OutputText}"
/>
2021-02-25 04:59:06 +03:00
2021-03-09 12:52:09 +03:00
<StackPanel Margin="10"
2021-03-15 12:58:20 +03:00
Orientation="Vertical"
2021-03-09 12:52:09 +03:00
HorizontalAlignment="Left">
2021-03-15 12:58:20 +03:00
<StackPanel Orientation="Horizontal">
2021-04-30 06:33:58 +03:00
<TextBlock Text="{DynamicResource InstallActions}"
2021-03-15 12:58:20 +03:00
VerticalAlignment="Center"
2021-04-30 06:33:58 +03:00
Width="100"
2021-03-15 12:58:20 +03:00
Margin="0,0,10,0"/>
2021-04-30 06:33:58 +03:00
<Button Content="{DynamicResource InstallXray}"
2021-03-15 12:58:20 +03:00
Click="Install"
Height="26"
IsEnabled="{Binding HasConnected}"
2021-04-30 06:33:58 +03:00
Width="150"/>
2021-03-09 12:52:09 +03:00
2021-04-30 06:33:58 +03:00
<Button Content="{DynamicResource UpdateSettings}"
2021-03-15 12:58:20 +03:00
Margin="10,0,0,0"
2021-04-05 05:22:43 +03:00
Click="UpdateXraySettings"
2021-03-15 12:58:20 +03:00
Height="26"
IsEnabled="{Binding HasConnected}"
2021-04-30 06:33:58 +03:00
Width="150"/>
2021-03-09 12:52:09 +03:00
2021-04-30 06:33:58 +03:00
<Button Content="{DynamicResource UpdateXrayCore}"
2021-03-15 12:58:20 +03:00
Margin="10,0,0,0"
2021-04-05 05:22:43 +03:00
Click="UpdateXrayCore"
2021-03-15 12:58:20 +03:00
Height="26"
IsEnabled="{Binding HasConnected}"
2021-04-30 06:33:58 +03:00
Width="150"/>
2021-03-26 06:28:41 +03:00
2021-04-30 06:33:58 +03:00
<Button Content="{DynamicResource UninstallXray}"
2021-03-26 06:28:41 +03:00
Margin="10,0,0,0"
Click="UninstallXray"
Height="26"
2021-04-30 06:33:58 +03:00
Width="150"
2021-03-26 06:28:41 +03:00
IsEnabled="{Binding HasConnected}"/>
2021-03-15 12:58:20 +03:00
</StackPanel>
2021-03-11 09:31:18 +03:00
2021-03-15 12:58:20 +03:00
<StackPanel Orientation="Horizontal"
Margin="0,10,0,0">
2021-04-30 06:33:58 +03:00
<TextBlock Text="{DynamicResource SettingActions}"
2021-03-15 12:58:20 +03:00
VerticalAlignment="Center"
2021-04-30 06:33:58 +03:00
Width="100"
2021-03-15 12:58:20 +03:00
Margin="0,0,10,0"/>
2021-03-09 12:52:09 +03:00
2021-04-30 06:33:58 +03:00
<Button Content="{DynamicResource UpdateCert}"
2021-03-15 12:58:20 +03:00
Margin="0,0,0,0"
Height="26"
2021-04-30 06:33:58 +03:00
Width="150"
2021-03-15 12:58:20 +03:00
IsEnabled="{Binding HasConnected}"
Click="InstallCert"/>
2021-03-09 14:02:14 +03:00
2021-04-30 06:33:58 +03:00
<Button Content="{DynamicResource UploadSelfCert}"
2021-03-15 12:58:20 +03:00
Margin="10,0,0,0"
Height="26"
2021-04-30 06:33:58 +03:00
Width="150"
2021-03-15 12:58:20 +03:00
IsEnabled="{Binding HasConnected}"
Click="UploadCert"/>
2021-04-30 06:33:58 +03:00
<Button Content="{DynamicResource UploadWeb}"
2021-03-15 12:58:20 +03:00
Margin="10,0,0,0"
Height="26"
2021-04-30 06:33:58 +03:00
Width="150"
2021-03-15 12:58:20 +03:00
IsEnabled="{Binding HasConnected}"
Click="UploadWeb"/>
2021-04-30 06:33:58 +03:00
<Button Content="{DynamicResource UninstallCaddy}"
2021-03-15 12:58:20 +03:00
Margin="10,0,0,0"
2021-04-19 07:12:23 +03:00
Click="UninstallCaddy"
2021-03-15 12:58:20 +03:00
Height="26"
IsEnabled="{Binding HasConnected}"
2021-04-30 06:33:58 +03:00
Width="150"/>
2021-03-15 12:58:20 +03:00
</StackPanel>
2021-03-09 12:52:09 +03:00
</StackPanel>
<StackPanel Margin="10,0,0,0">
2021-04-30 06:33:58 +03:00
<Label Content="说明(Readme)"/>
2021-04-05 05:22:43 +03:00
<StackPanel Margin="10,0,0,0">
2021-04-30 06:33:58 +03:00
<TextBlock TextWrapping="WrapWithOverflow" Text="{DynamicResource ReadmeInstallXray}" />
<TextBlock TextWrapping="WrapWithOverflow" Text="{DynamicResource ReadmeUpdateSettings}" />
<TextBlock TextWrapping="WrapWithOverflow" Text="{DynamicResource ReadmeUpdateCert}" />
<TextBlock TextWrapping="WrapWithOverflow" Text="{DynamicResource ReadmeUploadWeb}" />
2021-04-05 05:22:43 +03:00
</StackPanel>
2021-04-19 07:12:23 +03:00
2021-04-30 06:33:58 +03:00
<Label Margin="0,10,0,0" Content="{DynamicResource ReadmeWebsiteDemo}" />
2021-04-19 07:12:23 +03:00
<StackPanel Orientation="Horizontal">
<TextBlock Margin="10,0,0,0">
<Hyperlink NavigateUri="https://www.themezy.com" Click="OpenLink">Themezy</Hyperlink>
</TextBlock>
<TextBlock Margin="20,0,0,0">
<Hyperlink NavigateUri="https://onepagelove.com/templates/free-templates" Click="OpenLink">One Page Love</Hyperlink>
</TextBlock>
<TextBlock Margin="20,0,0,0">
<Hyperlink NavigateUri="https://html5up.net/" Click="OpenLink">HTML5 UP</Hyperlink>
</TextBlock>
<TextBlock Margin="20,0,0,0">
<Hyperlink NavigateUri="https://templatemo.com/" Click="OpenLink">template mo</Hyperlink>
</TextBlock>
</StackPanel>
2021-02-25 04:59:06 +03:00
</StackPanel>
</StackPanel>
</metro:MetroWindow>