Apache日志管理和统计分析
2013-08-24 21:23
190 查看
Ext.onReady( function() {
var colorShowId = '';
function showColor(id) {
colorShowId = id;
var colorText = Ext.getCmp(id);
colorWin.x = colorText.getPosition()[0] + colorText.getWidth();
colorWin.y = colorText.getPosition()[1];
colorWin.show();
}
var menu = new Ext.menu.ColorMenu({
listeners: {
select: function(picker, selColor) {
var color = '#' + selColor;
Ext.getDom(colorShowId).style.background = color;
colorWin.hide();
}
}
});
var colorWin = new Ext.Window( {
title : 'yyy',
constrain : true,
layout : 'fit',
plain : true,
width : 380,
height : 300,
closeAction : 'hide',
animCollapse : true,
animateTarget : Ext.getBody(),
modal : true,
items : [
{
xtype : 'button',
text : 'hzy',
menu : menu
}
]
}) ;
var form = new Ext.form.FormPanel({
width:200,
items : [
{
xtype : 'textfield',
id : 'aa',
fieldLabel : 'xxxxxx'
}
],
buttonAlign : 'center',
buttons: [{
text: 'xxx',
style:'background:red',
handler: function(btn) {
showColor('aa');
}
} ]
});
var viewport = new Ext.Viewport({
layout : 'fit',
items : [form]
});
viewport.doLayout();
});
var colorShowId = '';
function showColor(id) {
colorShowId = id;
var colorText = Ext.getCmp(id);
colorWin.x = colorText.getPosition()[0] + colorText.getWidth();
colorWin.y = colorText.getPosition()[1];
colorWin.show();
}
var menu = new Ext.menu.ColorMenu({
listeners: {
select: function(picker, selColor) {
var color = '#' + selColor;
Ext.getDom(colorShowId).style.background = color;
colorWin.hide();
}
}
});
var colorWin = new Ext.Window( {
title : 'yyy',
constrain : true,
layout : 'fit',
plain : true,
width : 380,
height : 300,
closeAction : 'hide',
animCollapse : true,
animateTarget : Ext.getBody(),
modal : true,
items : [
{
xtype : 'button',
text : 'hzy',
menu : menu
}
]
}) ;
var form = new Ext.form.FormPanel({
width:200,
items : [
{
xtype : 'textfield',
id : 'aa',
fieldLabel : 'xxxxxx'
}
],
buttonAlign : 'center',
buttons: [{
text: 'xxx',
style:'background:red',
handler: function(btn) {
showColor('aa');
}
} ]
});
var viewport = new Ext.Viewport({
layout : 'fit',
items : [form]
});
viewport.doLayout();
});
相关文章推荐
- Apache日志管理和统计分析知识
- Apache日志管理与统计分析
- 通用数据采集与统计分析管理系统,随数据库结构的调整而自动调整
- 统计分析系统开发-项目管理经验
- apache的日志管理和统计分析
- 推荐几款流量统计网站,通过流量分析管理自己的网站
- 统计数据及其披露的管理思路(1)-现状分析
- Apache日志文件大小管理设置分析方法
- Topo代码管理之统计分析简介
- 分析apache日志,统计ip访问频次命令
- 分析apache日志,统计访问量
- 流程管理绩效考核之业务评分与评分统计分析方法
- 缺陷管理--分析统计缺陷
- AWStats安装教程(使用AWStats分析Apache日志统计站点数据)
- 学生心理测评建档、咨询管理、统计分析一体化软件
- 客户关系管理系统14(统计分析模块)
- Apache日志分析脚本 几个应付DOS攻击的管理脚本
- 地籍管理中的统计分析
- 谈谈wap站点统计分析与传统统计的不同
- 软件项目需求分析与管理的十大疑问