Admin/components/index.php
author wenzelm
Fri, 16 Sep 2022 16:34:45 +0200
changeset 76176 d6bd84eb94a3
parent 72542 c588e0b8b8b0
permissions -rw-r--r--
update to scala-3.2.0; enforce rebuild of Isabelle/ML + Isabelle/Scala;

<html>
<body>
<h2>Isabelle Components</h2>
<table>
<tr>
<td><b>Name</b></td>
<td>&nbsp;&nbsp;&nbsp;</td>
<td><b>Size</b></td>
</tr>
<?php
 $component_pattern="/^.+\.tar\.gz$/";

 foreach (scandir(getcwd()) as $file){
   if (preg_match($component_pattern, $file)
       && is_file($file)
       && is_readable($file)) {
     print "<tr><td><a href=\"$file\"><code>$file</code></a></td><td></td><td>".filesize($file)."</td></tr>\n";
  }
 }
?>
</table>
</body>
</html>