DS7/DSWeb/Modules/ModuleList.aspx

80 lines
4.4 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ModuleList.aspx.cs" Inherits="DSWeb.Modules.ModuleList" %>
<!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>模块信息</title>
<style type="text/css">
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
</style>
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<link rel="stylesheet" type="text/css" href="../theme/progressbar.css" />
<script src="../js/dhtmlxcommon.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid.js" type="text/javascript"></script>
<script src="../js/dhtmlxgridcell.js" type="text/javascript"></script>
<script src="../js/dhtmlxcombo.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_keymap_excel.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_drag.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_group.js" type="text/javascript"></script>
<script src="../js/dhtmlxgrid_mcol.js" type="text/javascript"></script>
<script src="../js/TGridCommon.js" type="text/javascript"></script>
<script src="../js/json2.js" type="text/javascript"></script>
<script src="../js/Module.js" type="text/javascript"></script>
<script type="text/javascript">
//回车键控制 document.onkeypress=function()
{
if(event.keyCode==13)
{
search();
}
}
</script>
</head>
<body onload="createGrid()">
<div class="btn-content">
<div class="btn-blank"></div>
<div class="xbtn-img" onclick="addModule()">
<div class="btnimg"><img src="../../images/icons/btn_add.gif" width="16px" height="16px" title="添加新模块"/></div>
</div>
<div class="xbtn-img" onclick="deleteModule()">
<div class="btnimg"><img src="../../images/icons/remove.gif" width="16px" title="删除模块"/></div>
</div>
<div class="xbtn-img" onclick="refreshModule()">
<div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新列表"/></div>
</div>
</div>
<table style="width:100%">
<tr>
<td style="width:20px;"></td>
<td style="width:120px;"><div style="width:120px; text-align:right;">英文或中文名称:</div></td>
<td style="width:120px;"><input type="text" id="txt_name" runat="server" class="txtTab" style="width:120px;"/></td>
<td style="width:60px;"><div style="width:60px; text-align:right;">链接地址:</div></td>
<td style="width:130px;"><input type="text" id="txt_url" runat="server" class="txtTab" style="width:120px;"/></td>
<td style="width:100px;"><div style="width:100px; text-align:right;">父模块名称:</div></td>
<td style="width:110px;"><input type="text" id="txt_parent" runat="server" class="txtTab" style="width:120px;"/></td>
<td style="width:80px;">
<div onclick="search()" style="margin-left:5px;width:80px;">
<div style="width:20px; height:20px; float:left;margin-top:3px;"><img src="../images/icons/btnSearch.gif" title="查询"/></div>
<div style="float:left; font-size:12px; cursor:default;margin-top:5px; width:60px;">查询</div></div>
</td>
<td width="20px"></td>
<td style="width:60px;"><div style="float:left; font-size:12px; cursor:default;margin-top:2px; width:60px;" onclick="initGrid()">清空条件</div></td>
<td width="30%"></td>
</tr>
</table>
<div style="width:98%; overflow-x:scroll; position:relative;"><div id="mygrid_container_module" style="width:1200px; height:420px;" runat="server"></div></div>
<div id="pager" style="width: 100%; margin: 0px; padding: 4px; border: 0px solid #999;">
</div>
<div id="info" style="text-align: center; width: 100%; margin: 0 2px; padding: 4px; border: 1px solid #999;display:none;"></div>
<form id="form1" runat="server">
<div>
</div>
</form>
<div id="progressBar" class="progressBar">数据正在加载中……</div>
</body>
</html>