rbrindley: branch 2.0 r4883 - /branches/2.0/config/backup.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Mon Jun 22 16:20:11 CDT 2009
Author: rbrindley
Date: Mon Jun 22 16:20:08 2009
New Revision: 4883
URL: http://svn.asterisk.org/svn-view/asterisk-gui?view=rev&rev=4883
Log:
- Added the follwing to the backups page
- HTML 4.01 DOCTYPE
- <html>, <head>, <title>, and "Content-Type" <meta>
- moved js to bottom of the page
Modified:
branches/2.0/config/backup.html
Modified: branches/2.0/config/backup.html
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/config/backup.html?view=diff&rev=4883&r1=4882&r2=4883
==============================================================================
--- branches/2.0/config/backup.html (original)
+++ branches/2.0/config/backup.html Mon Jun 22 16:20:08 2009
@@ -1,3 +1,4 @@
+<!DOCTYPE html PUBLIC "-//W3C/DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
* Asterisk-GUI - an Asterisk configuration interface
*
@@ -18,105 +19,110 @@
* at the top of the source tree.
*
-->
-<script src="js/jquery.js"></script>
-<script src="js/astman.js"></script>
-<script src="js/backup.js"></script>
-<link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
-<style type="text/css">
- #table_one tr{
- background: #6b79a5;
- color: #CED7EF;
- }
+<head>
+ <title>Backup / Restore Configurations</title>
+ <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
- #nocf {
- font-size: 13pt;
- border:1px solid;
- padding : 10;
- margin-left : 15;
- margin-right : 15;
- margin-top : 25;
- text-align: center;
- }
+ <link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
+ <style type="text/css">
+ #table_one tr{
+ background: #6b79a5;
+ color: #CED7EF;
+ }
- #thispageContent{
- /*
- font-size: 10pt;
- margin-left : 15;
- margin-top : 15;
- */
- }
-</style>
+ #nocf {
+ font-size: 13pt;
+ border:1px solid;
+ padding : 10;
+ margin-left : 15;
+ margin-right : 15;
+ margin-top : 25;
+ text-align: center;
+ }
+ #thispageContent{
+ /*
+ font-size: 10pt;
+ margin-left : 15;
+ margin-top : 15;
+ */
+ }
+ </style>
+</head>
<body bgcolor="EFEFEF">
-<div class="iframeTitleBar">
- Backup / Restore Configurations
- <span class='refresh_icon' onclick="window.location.reload();" > <img src="images/refresh.png" title=" Refresh " border=0 > </span>
-</div>
-<div style='display:none;' id='nocf'> You need a <b>CompactFlash®</b> to use this feature </div>
+ <div class="iframeTitleBar">
+ Backup / Restore Configurations
+ <span class='refresh_icon' onclick="window.location.reload();" > <img src="images/refresh.png" title=" Refresh " border=0 > </span>
+ </div>
+ <div style='display:none;' id='nocf'> You need a <b>CompactFlash®</b> to use this feature </div>
-<div id='backup_download_Link' style='display:none; background: #FFFFFF; border-style : solid; border-width: 1px ; border-color: #bdc7e7; border-style: solid ; margin:20px ; padding: 10px ;' >
- <span style="float:right; font-size: 85%;" onclick="$('#backup_download_Link').hide();"><a href='#'>close</a></span>
- <div id='backup_download_Link_url'></div>
-</div>
+ <div id='backup_download_Link' style='display:none; background: #FFFFFF; border-style : solid; border-width: 1px ; border-color: #bdc7e7; border-style: solid ; margin:20px ; padding: 10px ;' >
+ <span style="float:right; font-size: 85%;" onclick="$('#backup_download_Link').hide();"><a href='#'>close</a></span>
+ <div id='backup_download_Link_url'></div>
+ </div>
-<div id='thispageContent' style='text-align:center;'>
- <div class='lite_Heading'>Manage Configuration Backups</div>
- <center>
- <fieldset style="font-size : 13px; width: 745px;" id='uploadForm_container'>
- <legend><B> Upload a previous backup file : </B></legend>
- <IFRAME src="upload_form.html" id="uploadiframe" width="480" height="100" frameborder="0" border="0" marginheight="0" marginwidth="0"></IFRAME>
- </fieldset>
+ <div id='thispageContent' style='text-align:center;'>
+ <div class='lite_Heading'>Manage Configuration Backups</div>
+ <center>
+ <fieldset style="font-size : 13px; width: 745px;" id='uploadForm_container'>
+ <legend><B> Upload a previous backup file : </B></legend>
+ <IFRAME src="upload_form.html" id="uploadiframe" width="480" height="100" frameborder="0" border="0" marginheight="0" marginwidth="0"></IFRAME>
+ </fieldset>
- <div style='margin-top:20px; margin-bottom:10px;'><span class='guiButtonNew' id="takebkp" onclick='take_bkp();'>Create New Backup</span></div>
+ <div style='margin-top:20px; margin-bottom:10px;'><span class='guiButtonNew' id="takebkp" onclick='take_bkp();'>Create New Backup</span></div>
- <fieldset style="font-size : 13px; height: 230px; width: 845px" id="fieldset2">
- <legend><B> List of Previous Configuration Backups : </B></legend>
- <table id="table_one" cellpadding=3 cellspacing=1 border=0 align=center width=800>
- <tr> <td width=35>S.No</td>
- <td width="180">Name</td>
- <td width="125">Date</td>
- <td align="center">Options</td>
- </tr>
- </table>
- <div id="bkpfilesTable_div" style="height:200px;width=100%; overflow :auto; padding : 0px 0px 0px 0px;">
- <table id="bkpfilesTable" cellpadding=2 cellspacing=1 border=0 align=center width=800></table>
- </div>
- </fieldset>
- </center>
+ <fieldset style="font-size : 13px; height: 230px; width: 845px" id="fieldset2">
+ <legend><B> List of Previous Configuration Backups : </B></legend>
+ <table id="table_one" cellpadding=3 cellspacing=1 border=0 align=center width=800>
+ <tr> <td width=35>S.No</td>
+ <td width="180">Name</td>
+ <td width="125">Date</td>
+ <td align="center">Options</td>
+ </tr>
+ </table>
+ <div id="bkpfilesTable_div" style="height:200px;width=100%; overflow :auto; padding : 0px 0px 0px 0px;">
+ <table id="bkpfilesTable" cellpadding=2 cellspacing=1 border=0 align=center width=800></table>
+ </div>
+ </fieldset>
+ </center>
-</div>
+ </div>
-<div id="newbkp_content" STYLE="width:450; 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);">Create New Backup</TD>
- <TD class="dialog_title_X" onclick="ASTGUI.hideDrag(event);"> X </TD>
- </TR>
- </TABLE>
- <table cellpadding=2 cellspacing=2 border=0 width="100%" align="center">
- <tr> <td colspan=2 height=20 valign=middle align=center class="field_text"></td> </tr>
- <tr> <td class="field_text" align="right">File Name: </td>
- <td><input id='newbkp_name' size=25 class="input9" validation='alphanumericUnd' required='yes'></td>
- </tr>
-
- <tr class='AA50only'> <td colspan=2 align=center height=6></td> </tr>
- <tr class='AA50only'>
- <td valign=top align="right">
- <input type='checkbox' id='newbkp_completeBackup' class="input9">
- </td>
- <td class="field_text">
- <label for='newbkp_completeBackup'>Also backup Voicemails & Custom Prompts</label>
- </td>
- </tr>
- <tr> <td colspan=2 align=center height=6></td> </tr>
-
- <tr> <td colspan=2 align=center>
- <span class='guiButtonCancel' id="cancel_a" onclick='cancel_newbackup();'>Cancel</span>
- <span class='guiButtonEdit' id="getbackup" onclick='backup_new();'>Backup</span>
- </td>
- </tr>
- <tr> <td colspan=2 align=center height=16></td> </tr>
- </table>
-</div>
+ <div id="newbkp_content" STYLE="width:450; 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);">Create New Backup</TD>
+ <TD class="dialog_title_X" onclick="ASTGUI.hideDrag(event);"> X </TD>
+ </TR>
+ </TABLE>
+ <table cellpadding=2 cellspacing=2 border=0 width="100%" align="center">
+ <tr> <td colspan=2 height=20 valign=middle align=center class="field_text"></td> </tr>
+ <tr> <td class="field_text" align="right">File Name: </td>
+ <td><input id='newbkp_name' size=25 class="input9" validation='alphanumericUnd' required='yes'></td>
+ </tr>
+
+ <tr class='AA50only'> <td colspan=2 align=center height=6></td> </tr>
+ <tr class='AA50only'>
+ <td valign=top align="right">
+ <input type='checkbox' id='newbkp_completeBackup' class="input9">
+ </td>
+ <td class="field_text">
+ <label for='newbkp_completeBackup'>Also backup Voicemails & Custom Prompts</label>
+ </td>
+ </tr>
+ <tr> <td colspan=2 align=center height=6></td> </tr>
+
+ <tr> <td colspan=2 align=center>
+ <span class='guiButtonCancel' id="cancel_a" onclick='cancel_newbackup();'>Cancel</span>
+ <span class='guiButtonEdit' id="getbackup" onclick='backup_new();'>Backup</span>
+ </td>
+ </tr>
+ <tr> <td colspan=2 align=center height=16></td> </tr>
+ </table>
+ </div>
+ <script src="js/jquery.js"></script>
+ <script src="js/astman.js"></script>
+ <script src="js/backup.js"></script>
</body>
+</html>
More information about the asterisk-gui-commits
mailing list