summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorHolger Bauer <hoba@pfsense.org>2005-06-02 09:38:01 +0000
committerHolger Bauer <hoba@pfsense.org>2005-06-02 09:38:01 +0000
commit6558f6d797699e0657017fe98c4b9e8a7daf6972 (patch)
treeeed515ddcffc656d79d1b8e6353f76f449404258 /usr
parent2f22c8fffea2ca3ded4725107bb2ecfaea656e60 (diff)
downloadpfsense-6558f6d797699e0657017fe98c4b9e8a7daf6972.zip
pfsense-6558f6d797699e0657017fe98c4b9e8a7daf6972.tar.gz
Upload-progressbar converted to use bar_*.gifs
Checked with ie and firefox (I can't tell how much I hate IE...)
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/progress.php30
1 files changed, 16 insertions, 14 deletions
diff --git a/usr/local/www/progress.php b/usr/local/www/progress.php
index a4126a8..80a7ff6 100755
--- a/usr/local/www/progress.php
+++ b/usr/local/www/progress.php
@@ -50,36 +50,37 @@ if (!$X) {
<TITLE>Uploading Files... Please wait ...</TITLE>
-<style type='text/css'> td {font-size: 10pt } td.uplmtr {font-size:6pt; height:12px}</style>
+<style type='text/css'> td {font-size: 10pt }</style>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
-<table height="100%" width="100%" cellPadding="4" cellSpacing="4" style="border:1px solid #000066;">
+<table height="100%" width="100%" cellPadding="4" cellSpacing="4" style="border:1px solid #990000;">
<tr><td>
<font face="arial"><b><center>Uploading files...</b></center>
<br>
- <table WIDTH="100%" cellPadding="1" cellSpacing="2" style='border:1px dashed #000066; BORDER-BOTTOM: 1px inset; BORDER-LEFT: 1px inset; BORDER-RIGHT: 1px inset; BORDER-TOP: 1px inset'> <tr><td>
- <table border=0 WIDTH="100%" COLS="34"><tr>
+ <table width="100%" height="15" colspacing="0" cellpadding="0" cellspacing="0" border="0" align="top" nowrap>
+ <td width="5" height="15" background="bar_left.gif" align="top"></td>
+ <td>
+ <table WIDTH="100%" height="15" colspacing="0" cellpadding="0" cellspacing="0" border="0" align="top" nowrap>
+ <td background="bar_gray.gif"><?echo("<img src='bar_blue.gif' height='15' WIDTH='$meter%'>");?></td>
+ </table>
+
+ </td>
+ <td width="5" height="15" background="bar_right.gif" align="top"></td>
+ </table>
+
+
- <?
- for ($i=0; $i<100; $i+=3) {
- $color = ($i<$meter) ? " bgcolor='#990000' " : '';
- $width = ($i+3<100) ? "3" : 100-$i;
- echo("<td $color class='uplmtr' WIDTH='$width%'>&nbsp;</td>\n");
- }
- ?>
- </tr></table>
- </td></tr></table>
<br>
- <TABLE WIDTH=100%>
+ <TABLE WIDTH="100%">
<tr>
<td align="right"><font face="arial"><b>Time Remaining:</td><td><font face="arial"><?=$eta?></td>
<td align="right"><font face="arial"><b>Speed:</td><td><font face="arial"><font face="arial"><?=$speed?>KB/sec</td>
@@ -92,6 +93,7 @@ if (!$X) {
<tr>
<td align="right"><font face="arial"><b>Completed:</td><td><font face="arial"><?=$meter?>%</td>
+ <td align="right"><font face="arial"><b></td><td><font face="arial"></td>
</tr>
</td></tr>
OpenPOWER on IntegriCloud