230 lines
12 KiB
Plaintext
230 lines
12 KiB
Plaintext
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="masterPage.master.cs" Inherits="ajax.DeiNiuMasterPage" %>
|
||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
<META http-equiv="content-type" content="text/html; charset=gb2312">
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head id="Head1" runat="server">
|
||
<title>WMS v1.0</title>
|
||
<link href="ZhangPuStyle.css" type="text/css" rel="stylesheet" />
|
||
<link href="/public/KindEditor/themes/default/default.css" rel="stylesheet" charset="utf-8" type="text/css" />
|
||
<script src="/public/KindEditor/kindeditor-all.js" charset="utf-8" type="text/javascript"></script>
|
||
<script src="/public/KindEditor/lang/zh-CN.js" charset="utf-8" type="text/javascript"></script>
|
||
<link rel="stylesheet" href="/public/KindEditor/plugins/code/prettify.css" type="text/css"/>
|
||
<script charset="utf-8" src="/public/KindEditor/lang/zh_CN.js" type="text/javascript"></script>
|
||
<script charset="utf-8" src="/public/KindEditor/plugins/code/prettify.js" type="text/javascript"></script>
|
||
<script type="text/javascript">
|
||
|
||
KindEditor.ready(
|
||
function (K) {
|
||
editor = K.create('#txtDesc', {
|
||
//上传处理程序的路径
|
||
uploadJson: '/pubic/KindEditor/asp.net/upload_json.ashx',
|
||
imageSizeLimit: '10MB', //批量上传图片单张最大容量
|
||
imageUploadLimit: 30, //批量上传图片同时上传最多个数
|
||
//文件管理处理程序的路径
|
||
fileManagerJson: '/pubic/KindEditor/asp.net/file_manager_json.ashx',
|
||
allowFileManager: true,
|
||
//要取值设置这里 这个函数就是同步KindEditor的值到textarea文本框
|
||
afterCreate: function () {
|
||
var self = this;
|
||
K.ctrl(document, 13, function () {
|
||
self.sync();
|
||
K('form[name=example]')[0].submit();
|
||
});
|
||
K.ctrl(self.edit.doc, 13, function () {
|
||
self.sync();
|
||
K('form[name=example]')[0].submit();
|
||
});
|
||
},
|
||
//上传后执行的回调函数,获取上传图片的路径
|
||
afterUpload: function (data) {
|
||
alert(data);
|
||
},
|
||
//同时设置这里
|
||
afterBlur: function () {
|
||
this.sync();
|
||
},
|
||
width: '1000px;',
|
||
height: '500px;',
|
||
//编辑工具栏
|
||
items: [
|
||
'source', '|', 'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste',
|
||
'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
|
||
'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
|
||
'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/',
|
||
'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
|
||
'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage',
|
||
'flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak',
|
||
'anchor', 'link', 'unlink', '|', 'about'
|
||
]
|
||
});
|
||
});
|
||
|
||
</script>
|
||
</head>
|
||
<body>
|
||
<div id="Container">
|
||
|
||
|
||
<form id="form1" name="clock" runat="server">
|
||
|
||
<script type="text/javascript" language="javascript">
|
||
<!-- #include file="public/JScript.js" -->
|
||
</script>
|
||
|
||
<asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True"
|
||
EnableScriptLocalization="True" AsyncPostBackTimeout="180">
|
||
</asp:ScriptManager>
|
||
|
||
<table width="95%" align="center" >
|
||
<tr>
|
||
<td height="74" >
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td>
|
||
<table width=" 98% " class="Table_Border" border="0" align="center" cellspacing="2" bgcolor="#FFFFFF">
|
||
<tr>
|
||
<div runat="server" id="leftMenu" visible="false">
|
||
<td width="150" valign="top" class="left" style="height: 530px">
|
||
<table width="150" border="0" cellpadding="0" cellspacing="0">
|
||
<tr>
|
||
<td >
|
||
<div runat="server" id="divAuhtority" class="title_tree">
|
||
<strong>用户权限</strong></div>
|
||
<div class="tree_in" >
|
||
<asp:TreeView ID="treeMenu" runat="server">
|
||
<NodeStyle CssClass="left_title"></NodeStyle>
|
||
<LeafNodeStyle ImageUrl="./Images/arr.gif" ForeColor="#44494F"></LeafNodeStyle>
|
||
</asp:TreeView>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</div>
|
||
<td style="height: 300px; ">
|
||
<img src="./Images/1.gif" width="1" runat=server /></td>
|
||
<td valign="top" bgcolor="#FFFFFF" style="height: 300px;">
|
||
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
|
||
<tr class="top_bg" >
|
||
<td style="height: 17px; Font-Size=Small " nowrap="nowrap">
|
||
<img src="~/Images/1.gif" width="8" runat=server /><asp:SiteMapPath ID="SiteMapPath1" runat="server"
|
||
ForeColor="#FFFFC0" PathSeparator=">>">
|
||
<PathSeparatorStyle Font-Bold="True" ForeColor="Gold" BackColor="Transparent" BorderStyle="None" />
|
||
<CurrentNodeStyle ForeColor="White" BackColor="Transparent" Font-Bold="True" Font-Underline="False" />
|
||
<NodeStyle Font-Bold="False" ForeColor="White" />
|
||
<RootNodeStyle Font-Bold="False" ForeColor="White" />
|
||
</asp:SiteMapPath>
|
||
|
||
<input name="thetime" style="background: none; font-size: 9pt; color: White; border: 0;
|
||
width: 138px;" />
|
||
|
||
</td>
|
||
<td align="center" >
|
||
<asp:ImageButton ID="ImageBtnHelp" runat="server" Height="21px" ImageUrl="~/Images/help.png"
|
||
OnClick="ImageButton1_Click" ToolTip="点击显示帮助文档" Width="32px" Visible="False" />
|
||
</td>
|
||
<td nowrap>
|
||
|
||
|
||
|
||
|
||
</td>
|
||
<td height="30" align="right">
|
||
<asp:Label ID="lbWelcome" runat="server" CssClass="Lable" Text="欢迎你"></asp:Label>
|
||
|
||
<asp:LinkButton ID="lkbtnLogin" runat="server" OnClick="lkbtnLogin_Click" ForeColor="#FFFFFF">退出</asp:LinkButton>
|
||
</td>
|
||
<td height="30" align="right">
|
||
|
||
<asp:LinkButton ID="lkIndex" runat="server" OnClick="lkIndex_Click" ForeColor="#FFFFFF" Visible="false">首页</asp:LinkButton>
|
||
<asp:LinkButton ID="lkDesktop" runat="server" ForeColor="#FFFFFF" OnClick="lkDesktop_Click">桌面</asp:LinkButton>
|
||
<asp:LinkButton ID="lkkanban" runat="server" ForeColor="#FFFFFF"
|
||
onclick="lkkanban_Click" >看板</asp:LinkButton>
|
||
|
||
|
||
</td>
|
||
|
||
</tr>
|
||
</table>
|
||
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
|
||
<ContentTemplate>
|
||
<div style="position:absolute; z-index:100; width:100%"; align=right> </div>
|
||
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
|
||
</asp:ContentPlaceHolder>
|
||
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="3" align="center">
|
||
<br />
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td colspan="2" align="center">
|
||
<table width="800" border=0>
|
||
<tr>
|
||
<td>
|
||
|
||
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</form>
|
||
</div>
|
||
<script language="JavaScript">
|
||
|
||
|
||
function showDate()
|
||
{
|
||
now = new Date() ;
|
||
document.aspnetForm.thetime.value =now.toLocaleString() ;
|
||
|
||
setTimeout("showDate()",1000);
|
||
}
|
||
showDate();
|
||
|
||
// ------->
|
||
|
||
var prm = Sys.WebForms.PageRequestManager.getInstance();
|
||
|
||
prm.add_initializeRequest(InitializeRequest);
|
||
prm.add_endRequest(EndRequest);
|
||
|
||
function InitializeRequest(sender, args)
|
||
{
|
||
$get('Container').style.cursor = 'wait';
|
||
}
|
||
|
||
function EndRequest(sender, args)
|
||
{
|
||
$get('Container').style.cursor = 'auto';
|
||
}
|
||
|
||
|
||
|
||
</script>
|
||
</body>
|
||
</html>
|