Changeset 2127
- Timestamp:
- 06/16/09 22:15:30 (15 months ago)
- Location:
- trunk/lv2specgen
- Files:
-
- 2 modified
-
lv2specgen.py (modified) (1 diff)
-
template.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lv2specgen/lv2specgen.py
r2125 r2127 428 428 label, comment = get_rdfs(m, term) 429 429 status = get_status(m, term) 430 if label!='' or comment != '': 431 doc += '<div class="description">' 430 432 if label!='': 431 doc += "< span property=\"rdfs:label\" class=\"subtitle\">%s</span>" % label433 doc += "<div property=\"rdfs:label\" class=\"label\">%s</div>" % label 432 434 if comment!='': 433 doc += "<p property=\"rdfs:comment\">%s</p>" % comment 435 doc += "<div property=\"rdfs:comment\">%s</div>" % comment 436 if label!='' or comment != '': 437 doc += "</div>" 434 438 terminfo = "" 435 439 if category=='Property': -
trunk/lv2specgen/template.html
r2126 r2127 30 30 h1, h2, h3 { color: #005A9C; } 31 31 32 . subtitle { margin: 0; padding: 0; font-style: italic}32 .label { font-style: italic; margin-bottom: 0.5ex; } 33 33 .index { padding: 1ex; border: dotted 2px gray; background-color: #eee; } 34 34 .restriction { margin-bottom: 2ex; padding: 0; } 35 .description { margin-bottom: 2ex; } 35 36 36 37 dl { padding: 0; margin: 0 }
