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

boxes-all edits

parent 380fb382
No related branches found
No related tags found
No related merge requests found
...@@ -48,11 +48,12 @@ for pad in pads: ...@@ -48,11 +48,12 @@ for pad in pads:
strtab = str(tab) strtab = str(tab)
line = line.replace("\t","") line = line.replace("\t","")
if title == 1:
fileout.write('<div class="title">'+padname+'</div>')
title = 0
if tab == c: if tab == c:
fileout.write('</div>\n') fileout.write('</div>\n')
if title == 1:
fileout.write('<div class="title">'+padname+'</div>')
title = 0
fileout.write('<div class="box level_'+strtab+'">'+line) fileout.write('<div class="box level_'+strtab+'">'+line)
# print 'tab is same' # print 'tab is same'
# print 'c:', c, 'tab:', tab # print 'c:', c, 'tab:', tab
......
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