rbrindley: branch rbrindley/welcome_revamp r4171 - /team/rbrindley/welcome_re...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Nov 20 17:35:49 CST 2008


Author: rbrindley
Date: Thu Nov 20 17:35:48 2008
New Revision: 4171

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4171
Log:
copied welcome.html to welcome2.html and modified home.html to redirect to welcome2.html

Added:
    team/rbrindley/welcome_revamp/config/welcome2.html
Modified:
    team/rbrindley/welcome_revamp/config/home.html

Modified: team/rbrindley/welcome_revamp/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/home.html?view=diff&rev=4171&r1=4170&r2=4171
==============================================================================
--- team/rbrindley/welcome_revamp/config/home.html (original)
+++ team/rbrindley/welcome_revamp/config/home.html Thu Nov 20 17:35:48 2008
@@ -27,7 +27,7 @@
 	parent.ASTGUI.dialog.hide();
 	DOM_username.disabled = true;
 	DOM_secret.disabled = true ;
-	try{ if (a.welcome_redirect == true){ window.location.href = 'welcome.html'; } }catch(err){ }
+	try{ if (a.welcome_redirect == true){ window.location.href = 'welcome2.html'; } }catch(err){ }
 };
 
 var localajaxinit = function(){

Added: team/rbrindley/welcome_revamp/config/welcome2.html
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/welcome2.html?view=auto&rev=4171
==============================================================================
--- team/rbrindley/welcome_revamp/config/welcome2.html (added)
+++ team/rbrindley/welcome_revamp/config/welcome2.html Thu Nov 20 17:35:48 2008
@@ -1,0 +1,347 @@
+<!--
+ * Asterisk-GUI	- an Asterisk configuration interface
+ *
+ * System status
+ *
+ * Copyright (C) 2008, Digium, Inc.
+ *
+ * Ryan Brindley <rbrindley at 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.
+ *
+-->
+
+<!-- Initial CSS -->
+<link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
+<style type="text/css">
+
+body {
+	background-color: #EFEFEF;
+}
+
+#sys_uptime_div, #ast_uptime_div {
+	width: 100%;
+	text-align:center;
+}
+
+div.section_title {
+	width: 100%;
+	text-align: center;
+	margin-top: 10px;
+	font-weight: bold;
+}
+
+#table_Ext_list {
+	border: 1px solid #666666;
+	margin-top: 5px;
+	margin-bottom: 10px;
+	width: 96%;
+	text-align: left;
+	padding : 1px;
+}
+
+#table_Ext_list tr.frow { 
+	background: #6b79a5; 
+	color: #CED7EF; 
+}
+
+#table_Ext_list tr.frow td { 
+	font-weight: bold; 
+}
+
+#table_Ext_list tr td { 
+	padding: 3px; 
+}
+
+#table_Ext_list tr.even { 
+	background: #EFEFEF; 
+}
+
+#table_Ext_list tr.odd { 
+	background: #FFFFFF; 
+}
+
+#table_Ext_list tr.even:hover, #table_Ext_list tr.odd:hover {
+	background: #a8b6e5;
+	cursor: default;
+}
+
+#trunks_list_container {
+	overflow: auto;
+	width: 95%;
+	max-height: 500px;
+}
+
+#table_Trunks_list {
+	border: 1px solid #666666;
+	margin-top: 5px;
+	margin-bottom:10px;
+	width: 96%;
+	text-align: left;
+	padding : 1px;
+}
+
+#table_Trunks_list tr.frow { 
+	background: #6b79a5; 
+	color: #CED7EF; 
+}
+
+#table_Trunks_list tr.frow td { 
+	font-weight:bold; 
+}
+
+#table_Trunks_list tr td { 
+	padding: 3px; 
+}
+
+#table_Trunks_list tr.even { 
+	background: #DFDFDF; 
+}
+
+#table_Trunks_list tr.odd { 
+	background: #FFFFFF; 
+}
+
+#table_Trunks_list tr.even:hover, #table_Trunks_list tr.odd:hover { 
+	background: #a8b6e5; 
+	cursor: default; 
+}
+
+#table_Agents_list_container {
+	overflow: auto;
+	width: 95%;
+	max-height: 500px;
+	margin-top: 10px;
+	display: none;
+}
+
+table.agents_list_container {
+	margin-left: auto;
+	margin-right: auto;
+	border-width: 1px;
+	border-spacing: 2px;
+	border-style: solid;
+	border-color: #6b79a5;
+	border-collapse: separate;
+	background-color: white;
+}
+
+table.agents_list_container td.agent_title {
+	text-align: center;
+	vertical-align: top;
+	width: 70px;
+	font-weight: bold;
+}
+
+#table_Meetmes_list_container {
+	overflow: auto;
+	width: 95%;
+	max-height: 500px;
+	margin-top: 10px;
+}
+
+#table_Meetmes_list_container table.meetme_list_table {
+	border-width: 1px;
+	border-spacing: 2px;
+	border-style: solid;
+	border-color: #6b79a5;
+	border-collapse: separate;
+	background-color: #FFFFFF;
+	margin-left: auto;
+	margin-right: auto;
+}
+
+#table_Meetmes_list_container table tr td {
+	text-align: center;
+}
+
+#table_Meetmes_list_container table tr.titles td {
+	vertical-align: top;
+	font-weight: bold;
+}
+
+#table_Meetmes_list_container table tr td.mid_spacing {
+	width: 150px;
+}
+
+#table_Meetmes_list_container table tr td.end_spacing {
+	width: 50px;
+}
+
+#extensions_container {
+	width: 100%;
+	text-align: center;
+	margin-top: 15px;
+}
+
+#extensions_legend {
+	margin-left: auto;
+	margin-right: auto;
+	text-align: center;
+	width: 500px;
+}
+
+#extensions_legend tr td {
+}
+
+#table_Ext_list_container {
+	overflow: auto;
+	width: 95%;
+	max-height: 500px;
+}
+
+#table_Ext_list {
+	margin-left: auto;
+	margin-right: auto;
+}
+
+#table_Meetmes_list, #table_ParkedCalls_list {
+	text-align: center;
+}
+
+#ittnc {
+	display: none;
+}
+
+#ittnc_title {
+	width: 100%;
+	text-align: center;
+	margin-top: 10px;
+	font-weight: bold;
+}
+
+#table_NeedConfiguation_list_container {
+	overflow: auto;
+	width: 95%;
+	max-height: 500px;
+}
+
+#table_NeedConfiguration_list { 
+	border: 1px solid #666666; 
+	margin-top: 5px; 
+	margin-bottom: 10px;
+	width: 96%; 
+	text-align: center; 
+	padding: 1px; 
+}
+
+#table_NeedConfiguration_list tr.frow { 
+	background: #6b79a5; 
+	color: #CED7EF; 
+}
+
+#table_NeedConfiguration_list tr.frow td { 
+	font-weight:bold; 
+}
+
+#table_NeedConfiguration_list tr td { 
+	padding: 3px; 
+}
+
+#table_NeedConfiguration_list tr.even { 
+	background: #DFDFDF; 
+}
+
+#table_NeedConfiguration_list tr.odd { 
+	background: #FFFFFF; 
+}
+
+#table_NeedConfiguration_list tr.even:hover, #table_NeedConfiguration_list tr.odd:hover { 
+	background: #a8b6e5; 
+	cursor: default; 
+}
+
+</style>
+<!-- End Initial CSS -->
+
+<!-- Initial Javascript -->
+<script type="text/javascript" src="js/jquery.js"></script>
+<script type="text/javascript" src="js/astman.js"></script>
+<script type="text/javascript" src="js/welcome.js"></script>
+<!-- End Initial Javascript -->
+
+<body>
+	<div class="iframeTitleBar">
+		System Status
+		<span class='refresh_icon' onclick="window.location.reload();" >&nbsp;<img src="images/refresh.png" title=" Refresh " border=0 >&nbsp;</span>
+	</div>
+
+	<div class="lite_Heading">System Status</div>
+
+	<div id="sys_uptime_div"></div>
+	<div id="ast_uptime_div"></div>
+
+	<div class="section_title"> Trunks </div>
+
+	<div id="trunks_list_container">
+		<table id="table_Trunks_list" cellpadding="0" cellspacing="0" border="0" align="center"></table>
+	</div>
+
+	<div id="table_Agents_list_container">
+		<table class="agents_list_container" cellpadding="1" cellspacing="2" border="0">
+			<td class="agent_title">Agents</td>
+			<td align="center">
+				<table id="table_Agents_list" cellpadding="0" cellspacing="0" border="0" align="center"></table>
+			</td>
+		</table>
+	</div>
+
+	<div id="table_Meetmes_list_container">
+		<table class="meetme_list_table" cellpadding="1" cellspacing="2" border="0">
+			<tr class="titles">
+				<td>
+					Conference Rooms <span class="refresh_icon" onclick="update_Conferences_Table();" >&nbsp;<img src="images/refresh.png" title=" Refresh " border="0" >&nbsp;</span>
+				</td>
+				<td class="mid_spacing"></td>
+				<td>
+					Parked Calls <span class="refresh_icon" onclick="update_parkedCalls_Table();" >&nbsp;<img src="images/refresh.png" title=" Refresh " border="0" >&nbsp;</span>
+				</td>
+				<td class="end_spacing"></td>
+			</tr>
+			<tr>
+				<td>
+					<table id="table_Meetmes_list" cellpadding="0" cellspacing="0" border="0"></table>
+				</td>
+				<td></td>
+				<td>
+					<table id="table_ParkedCalls_list" cellpadding="0" cellspacing="0" border="0"></table>
+				</td>
+				<td></td>
+			</tr>
+		</table>
+	</div>
+
+	<div id="extensions_container">
+		<B>Extensions</B>
+		<BR>
+		<table id="extensions_legend" cellpadding="0" cellspacing="0" border="0">
+		<tr>
+			<td><img src="images/status_green.png" border="0"> Free</td>
+			<td><img src="images/status_red.png" border="0"> Busy</td>
+			<td><img src="images/status_gray.png" border="0"> UnAvailable</td>
+			<td><img src="images/status_orange.png" border="0"> Ringing</td>
+		</tr>
+		</table>
+	</div>
+
+	<div id="table_Ext_list_container">
+		<table id="table_Ext_list" cellpadding="0" cellspacing="0" border="0"></table>
+	</div>
+
+	<div id="ittnc">
+		<div id="ittnc_title">Items that need configuration</div>
+		<div id="table_NeedConfiguration_list_container">
+			<table id="table_NeedConfiguration_list" cellpadding="0" cellspacing="0" border="0"></table>
+		</div>
+	</div>
+
+	<div id="waitevent_Log"></div>
+</body>




More information about the asterisk-gui-commits mailing list