<%@ Import Namespace="ASPNET.StarterKit.Portal" %>
<%@ Register TagPrefix="ASPNETPortal" TagName="Banner" Src="~/DesktopPortalBanner.ascx" %>
<%@ Page language="c#" CodeBehind="ModuleDefinitions.aspx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Portal.ModuleDefinitions" %>
<HTML>
	<HEAD>
		<%--
    The SecurityRoles.aspx page is used to create and edit security roles within
    the Portal application.
--%>
		<link rel="stylesheet" href='<%= Global.GetApplicationPath(Request) + "/ASPNETPortal.css" %>' type="text/css">
	</HEAD>
	<body leftmargin="0" bottommargin="0" rightmargin="0" topmargin="0" marginheight="0" marginwidth="0">
		<form runat="server">
			<table width="100%" cellspacing="0" cellpadding="0" border="0">
				<tr valign="top">
					<td colspan="2">
						<ASPNETPortal:Banner id="SiteHeader" runat="server" />
					</td>
				</tr>
				<tr>
					<td>
						<br>
						<table width="98%" cellspacing="0" cellpadding="4" border="0">
							<tr valign="top">
								<td width="150">
									&nbsp;
								</td>
								<td width="*">
									<table width="500" cellspacing="0" cellpadding="0">
										<tr>
											<td align="left" class="Head">
												模块类型定义&nbsp;
											</td>
										</tr>
										<tr>
											<td colspan="2">
												<hr noshade size="1">
											</td>
										</tr>
									</table>
									<table width="750" cellspacing="0" cellpadding="0" border="0">
										<tr>
											<td width="100" class="SubHead">
												名称：&nbsp;
											</td>
											<td rowspan="5">
												&nbsp;
											</td>
											<td>
												<asp:TextBox id="FriendlyName" cssclass="NormalTextBox" width="390" Columns="30" maxlength="150"
													runat="server" />
											</td>
											<td width="25" rowspan="5">
												&nbsp;
											</td>
											<td class="Normal" width="250">
												<asp:RequiredFieldValidator id="Req1" Display="Static" ErrorMessage="输入模块名称" ControlToValidate="FriendlyName"
													runat="server" />
											</td>
										</tr>
										<tr>
											<td class="SubHead" nowrap>
												桌面源：
											</td>
											<td>
												<asp:TextBox id="DesktopSrc" cssclass="NormalTextBox" width="390" Columns="30" maxlength="150"
													runat="server" />
											</td>
											<td class="Normal">
												<asp:RequiredFieldValidator id="Req2" Display="Static" ErrorMessage="您必须输入桌面模块的源路径" ControlToValidate="DesktopSrc"
													runat="server" />
											</td>
										</tr>
										<tr>
											<td class="SubHead">
												移动源：&nbsp;
											</td>
											<td>
												<asp:TextBox id="MobileSrc" cssclass="NormalTextBox" width="390" Columns="30" maxlength="150"
													runat="server" />
											</td>
											<td>
												&nbsp;
											</td>
										</tr>
									</table>
									<p>
										<asp:LinkButton id="updateButton" Text="Update" runat="server" class="CommandButton" BorderStyle="none">
                                        更新</asp:LinkButton>
										&nbsp;
										<asp:LinkButton id="cancelButton" Text="Cancel" CausesValidation="False" runat="server" class="CommandButton"
											BorderStyle="none">
                                        取消</asp:LinkButton>
										&nbsp;
										<asp:LinkButton id="deleteButton" Text="Delete this module type" CausesValidation="False" runat="server"
											class="CommandButton" BorderStyle="none">
                                    删除改模块类型</asp:LinkButton>
									</p>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
