--- a/ontologies/specgen/libvocab.py Thu Oct 20 12:22:11 2011 +0200
+++ b/ontologies/specgen/libvocab.py Thu Oct 20 12:32:11 2011 +0200
@@ -544,26 +544,25 @@
c_ids, p_ids, d_ids = self.vocab.azlist()
# print c_ids, p_ids, d_ids
- az = """<div class="azlist">"""
+ az = ""
azs = []
for c in c_ids:
azs.append("""<a href="#%s">%s</a>""" % (str(c).strip(), c))
- az = "%s\n<p>Classes: %s </p> \n" % (az, " | ".join(azs))
+ az = """%s\n<p><span style="font-weight: bold;">Classes:</span> %s </p> \n""" % (az, " | ".join(azs))
azs = []
for p in p_ids:
azs.append("""<a href="#%s">%s</a>""" % (str(p).strip(), p))
- az = "%s\n<p>Properties: %s </p> \n" % (az, " | ".join(azs))
+ az = """%s\n<p><span style="font-weight: bold;">Properties:</span> %s </p> \n""" % (az, " | ".join(azs))
if (len(d_ids)>0):
azs = []
for d in d_ids:
azs.append("""<a href="#%s">%s</a>""" % (str(d).strip(), d))
- az = "%s\n<p>Datatypes: %s </p>\n" % (az, " | ".join(azs))
+ az = """%s\n<p><span style="font-weight: bold;">Datatypes:</span> %s </p>\n""" % (az, " | ".join(azs))
- az = "%s\n</div>" % az
- return(az)
+ return """<div class="azlist">%s\n</div>""" % az
def termlist(self):
"""Term List for html doc"""