Skip to content
Snippets Groups Projects
Commit ac61b952 authored by mb's avatar mb
Browse files

boxes-all edits

parent 29298612
No related branches found
No related tags found
No related merge requests found
......@@ -48,10 +48,6 @@ for pad in pads:
strtab = str(tab)
line = line.replace("\t","")
if title == 1:
fileout.write('<div class="title">'+padname+'</div>')
title = 0
if tab == c:
fileout.write('</div>\n')
fileout.write('<div class="box level_'+strtab+'">'+line)
......@@ -65,6 +61,9 @@ for pad in pads:
if tab < c:
enddiv = '</div>\n'
if title == 1:
fileout.write('<div class="title">'+padname+'</div>')
title = 0
fileout.write((c - tab + 1) * enddiv)
# print str(c - tab + 1)+ 'x enddiv printed'
fileout.write('<div class="box level_'+strtab+'">'+line)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment