rbrindley: branch 2.0 r4914 - /branches/2.0/config/menuprompts_record.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Jun 23 12:34:08 CDT 2009


Author: rbrindley
Date: Tue Jun 23 12:34:05 2009
New Revision: 4914

URL: http://svn.asterisk.org/svn-view/asterisk-gui?view=rev&rev=4914
Log:

- Added the following to the Custom Voice Menu page
	- <html>, <head>, <title>, and "Content-Type" <meta>
- moved js to the bottom


Modified:
    branches/2.0/config/menuprompts_record.html

Modified: branches/2.0/config/menuprompts_record.html
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/config/menuprompts_record.html?view=diff&rev=4914&r1=4913&r2=4914
==============================================================================
--- branches/2.0/config/menuprompts_record.html (original)
+++ branches/2.0/config/menuprompts_record.html Tue Jun 23 12:34:05 2009
@@ -19,113 +19,118 @@
  * at the top of the source tree.
  *
 -->
-<script src="js/jquery.js"></script>
-<script src="js/astman.js"></script>
-<script src="js/menuprompts_record.js"></script>
-<script src="js/jquery.tooltip.js"></script>
-<link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
-<style type="text/css">
-	#recfilesTable {
-		border: 1px solid #666666;
-		margin-top: 5px;
-		margin-bottom:10px;
-		width: 96%;
-		text-align: center;
-		padding : 1px;
-	}
-	#recfilesTable tr.frow { background: #6b79a5; color: #CED7EF; }
-	#recfilesTable tr.frow td{ font-weight:bold; }
-	#recfilesTable tr td{ padding : 3px; }
-	#recfilesTable tr.even { background: #DFDFDF; }
-	#recfilesTable tr.odd{ background: #FFFFFF; }
-	#recfilesTable tr.even:hover, #recfilesTable tr.odd:hover {
-		background: #a8b6e5;
-		cursor: default;
-	}
+<html>
+<head>
+	<title>Custom Voice Menu Prompts</title>
+	<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
 
-</style>
+	<link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
+	<style type="text/css">
+		#recfilesTable {
+			border: 1px solid #666666;
+			margin-top: 5px;
+			margin-bottom:10px;
+			width: 96%;
+			text-align: center;
+			padding : 1px;
+		}
+		#recfilesTable tr.frow { background: #6b79a5; color: #CED7EF; }
+		#recfilesTable tr.frow td{ font-weight:bold; }
+		#recfilesTable tr td{ padding : 3px; }
+		#recfilesTable tr.even { background: #DFDFDF; }
+		#recfilesTable tr.odd{ background: #FFFFFF; }
+		#recfilesTable tr.even:hover, #recfilesTable tr.odd:hover {
+			background: #a8b6e5;
+			cursor: default;
+		}
 
+	</style>
+</head>
 <body bgcolor="EFEFEF">
+	<div class="iframeTitleBar">
+		Custom Voice Menu Prompts
+		<span style="cursor: pointer; cursor: hand;" onclick="window.location.reload();" >
+			&nbsp;<img src="images/refresh.png" title=" Refresh " border=0 >&nbsp;
+		</span>
+	</div>
 
-<div class="iframeTitleBar">
-	Custom Voice Menu Prompts
-	<span style="cursor: pointer; cursor: hand;" onclick="window.location.reload();" >
-		&nbsp;<img src="images/refresh.png" title=" Refresh " border=0 >&nbsp;
-	</span>
-</div>
+	<div style='display:none;' class='nocf' id='nocf'> You need a&nbsp;&nbsp;<b>CompactFlash&reg;</b>&nbsp;&nbsp;to use this feature </div>
 
-<div style='display:none;' class='nocf' id='nocf'> You need a&nbsp;&nbsp;<b>CompactFlash&reg;</b>&nbsp;&nbsp;to use this feature </div>
+	<div id='thispageContent'>
+		<div class='lite_Heading'>
+			List of Custom Voice Menu Prompts
+		</div>
+		<div STYLE="text-align: center;" class='top_buttons'>
+			<span class='guiButton' onclick='show_record_New();'>Record a new Voice Menu prompt</span>
+			<span class='guiButton' onclick='window.location.href="menuprompts_upload.html";' id='uploadVoiceMenuPrompt_Button'>Upload a Voice Menu prompt</span>
+			<span class='guiButton' style='margin-left:100px;' onclick="parent.miscFunctions.toDigiumStore('IVRPROMPT');" id='whereToBuy_button' tip="en,record,90">Where to Buy</span>
+		</div>
+		<BR>
+		<div id="recfilesTable_div" style="height:370px; width=100%; overflow :auto; padding : 0">
+			<table id="recfilesTable" cellpadding=2 cellspacing=1 border=0 align=center></table>
+		</div>
+	</div>
 
-<div id='thispageContent'>
-	<div class='lite_Heading'>
-		List of Custom Voice Menu Prompts
+	<div id="recordnew_content" STYLE="max-width:575; height:190; display:none;" class='dialog'>
+		<TABLE width="100%" cellpadding=0 cellspacing=0>
+		<TR class="dialog_title_tr">
+			<TD class="dialog_title" onmousedown="ASTGUI.startDrag(event);">Record a new Voice Menu prompt</TD>
+			<TD class="dialog_title_X" onclick="ASTGUI.hideDrag(event);"> X </TD>
+		</TR>
+		</TABLE>
+		<table cellpadding=2 cellspacing=2 border=0>
+			<tr>	<td colspan=2 height=15 valign=middle align=center class="field_text"></td></tr>
+			<tr>	<td class="field_text" align=right>File Name:</td>
+				<td><input id='newvmenu_name' size=24>
+					<input type="hidden" id="newvmenu_format" value=".gsm">
+				</td>
+			</tr>
+			<tr>	<td class="field_text" align=right>Format:</td>
+				<td>	<select id="newvmenu_format">
+						<option value='.gsm'>GSM</option>
+						<option value='.wav'>WAV</option>
+					</select>
+				</td>
+			</tr>
+			<tr>	<td class="field_text">dial this User Extension to record a new voice prompt:</td>
+				<td><select id='newvmenu_ext'></select></td>
+			</tr>
+			<tr>	<td colspan=2 align=center height=10></td></tr>
+			<tr>	<td colspan=2 align=center>
+					<span class='guiButtonCancel' onclick='ASTGUI.hideDrag(event);' style='margin-left:15px'>Cancel</span>
+					<span class='guiButton' onclick='record_new_Verify();'>Record</span>
+				</td>
+			</tr>
+			<tr>	<td colspan=2 align=center height=10></td></tr>
+		</table>
 	</div>
-	<div STYLE="text-align: center;" class='top_buttons'>
-		<span class='guiButton' onclick='show_record_New();'>Record a new Voice Menu prompt</span>
-		<span class='guiButton' onclick='window.location.href="menuprompts_upload.html";' id='uploadVoiceMenuPrompt_Button'>Upload a Voice Menu prompt</span>
-		<span class='guiButton' style='margin-left:100px;' onclick="parent.miscFunctions.toDigiumStore('IVRPROMPT');" id='whereToBuy_button' tip="en,record,90">Where to Buy</span>
-	</div>
-	<BR>
-	<div id="recfilesTable_div" style="height:370px; width=100%; overflow :auto; padding : 0">
-		<table id="recfilesTable" cellpadding=2 cellspacing=1 border=0 align=center></table>
-	</div>
-</div>
-
-<div id="recordnew_content" STYLE="max-width:575; height:190; display:none;" class='dialog'>
-	<TABLE width="100%" cellpadding=0 cellspacing=0>
-	<TR class="dialog_title_tr">
-		<TD class="dialog_title" onmousedown="ASTGUI.startDrag(event);">Record a new Voice Menu prompt</TD>
-		<TD class="dialog_title_X" onclick="ASTGUI.hideDrag(event);"> X </TD>
-	</TR>
-	</TABLE>
-	<table cellpadding=2 cellspacing=2 border=0>
-		<tr>	<td colspan=2 height=15 valign=middle align=center class="field_text"></td></tr>
-		<tr>	<td class="field_text" align=right>File Name:</td>
-			<td><input id='newvmenu_name' size=24>
-				<input type="hidden" id="newvmenu_format" value=".gsm">
-			</td>
-		</tr>
-		<tr>	<td class="field_text" align=right>Format:</td>
-			<td>	<select id="newvmenu_format">
-					<option value='.gsm'>GSM</option>
-					<option value='.wav'>WAV</option>
-				</select>
-			</td>
-		</tr>
-		<tr>	<td class="field_text">dial this User Extension to record a new voice prompt:</td>
-			<td><select id='newvmenu_ext'></select></td>
-		</tr>
-		<tr>	<td colspan=2 align=center height=10></td></tr>
-		<tr>	<td colspan=2 align=center>
-				<span class='guiButtonCancel' onclick='ASTGUI.hideDrag(event);' style='margin-left:15px'>Cancel</span>
-				<span class='guiButton' onclick='record_new_Verify();'>Record</span>
-			</td>
-		</tr>
-		<tr>	<td colspan=2 align=center height=10></td></tr>
-	</table>
-</div>
 
 
-<div id="playFile_content" STYLE="width:475; height:150; display:none;" class='dialog'>
-	<TABLE width="100%" cellpadding=0 cellspacing=0>
-	<TR class="dialog_title_tr">
-		<TD class="dialog_title" onmousedown="ASTGUI.startDrag(event);">Choose an Extension</TD>
-		<TD class="dialog_title_X" onclick="ASTGUI.hideDrag(event);"> X </TD>
-	</TR>
-	</TABLE>
-	<table cellpadding=2 cellspacing=2 border=0 align=center width=95%>
-		<tr>	<td  align=right>File to Play :</td>
-			<td width='40%'><span id='playVmenu_name'></span></td>
-		</tr>
-		<tr>	<td align=right id='playVmenu_ext_0'></td>
-			<td><select id='playVmenu_ext'></select></td>
-		</tr>
-		<tr>	<td colspan=2 align=center height=60 valign=middle>
-				<span class='guiButtonCancel' onclick='ASTGUI.hideDrag(event);' style='margin-left:15px'>Cancel</span>
-				<span class='guiButton' onclick='play_record_file();' id="play_record_button">Play</span>
-			</td>
-		</tr>
-	</table>
-</div>
+	<div id="playFile_content" STYLE="width:475; height:150; display:none;" class='dialog'>
+		<TABLE width="100%" cellpadding=0 cellspacing=0>
+		<TR class="dialog_title_tr">
+			<TD class="dialog_title" onmousedown="ASTGUI.startDrag(event);">Choose an Extension</TD>
+			<TD class="dialog_title_X" onclick="ASTGUI.hideDrag(event);"> X </TD>
+		</TR>
+		</TABLE>
+		<table cellpadding=2 cellspacing=2 border=0 align=center width=95%>
+			<tr>	<td  align=right>File to Play :</td>
+				<td width='40%'><span id='playVmenu_name'></span></td>
+			</tr>
+			<tr>	<td align=right id='playVmenu_ext_0'></td>
+				<td><select id='playVmenu_ext'></select></td>
+			</tr>
+			<tr>	<td colspan=2 align=center height=60 valign=middle>
+					<span class='guiButtonCancel' onclick='ASTGUI.hideDrag(event);' style='margin-left:15px'>Cancel</span>
+					<span class='guiButton' onclick='play_record_file();' id="play_record_button">Play</span>
+				</td>
+			</tr>
+		</table>
+	</div>
 
+	<script src="js/jquery.js"></script>
+	<script src="js/astman.js"></script>
+	<script src="js/menuprompts_record.js"></script>
+	<script src="js/jquery.tooltip.js"></script>
 </body>
+</html>




More information about the asterisk-gui-commits mailing list