projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use joins, new xmlist.py
[invirt/packages/invirt-web.git]
/
code
/
templates
/
list.tmpl
diff --git
a/code/templates/list.tmpl
b/code/templates/list.tmpl
index
2475542
..
f6c9a09
100644
(file)
--- a/
code/templates/list.tmpl
+++ b/
code/templates/list.tmpl
@@
-1,5
+1,6
@@
#from skeleton import skeleton
#extends skeleton
+#import datetime
#def title
@@
-118,7
+119,7
@@
$errorRow('cdrom', $err)
#end if
<td>#slurp
#if $machine.uptime
-$machine.uptime#slurp
+${datetime.timedelta(seconds=int(machine.uptime))}#slurp
#end if
</td>
<td>#slurp