mirror of https://github.com/openXC7/prjxray.git
Improve htmlgen
Signed-off-by: Clifford Wolf <clifford@clifford.at> Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
This commit is contained in:
parent
504e37e421
commit
80c4245d10
|
|
@ -169,7 +169,9 @@ for segtype in segbits.keys():
|
|||
bgcolor = "#aaaaaa"
|
||||
|
||||
if bit_pos not in maskbits[segtype]:
|
||||
label = " "
|
||||
bgcolor = "#444444"
|
||||
title.append("UNUSED ?")
|
||||
|
||||
if bit_name is not None:
|
||||
bgcolor = "#ff0000"
|
||||
|
|
@ -236,6 +238,7 @@ for segtype in segbits.keys():
|
|||
|
||||
if label is None:
|
||||
label = " "
|
||||
title.append("UNKNOWN")
|
||||
onclick = ""
|
||||
else:
|
||||
onclick = " onmousedown=\"location.href = '#b%s'\"" % bit_pos
|
||||
|
|
|
|||
Loading…
Reference in New Issue