Fix app directory listing and order alphabetically
Committed e1f43f
--- a/webint_sites/templates/machine.html
+++ b/webint_sites/templates/machine.html
$:render("/home/admin/runinenv /home/admin/app python -V")
$:render("du -sh /home/admin/app")
<pre style=font-size:.8em>\
-$for line in get_output("ls -lthr /home/admin/app/run | cut -d' ' -f5-").splitlines():
- $if not line: $continue
- $ size, month, day, yeartime, path = line.split()
+$for line in get_output("ls -lh /home/admin/app/run").splitlines():
+ $ parts = line.split()[-5:]
+ $if len(parts) < 5:
+ $continue
+ $ size, month, day, yeartime, path = parts
$month $day $yeartime \
$if size:
<a href=/machines/dev/$path>\