You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.3 KiB
69 lines
2.3 KiB
4 weeks ago
|
<%@page import="org.wdk.module.auth.mount.bean.BaseSessionUser"%>
|
||
|
<%@page import="org.wdk.WDK"%>
|
||
|
<%@page import="org.wdk.module.auth.source.bean.TokenBean"%>
|
||
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||
|
<%
|
||
|
String path = request.getContextPath();
|
||
|
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
|
||
|
BaseSessionUser su = WDK.getSessionUser(request, response);
|
||
|
if(null==su){
|
||
|
su = new BaseSessionUser();
|
||
|
}
|
||
|
String WDK_ROOT = WDKCore.WDK_ROOT;
|
||
|
String RSS_ROOT = WDK_ROOT +"/"+WDKConstant.Theme+"/"+WDKCore.THEME;
|
||
|
String commonURL = "/"+RSS_ROOT+"/module/public/common.jsp";
|
||
|
%>
|
||
|
<!DOCTYPE html>
|
||
|
<%@page import="org.wdk.WDKConstant"%>
|
||
|
<%@page import="org.wdk.WDKCore"%>
|
||
|
<html>
|
||
|
|
||
|
<head>
|
||
|
<base href="<%=basePath%>" target="_self">
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<jsp:include page='<%=commonURL %>'></jsp:include>
|
||
|
<script type="text/javascript" src="<%=RSS_ROOT%>/core/js/wdk.js"></script>
|
||
|
<title>在线用户</title>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
<% if(null==su){%>
|
||
|
$.timeout();
|
||
|
<%}%>
|
||
|
|
||
|
var _gridcode = 'wdk.module.monitor.onlinegrid';
|
||
|
var _gridid = 'layout_grid';
|
||
|
window.onload = function(){
|
||
|
_gridid = $.grid({
|
||
|
containerid:_gridid,
|
||
|
gridcode:_gridcode,
|
||
|
fit: true,//自动大小
|
||
|
url:'wdk?action=wdk.public&method=online_load&ajaxparam='+new Date().getTime(),
|
||
|
remoteSort:false,
|
||
|
showContextMenu:false,
|
||
|
queryParams:{},
|
||
|
idField:'sessionid'
|
||
|
});
|
||
|
|
||
|
};
|
||
|
|
||
|
function _handler_click(method,machinecode){
|
||
|
switch(method){
|
||
|
case 'kick':
|
||
|
alert('kick');
|
||
|
break;
|
||
|
default:
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body class="easyui-layout" data-options="fit:true" style="padding:0px;margin:0px;background-color:#FFFFFF;">
|
||
|
<div id="layout_grid" data-options="region:'center',border:false,collapsed:false" style="overflow:hidden;border:1px solid #ddd;" >
|
||
|
|
||
|
</div>
|
||
|
<div id="layout_grid_toolbar" data-options="region:'north',border:false,collapsed:false" style="height:30px;overflow:hidden;border:1px solid #ddd;text-align:left;" >
|
||
|
<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="_append()">新增</a>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|