<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="edit_whitelist.aspx.vb" Inherits="gogo_mechanism.edit_whitelist" %>
<%@ Import namespace="gogo_mechanism"%>
<html>
	<head id="head1"  runat="server">
    <title><%=pagename %></title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/theme.css">
    <link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
    <link href="site_css2.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
    <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
    <script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="lib/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
</head>
  <body class=""> 
     <!--<![endif]-->
    <form id="Form1" runat="server">
    <div class="content">
        
        <div class="header">

            <h1 class="page-title"><%=pagename %></h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="info.aspx">系统首页</a> <span class="divider">/</span></li>
            <li><a href="whitelist_config.aspx">白名单管理</a> <span class="divider">/</span></li>
            <li class="active"><%=pagename %></li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">
                    
<div class="btn-toolbar">
    <asp:button id="Button1" runat="server" Text="保存(ALT+S)" AccessKey="s" 
        class="btn"></asp:button>
	<asp:button id="Button2" runat="server" Text="取消(ALT+C)" 
        CausesValidation="False" AccessKey="C" class="btn"></asp:button>
    </div>
<div class="btn-group"></div>
<div class="well">


<table class="table" width="100%">
					<tr>
						<td class="td1">编号：</td>
						<td class="td2">
                            <asp:Label ID="id" runat="server"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td1">所属部门：</td>
						<td class="td2">
                            <asp:TextBox ID="dpmid" onclick="showDIV(this,dwtree);" 
                                    runat="server" ReadOnly="True" Width="170px"></asp:TextBox>                            </td>
					</tr>
					<tr>
						<td class="td1">地址<SPAN class="STYLE2">：</SPAN></td>
						<td class="td2">
                            <asp:TextBox ID="address" runat="server" Width="380px"></asp:TextBox>
                            <span class="STYLE1">（*代表匹配任意字符，当下方定义为匹配网址时有效）</span><asp:RequiredFieldValidator 
                                ID="RequiredFieldValidator1" runat="server" ControlToValidate="address" 
                                ErrorMessage="地址不能为空"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RequiredFieldValidator2" runat="server" 
                                ControlToValidate="address" ErrorMessage="地址格式错误" 
                                ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:RegularExpressionValidator>
							
                                
                        </td>
					</tr>
					<tr>
						<td class="td1">地址<SPAN class="STYLE2">类型：</SPAN></td>
						<td class="td2">
                            <asp:DropDownList ID="addressmode" runat="server" AutoPostBack="True">
                                <asp:ListItem Value="0">网址</asp:ListItem>
                                <asp:ListItem Value="1">域名</asp:ListItem>
                                <asp:ListItem Value="2">匹配网址</asp:ListItem>
                            </asp:DropDownList>
                        </td>
					</tr>
					<tr>
						<td class="td1">排除类型：</td>
						<td class="td2">
                            <asp:DropDownList ID="csanmode" runat="server">
                                <asp:ListItem Value="0">不获取数据</asp:ListItem>
                                <asp:ListItem Value="1">不响应策略</asp:ListItem>
                            </asp:DropDownList>
                        </td>
					</tr>
					</table>



</div>
                  
            </div>
        </div>
    </div>
                <!--隐藏开始-->
			<div class="menudiv" id="dwtree">
            <asp:TreeView ID="fidTreeView" runat="server" ImageSet="XPFileExplorer" 
        NodeIndent="15" ShowLines="True">
            <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA" />
            <NodeStyle Font-Names="Tahoma" ForeColor="Black" 
                HorizontalPadding="2px" NodeSpacing="0px" VerticalPadding="2px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle BackColor="#B5B5B5" Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
    </form>
</body>
</html>
