rbrindley: branch rbrindley/welcome_revamp r4165 - in /team/rbrindley/welcome...
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Thu Nov 20 15:31:39 CST 2008
Author: rbrindley
Date: Thu Nov 20 15:31:38 2008
New Revision: 4165
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4165
Log:
whitespace changes
Modified:
team/rbrindley/welcome_revamp/config/welcome.html
team/rbrindley/welcome_revamp/developer_info/CODING-GUIDELINES
team/rbrindley/welcome_revamp/scripts/takebackup
Modified: team/rbrindley/welcome_revamp/config/welcome.html
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/welcome.html?view=diff&rev=4165&r1=4164&r2=4165
==============================================================================
--- team/rbrindley/welcome_revamp/config/welcome.html (original)
+++ team/rbrindley/welcome_revamp/config/welcome.html Thu Nov 20 15:31:38 2008
@@ -269,15 +269,17 @@
<!-- End Initial Javascript -->
<body>
-<div class="iframeTitleBar">
- System Status
- <span class='refresh_icon' onclick="window.location.reload();" > <img src="images/refresh.png" title=" Refresh " border=0 > </span>
-</div>
+ <div class="iframeTitleBar">
+ System Status
+ <span class='refresh_icon' onclick="window.location.reload();" > <img src="images/refresh.png" title=" Refresh " border=0 > </span>
+ </div>
<div class="lite_Heading">System Status</div>
+
<div id="firmware_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>
@@ -325,10 +327,10 @@
</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>
Modified: team/rbrindley/welcome_revamp/developer_info/CODING-GUIDELINES
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/developer_info/CODING-GUIDELINES?view=diff&rev=4165&r1=4164&r2=4165
==============================================================================
--- team/rbrindley/welcome_revamp/developer_info/CODING-GUIDELINES (original)
+++ team/rbrindley/welcome_revamp/developer_info/CODING-GUIDELINES Thu Nov 20 15:31:38 2008
@@ -67,6 +67,12 @@
* File structure
----------------
+- HTML files that include roughly more than 100 lines of javascript should
+ have the javascript moved into a .js file in the config/js/ folder. The
+ associated js file should have the same basename as the html file. Example:
+
+ config/index.html has config/js/index.js
+
- The first lines of any file should be the Asterisk license comments.
- The license comments should be followed by any styling, first links
Modified: team/rbrindley/welcome_revamp/scripts/takebackup
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/scripts/takebackup?view=diff&rev=4165&r1=4164&r2=4165
==============================================================================
--- team/rbrindley/welcome_revamp/scripts/takebackup (original)
+++ team/rbrindley/welcome_revamp/scripts/takebackup Thu Nov 20 15:31:38 2008
@@ -1,5 +1,6 @@
#!/bin/sh
/bin/tar -cf $1 /etc/asterisk /etc/localtime
-
-
-
+if [ "$2" = "YES" ]; then
+ SF=`echo "$1" | cut -d '.' -f 1`
+ /bin/tar -cf "${SF}"_sounds.tar /var/lib/asterisk/sounds/voicemail /var/lib/asterisk/sounds/record
+fi
More information about the asterisk-gui-commits
mailing list