代码拉取完成,页面将自动刷新
同步操作将从 jianghong/wnmp PHP集成环境 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<Window x:Class="wnmp.WebSite"
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:wnmp"
mc:Ignorable="d"
Title="网站管理" Height="450" Width="800" WindowStyle="SingleBorderWindow" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
<Grid>
<GroupBox Header="常规设置" Margin="19,12,405,47">
<Canvas Margin="0,0,-2,-3">
<Label Style="{StaticResource defautBtnLable}" Content="保 存" Height="25" Width="48" Padding="10,5,5,5" Canvas.Left="696.6" Canvas.Top="351.8" MouseDown="Label_MouseDown"/>
<TextBox x:Name="domainNameInput" Height="24" Text="www.jh.xyz" TextWrapping="Wrap" Width="302" Padding="0,3,0,0" Canvas.Top="37" Canvas.Left="2" ToolTip="多域名间用英文空格隔开"/>
<Label Content="网站域名" Height="26" Width="74" Canvas.Top="6" Canvas.Left="-1"/>
<TextBox x:Name="siteRootInput" Height="24" Text="D:\\www" TextWrapping="Wrap" Width="302" Padding="0,3,0,0" Canvas.Top="98" Canvas.Left="2" ToolTip="网站根目录" IsEnabled="False"/>
<Label Content="网站目录" Height="26" Width="172" Canvas.Top="67" Canvas.Left="-1"/>
<Label Style="{StaticResource defautBtnLable}" Content="目录" Height="25" Width="41" Padding="9,5,5,5" Canvas.Left="309" Canvas.Top="98" MouseDown="Label_MouseDown_1"/>
<TextBox x:Name="sitePortInput" Height="24" Text="80" TextWrapping="Wrap" Width="41" Padding="0,3,0,0" Canvas.Left="309" Canvas.Top="37" LostFocus="sitePortInput_LostFocus"/>
<Label Content="端口" Height="26" Width="41" Canvas.Left="309" Canvas.Top="6"/>
<TextBox x:Name="siteFileInput" Height="24" Text="index.html,index.htm" TextWrapping="Wrap" Width="302" Padding="0,3,0,0" Canvas.Top="158" Canvas.Left="2" LostFocus="siteFileInput_LostFocus" ToolTip="多个文件类型用英文空格隔开"/>
<Label Content="网站默认文件" Height="26" Width="172" Canvas.Top="127" Canvas.Left="-1"/>
<Label x:Name="removeWebSite" Style="{StaticResource dangerBtnLable}" Content="删 除" Height="25" Width="48" Padding="10,5,5,5" Canvas.Left="624" Canvas.Top="352" Visibility="Visible" MouseDown="removeWebSite_MouseDown"/>
</Canvas>
</GroupBox>
<GroupBox Header="高级设置" Margin="400,12,21,47">
<Canvas Margin="0,0,-2,0">
<GroupBox Header="伪静态" Height="111" Canvas.Left="10" Canvas.Top="10" Width="335">
<Canvas Margin="0,0,-12,-12">
<CheckBox x:Name="staticBox" Content="开启" Width="52" Height="20" Canvas.Left="73.8" Canvas.Top="25.38" IsChecked="True"/>
<Label Content="相对路径:" Height="26" Width="64" Canvas.Top="50.38" Canvas.Left="5.2"/>
<TextBox x:Name="staticInput" Height="24" Text="/" TextWrapping="Wrap" Width="151" Padding="0,3,0,0" Canvas.Top="50.38" Canvas.Left="73.8" LostFocus="staticInput_LostFocus"/>
<Label Content="状 态:" Height="26" Width="64" Canvas.Top="18.193" Canvas.Left="5.2"/>
</Canvas>
</GroupBox>
<GroupBox Header="其它" Height="178" Canvas.Left="10" Canvas.Top="137" Width="335">
<Canvas Margin="0,0,-12,-12">
<CheckBox x:Name="gzipBox" Content="开启" Width="52" Height="20" Canvas.Left="73.8" Canvas.Top="25.38" IsChecked="True"/>
<Label Content="Hosts同步:" Height="26" Width="71" Canvas.Top="70" Canvas.Left="1"/>
<Label Content="压 缩:" Height="26" Width="64" Canvas.Top="18.193" Canvas.Left="2.2"/>
<CheckBox x:Name="crossBox" Content="开启" Width="68" Height="20" Canvas.Left="74" Canvas.Top="50.193"/>
<Label Content="网站跨域:" Height="26" Width="61" Canvas.Top="44.193" Canvas.Left="2"/>
<CheckBox x:Name="hostBox" Content="开启" Width="68" Height="20" Canvas.Left="74" Canvas.Top="76.193" IsChecked="True"/>
<Label Content="查看Hosts" Height="24" Canvas.Left="140" Canvas.Top="71" Width="67" Foreground="#FF021FBA" Cursor="Hand" MouseUp="Label_MouseUp"/>
<Label x:Name="site_conf_btn" Content="查看conf" Height="24" Canvas.Left="207" Canvas.Top="71" Width="67" Foreground="#FF021FBA" Cursor="Hand" MouseUp="Label_MouseUp_1"/>
</Canvas>
</GroupBox>
</Canvas>
</GroupBox>
</Grid>
</Window>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。