⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 graphs.html.svn-base

📁 asterisk-gui asterisk网关接口编程 控制asterisk的接口
💻 SVN-BASE
字号:
<!-- * Asterisk-GUI	-	an Asterisk configuration interface * * SVG Graphing Capability For the Asterisk Gui. * * Copyright (C) 2006-2007, Digium, Inc. * * Brandon Kruse <bkruse@digium.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this project for assistance; * the project provides a web site, mailing lists and IRC * channels for your use. * * This program is free software, distributed under the terms of * the GNU General Public License Version 2. See the LICENSE file * at the top of the source tree. *--><script src="scripts/prototype.js"></script><script src="scripts/astman.js"></script><script src="scripts/tooltip.js"></script><link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" /><script>/* I am planning to add tons of graphs besides just CPU, this is more or less a Proof of Concept */var tabs = new Array('tab1'); var divs_tohide = new Array('cpu_div');function show_window(x){	for(i=0; i < tabs.length ; i++){		document.getElementById(tabs[i]).className = "tab";	}	document.getElementById(tabs[x-1]).className = "tabselected";	document.getElementById(tabs[x-1]).blur();	//clearInterval(interval_handler); /*stop our other real-time refreshers... */	switch(x){		case 1:		var divs_toshow = new Array('cpu_div');		//var interval_handler = setInterval(update_graph,5000);		break;	}	for(var i=0; i < divs_tohide.length; i++ )		_$(divs_tohide[i]).style.display = "none";	for(var i=0; i < divs_toshow.length; i++ )		_$(divs_toshow[i]).style.display = "";	return true;}function localajaxinit(){	ASTGUI.events.add(document, 'mouseover', show_tooltip);	setWindowTitle("Resource and Monitoring Graphs");	var date = new Date() ;	parent.loadscreen(this);	show_window(1);}function free_mem(){	if( navigator.userAgent.indexOf("MSIE") == -1 ){ return true; }	try{		purge( document.body );	} catch(e){ }}</script><body id="foo" onload="localajaxinit()" bgcolor="EFEFEF"  onunload="free_mem()"><div class="mainscreenTitleBar">	<span style="margin-left: 4px;font-weight:bold;">Graphs: </span>	<span style="cursor: pointer; cursor: hand;" onclick="window.location.href=window.location.href;" >&nbsp;<img src="images/refresh.png" title=" Refresh " border=0 >&nbsp;</span></div><div class="mainscreenContentBox" id="userscontent"><table class="mainscreenTable" align="center">	<tr valign="top" height="18">		<td align="left">		<a href="#" class="tab" onclick="return show_window(1);" id="tab1" tip="en,graph,0">CPU</a>&nbsp;&nbsp;		<div id="graphshtml" style="display:none"></div>		<div id="information" style=" border: solid 0px black; background: transparent; padding: 4px; height:440px; width:95%;">			<BR>			<div id="cpu_div" style="display:none">				<div id="cpu" style="font-family:courier; font-size:10pt;"></div><BR>				<h3>This Page Is No Longer In Use</h3>				<!--				<embed id="cpu_embed" type="image/svg+xml" src="graphs/graph_cpu.svgz"						width="500" height="250" /> 				-->			</div>		</div>	</td>	</tr>	<tr><td valign="top" align=center><div  id='status'></div></td></tr>	<tr><td></td></tr></table></div></body>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -