author | wenzelm |
Fri, 29 Oct 2021 19:43:32 +0200 | |
changeset 74627 | c690435c47ee |
parent 72542 | c588e0b8b8b0 |
permissions | -rw-r--r-- |
72503
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
1 |
<html> |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
2 |
<body> |
72542 | 3 |
<h2>Isabelle Components</h2> |
72503
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
4 |
<table> |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
5 |
<tr> |
72542 | 6 |
<td><b>Name</b></td> |
7 |
<td> </td> |
|
8 |
<td><b>Size</b></td> |
|
72503
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
9 |
</tr> |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
10 |
<?php |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
11 |
$component_pattern="/^.+\.tar\.gz$/"; |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
12 |
|
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
13 |
foreach (scandir(getcwd()) as $file){ |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
14 |
if (preg_match($component_pattern, $file) |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
15 |
&& is_file($file) |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
16 |
&& is_readable($file)) { |
72542 | 17 |
print "<tr><td><a href=\"$file\"><code>$file</code></a></td><td></td><td>".filesize($file)."</td></tr>\n"; |
72503
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
18 |
} |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
19 |
} |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
20 |
?> |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
21 |
</table> |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
22 |
</body> |
05d0977ec706
index for https://isabelle.in.tum.de/components (or clones);
wenzelm
parents:
diff
changeset
|
23 |
</html> |