ia64/xen-unstable

changeset 7091:50c2fe359c73

Improve HTML output.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Wed Sep 28 13:44:15 2005 +0100 (2005-09-28)
parents d78d2fa50703
children b56364e269c7
files tools/python/xen/xend/server/SrvDomainDir.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDomainDir.py	Wed Sep 28 13:43:33 2005 +0100
     1.2 +++ b/tools/python/xen/xend/server/SrvDomainDir.py	Wed Sep 28 13:44:15 2005 +0100
     1.3 @@ -152,11 +152,11 @@ class SrvDomainDir(SrvDir):
     1.4              domains = self.xd.list_sorted()
     1.5              req.write('<ul>')
     1.6              for d in domains:
     1.7 -                req.write('<li><a href="%s%s"> Domain %s</a>'
     1.8 -                          % (url, d.getName(), d.getName()))
     1.9 -                req.write('id=%s' % d.getDomain())
    1.10 -                req.write('memory=%d'% d.getMemoryTarget())
    1.11 -                req.write('ssidref=%d'% d.getSsidref())
    1.12 +                req.write(
    1.13 +                    '<li><a href="%s%s">Domain %s</a>: id = %s, memory = %d, '
    1.14 +                    'ssidref = %d.'
    1.15 +                    % (url, d.getName(), d.getName(), d.getDomid(),
    1.16 +                       d.getMemoryTarget(), d.getSsidref()))
    1.17                  req.write('</li>')
    1.18              req.write('</ul>')
    1.19