You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
5.9 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="DSWeb.Modules.Edit" %>
<%@ Register assembly="DSWebComponent" namespace="DSWebComponent" tagprefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>模块编辑-ModuleEdit</title>
<style type="text/css">
html,body{font-size:12px;margin:0px;height:100%;}
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
.txtTab-error{border:1px solid #FF0000; border-color:#FF0000;}
.btn{
width:95px;
BORDER-RIGHT: #2C59AA 1px solid;
PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid;
PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5);
BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px;
BORDER-BOTTOM: #2C59AA 1px solid
}
</style>
<script src="../js/ModuleEdit.js" type="text/javascript"></script>
</head>
<body style="font-size:12px; background-color:#ecf2ff;">
<div style="width:100%;height:100%;" oncontextmenu="return false">
<form id="form1" runat="server">
<table style="width:98%">
<tr>
<td colspan="5" height="5"></td>
</tr>
<tr>
<td colspan="5"><div id="dvModuleBase" style="font-weight:800">基本信息</div></td>
</tr>
<tr>
<td colspan="5" align="center" height="10"><hr /></td>
</tr>
<tr>
<td style="width:110px;"><div id="dvName" runat="server" style="text-align:right;width:110px;font-size:12px;">模块系统名称:</div></td>
<td style="width:40%;"><input type="text" runat="server" id="txt_sysname" class="txtTab" style="width:98%"/></td>
<td style="width:110px;"><div id="dvDescription" runat="server" style="text-align:right;width:110px;font-size:12px;">模块中文名称:</div></td>
<td style="width:40%;"><input type="text" runat="server" id="txt_description" class="txtTab" style="width:98%"/></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:110px;"><div id="dvUrl" runat="server" style="text-align:right;width:110px;font-size:12px;">模块地址链接:</div></td>
<td style="width:40%;"><input type="text" runat="server" id="txt_url" class="txtTab" style="width:98%"/></td>
<td style="width:110px;"><div id="dvImgUrl" runat="server" style="text-align:right;width:110px;font-size:12px;">模块图片链接:</div></td>
<td style="width:40%;"><input type="text" runat="server" id="txt_imgurl" class="txtTab" style="width:98%"/></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:110px;"><div id="dvParent" runat="server" style="text-align:right;width:110px;font-size:12px;">父模块:</div></td>
<td style="width:40%;"><div style="float:left; width:85%"><input type="text" runat="server" id="txt_parent" class="txtTab" style="width:100%" disabled=1/></div><div style="float:left; width:10%; margin-left:2px; cursor:default;" onclick="parentEdit()"><img src="../images/icons/addapplication.gif" style="width:16px; height:16px; padding-left:5px; padding-top:2px;"/></div></td>
<td style="width:110px;"><div id="dvSort" runat="server" style="text-align:right;width:110px;font-size:12px;">排序值:</div></td>
<td style="width:40%;"><div style="float:left; width:85%"><input type="text" runat="server" id="txt_sort" class="txtTab" style="width:100%" disabled=1/></div><div style="float:left; width:10%; margin-left:2px; cursor:default;"><img src="../images/icons/addapplication.gif" style="width:16px; height:16px; padding-left:5px; padding-top:2px;"/></div></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:110px;"><div id="dvState" runat="server" style="text-align:right;width:110px;font-size:12px;">模块状态:</div></td>
<td style="width:40%;"><input type="checkbox" id="ck_state" runat="server"/></td>
<td style="width:110px;"></td>
<td style="width:40%;"></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:110px;"><div id="dvType" runat="server" style="text-align:right;width:110px;font-size:12px;">模块类型:</div></td>
<td style="width:40%;"><select id="sel_type" runat="server" style="width:98%; font-size:12px;" class="txtTab"><option value="0">主菜单模块</option><option value="1">弹出菜单模块</option><option value="2">弹出菜单模块</option></select></td>
<td style="width:110px;"><div id="dvOpenPage" runat="server" style="text-align:right;width:110px;font-size:12px;">关联弹出页面:</div></td>
<td style="width:40%;"><div style="width:98%" id="txt_openpage" runat="server">无</div></td>
<td style="width:50px;"></td>
</tr>
<tr>
<td style="width:110px;"><div id="dvCreateUser" runat="server" style="text-align:right;width:110px;font-size:12px;">创建人:</div></td>
<td style="width:40%;"><div style="width:98%" id="txt_createuser" runat="server"></div></td>
<td style="width:110px;"><div id="dvCreateTime" runat="server" style="text-align:right;width:110px;font-size:12px;">创建时间:</div></td>
<td style="width:40%;"><div style="width:98%" id="txt_createtime" runat="server"></div></td>
<td style="width:50px;"></td>
</tr>
</table>
<div style="padding-top:10px; padding-left:30px;"><input type="button" id="btn_save" value="确认" class="btn" onclick="saveModule()"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" id="btn_cancel" value="取消" class="btn" onclick="cancelModule()"/></div>
<input type="hidden" id="h_posttype" runat="server"/>
<input type="hidden" id="h_poststate" runat="server" />
<input type="hidden" id="h_parentid" runat="server" />
<input type="hidden" id="h_handle" runat="server" />
<input type="hidden" id="h_moduleid" runat="server" />
</form>
</div>
</body>
</html>