projects
/
m6w6
/
replicator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix sizes
[m6w6/replicator]
/
public
/
index.php
diff --git
a/public/index.php
b/public/index.php
index fbb285b4fa293a57b6d0b522b9e3ec1c913b7207..f06e94e9fd0d8787589447de92241ac38737d86c 100644
(file)
--- a/
public/index.php
+++ b/
public/index.php
@@
-78,7
+78,6
@@
<tr>
<th class="text-left" colspan="4">Package</th>
<th class="text-left">Date</th>
<tr>
<th class="text-left" colspan="4">Package</th>
<th class="text-left">Date</th>
- <th class="text-right">Size</th>
<th class="text-right">Pharext</th>
</tr>
</thead>
<th class="text-right">Pharext</th>
</tr>
</thead>
@@
-120,6
+119,14
@@
<td class="text-left">
<a href="<?= htmlspecialchars($phar) ?>"
>ext.phar<?= htmlspecialchars($ext) ?></a>
<td class="text-left">
<a href="<?= htmlspecialchars($phar) ?>"
>ext.phar<?= htmlspecialchars($ext) ?></a>
+ <small><?php
+
+ $u = ["Bytes", "KB", "MB"];
+ $s = filesize($phar);
+ $l = floor(log10($s));
+ printf("⤋ %1.1F %s", $s/pow(10,$l-($l%3)), $u[$l/3]);
+
+ ?></small>
</td>
<?php endforeach; ?>
<?php for($i = 0; $i < 3-count($phars); ++$i) : ?>
</td>
<?php endforeach; ?>
<?php for($i = 0; $i < 3-count($phars); ++$i) : ?>
@@
-156,16
+163,6
@@
?>
</td>
?>
</td>
- <td class="text-right">
- <?php
-
- $u = ["Bytes", "KB", "MB"];
- $s = filesize($phar);
- $l = floor(log10($s));
- printf("%1.1F %s\n", $s/pow(10,$l-($l%3)), $u[$l/3]);
-
- ?>
- </td>
<td class="text-right">
<?php
if ($meta) {
<td class="text-right">
<?php
if ($meta) {