summaryrefslogtreecommitdiffstats
path: root/usr/local/www/upload_progress.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-24 03:25:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-24 03:25:17 +0000
commite1142a0c5dc08741b169fee3469c7c537fa8d486 (patch)
tree561d445a288bd3ce9663c739043c5dbe6ccff9d1 /usr/local/www/upload_progress.php
parentf5811c1ba4b5c27956e8db7f631bd393c639e141 (diff)
downloadpfsense-e1142a0c5dc08741b169fee3469c7c537fa8d486.zip
pfsense-e1142a0c5dc08741b169fee3469c7c537fa8d486.tar.gz
Even more formatting. No functional changes.
Diffstat (limited to 'usr/local/www/upload_progress.php')
-rw-r--r--usr/local/www/upload_progress.php97
1 files changed, 53 insertions, 44 deletions
diff --git a/usr/local/www/upload_progress.php b/usr/local/www/upload_progress.php
index 171e185..5d2ebf4 100644
--- a/usr/local/www/upload_progress.php
+++ b/usr/local/www/upload_progress.php
@@ -82,14 +82,14 @@ if (intval($info['percent']) > "99") {
</td>
<td>
<table WIDTH="100%" height="15" colspacing="0" cellpadding="0" cellspacing="0" border="0" align="top" nowrap>
- <tr>
- <td background="./themes/<?= $g['theme']; ?>/images/misc/bar_gray.gif">
- <?php
- $meter = sprintf("%.2f", $info['bytes_uploaded'] / $info['bytes_total'] * 100);
- echo "<img src='./themes/{$g['theme']}/images/misc/bar_blue.gif' height='15' WIDTH='{$meter}%'>";
- ?>
- </td>
- </tr>
+ <tr>
+ <td background="./themes/<?= $g['theme']; ?>/images/misc/bar_gray.gif">
+ <?php
+ $meter = sprintf("%.2f", $info['bytes_uploaded'] / $info['bytes_total'] * 100);
+ echo "<img src='./themes/{$g['theme']}/images/misc/bar_blue.gif' height='15' WIDTH='{$meter}%'>";
+ ?>
+ </td>
+ </tr>
</table>
</td>
<td width="5" height="15" background="./themes/<?= $g['theme']; ?>/images/misc/bar_right.gif" align="top">
@@ -98,44 +98,53 @@ if (intval($info['percent']) > "99") {
</table>
<br>
<table width="100%">
- <tr>
- <td align="right">
- <font face="arial"><b>Uploaded:
- </td>
- <td>
- <font face="arial">
- <?=$info['bytes_uploaded']?>
- </td>
- <td align="right">
- <font face="arial">
- <b>File Size:
- </td>
- <td>
- <font face="arial">
- <?=$info['bytes_total']?>
- </td>
- </tr>
- <tr>
- <td align="right">
- <font face="arial">
- <b>Completed:
- </td>
- <td>
- <font face="arial">
- <?=$info['bytes_total']-$info['bytes_uploaded']?>%
- </td>
- <td align="right">
- <font face="arial"><b>
- Estimated:
- </td>
- <td>
- <font face="arial">
- <?=$info['est_sec']?>
- </td>
- </tr>
+ <tr>
+ <td align="right">
+ <font face="arial">
+ <b>
+ Uploaded:
+ </td>
+ <td>
+ <font face="arial">
+ <b>
+ <?=$info['bytes_uploaded']?>
+ </td>
+ <td align="right">
+ <font face="arial">
+ <b>
+ File Size:
+ </td>
+ <td>
+ <font face="arial">
+ <b>
+ <?=$info['bytes_total']?>
+ </td>
+ </tr>
+ <tr>
+ <td align="right">
+ <font face="arial">
+ <b>
+ Completed:
+ </td>
+ <td>
+ <font face="arial">
+ <b>
+ <?=$info['bytes_total']-$info['bytes_uploaded']?>%
+ </td>
+ <td align="right">
+ <font face="arial">
+ <b>
+ Estimated:
+ </td>
+ <td>
+ <font face="arial">
+ <b>
+ <?=$info['est_sec']?>
+ </td>
+ </tr>
</table>
</td>
</tr>
-</table>
+ </table>
</body>
</html>
OpenPOWER on IntegriCloud