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

📄 moh.html

📁 asterisk 的图形管理界面
💻 HTML
字号:
<!--
 * Asterisk-GUI	-	an Asterisk configuration interface
 *
 * Manage "Music On Hold" Classes
 *
 * Copyright (C) 2006-2007, Digium, Inc.
 *
 * Mark Spencer <markster@digium.com>
 * Pari Nannapaneni <pari@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/rico.js"></script>
<script src="scripts/astman.js"></script>
<link href="stylesheets/rico.css" media="all" rel="Stylesheet" type="text/css" />
<link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />

<script>
var mohcallbacks = new Object;
var widgets = {};
var fieldnames = ['application', 'cancel', 'delete', 'directory', 'format', 'mode', 'name', 'new', 'random', 'save']; 

mohcallbacks.format = function(t) {
	return t.name;
}

mohcallbacks.postselect = function(box, val) {
	
}

mohcallbacks.loaded = function() {

}

function localajaxinit() {
	setWindowTitle("Music on Hold");
	// Load the jabber.conf->users into the Users, associate the field to other fields
	parent.loadscreen(this);
	for (var x =0; x < fieldnames.length; x++) {
		widgets[fieldnames[x]] = _$(fieldnames[x]);
		widgets[fieldnames[x]].disabled = true;
	}
	parent.astmanEngine.config2list("musiconhold.conf", _$('moh_classes'), widgets, mohcallbacks);
	return;
}
</script>
<body id="foo" onload="localajaxinit()"  bgcolor="EFEFEF">
<div class="mainscreenTitleBar">
	<span style="margin-left: 4px;font-weight:bold;">Music on Hold Classes</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">
		<td colspan='2'>List of <I>'Music On Hold'</I> Classes:</td>
	</tr>
	<tr valign="top">
		<td height="415">
			<select size="20" id="moh_classes" style="width:220px;height: 415px"><option>Loading...</option></select>
		</td>
		<td colspan='3' height=415>
			<div id='adjustments' style='width:308'>
				<table cellspacing='0' cellpadding='0'>
				<tr valign="top">
				<td>	<table>
					<tr>	<td class="field_text">Class:</td>
						<td>&nbsp;<input size='12' id='name' class="input8"></td>
					</tr>
					<tr>	<td class="field_text">Mode:</td>
						<td>&nbsp;<select id='mode'  class="input8">
							<option value="quietmp3">mp3 (Quiet)</option>
							<option value="mp3">mp3 (Loud)</option>
							<option value="mp3nb">mp3 (Unbuffered)</option>
							<option value="quietmp3nb ">mp3 (Quiet Unbuffered)</option>
							<option value="custom">Custom</option>
							<option value="files">files</option>
							</select>
						</td>
					</tr>
					<tr>	<td class="field_text">Directory:</td>
						<td>&nbsp;<input size='25' id='directory' class="input8"></td>
					</tr>
					<tr>	<td class="field_text">Application:</td>
						<td>&nbsp;<input size='25' id='application' class="input8"></td>
					</tr>
					<tr>	<td class="field_text">Format:</td>
						<td>&nbsp;<input size='12' id='format' class="input8"></td>
					</tr>
					<tr>	<td class="field_text">Random:</td>
						<td><input type=checkbox id='random'></td>
					</tr>
					</table>
				</td>
				</tr>
				</table>
			</div>
		</td>
	</tr>				
	<tr>	<td align='center'>
				<input type='button' id='new' value='New' class="buttonbold">&nbsp;&nbsp;<input type='button' id='delete' value='Delete' class="buttonbold">
		</td>
		<td colspan='1' align='center'>
				<input type='button' id='save' value='Save' class="buttonbold">&nbsp;<input type='button' id='cancel' value='Cancel'  class="buttonbold">
		</td>
	</tr>
	<tr>
	</tr>
</table>
</div>
</body>

⌨️ 快捷键说明

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