summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorHolger Bauer <hoba@pfsense.org>2005-06-02 04:19:32 +0000
committerHolger Bauer <hoba@pfsense.org>2005-06-02 04:19:32 +0000
commitcff79a9f7201919ef1dab004e6a8644b8abc0c7a (patch)
tree30991c4c61e6ac92ac123900b8b5cbffe7e2c9e9 /usr/local/www
parent697bb9e88aa4bd226b4b237d3f9f7fed6f9e8077 (diff)
downloadpfsense-cff79a9f7201919ef1dab004e6a8644b8abc0c7a.zip
pfsense-cff79a9f7201919ef1dab004e6a8644b8abc0c7a.tar.gz
changed the package-install-progressbar to the new style.
now uses the same graphs like the the system-status and queue-graphs. one look, one feel and makes customization later easier :-)
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php26
1 files changed, 23 insertions, 3 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 08e45d1..cdce426 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -110,12 +110,26 @@ if(!$pkg_config['packages'])
</td></tr>
<tr>
<td class="tabcont">
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
+ <table width="100%" border="0" border='0' cellpadding="6" cellspacing="0">
<tr>
<td>
<!-- progress bar -->
<center>
- <table id="progholder" name="progholder" height='20' border='1' bordercolor='black' width='420' bordercolordark='#000000' bordercolorlight='#000000' style='border-collapse: collapse' colspacing='2' cellpadding='2' cellspacing='2'><tr><td><img border='0' src='progress_bar.gif' width='280' height='23' name='progressbar' id='progressbar'></td></tr></table>
+
+ <table height='15' width='420' border='0' colspacing='0' cellpadding='0' cellspacing='0'>
+ <tr>
+
+ <td background="bar_left.gif" height='15' width='5'>
+ </td>
+ <td>
+ <table id="progholder" name="progholder" height='15' width='410' border='0' colspacing='0' cellpadding='0' cellspacing='0'><td background="bar_gray.gif" valign="top" align="left"><img src='bar_blue.gif' width='410' height='15' name='progressbar' id='progressbar'></td></table>
+ </td>
+ <td background="bar_right.gif" height='15' width='5'>
+ </td>
+ </tr>
+ </table>
+
+
<br>
<!-- status box -->
<textarea cols="60" rows="1" name="status" id="status" wrap="hard">Beginning package installation.</textarea>
@@ -313,8 +327,12 @@ foreach ($packages_to_install as $id) {
update_output_window($static_output);
fwrite($fd_log, "Package WAS NOT installed properly.\n");
fclose($fd_log);
+/*
+ * keep progressbar visible
+
echo "\n<script language=\"JavaScript\">document.progressbar.style.visibility='hidden';</script>";
echo "\n<script language=\"JavaScript\">document.progholder.style.visibility='hidden';</script>";
+ */
sleep(1);
die;
}
@@ -488,8 +506,10 @@ fclose($fd_log);
echo "<p><center>Installation completed. Show <a href=\"pkg_mgr_install.php?showlog=true\">install log</a></center>";
+/*
+ * keep progressbar visible
echo "\n<script language=\"JavaScript\">document.progressbar.style.visibility='hidden';</script>";
-
+*/
conf_mount_ro();
?>
OpenPOWER on IntegriCloud