forked from indymedia/epicyon
Remove use of <table> - breaking
parent
6aa1cc8389
commit
9c9ffc301d
|
@ -393,14 +393,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
iconsAsButtons)
|
iconsAsButtons)
|
||||||
|
|
||||||
# start the timeline
|
# start the timeline
|
||||||
tlStr += '<table class="timeline">\n'
|
tlStr += '<div class="timeline">\n'
|
||||||
tlStr += ' <colgroup>\n'
|
|
||||||
tlStr += ' <col span="1" class="column-left">\n'
|
|
||||||
tlStr += ' <col span="1" class="column-center">\n'
|
|
||||||
tlStr += ' <col span="1" class="column-right">\n'
|
|
||||||
tlStr += ' </colgroup>\n'
|
|
||||||
tlStr += ' <tbody>\n'
|
|
||||||
tlStr += ' <tr>\n'
|
|
||||||
|
|
||||||
domainFull = getFullDomain(domain, port)
|
domainFull = getFullDomain(domain, port)
|
||||||
|
|
||||||
|
@ -409,11 +402,11 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
getLeftColumnContent(baseDir, nickname, domainFull,
|
getLeftColumnContent(baseDir, nickname, domainFull,
|
||||||
httpPrefix, translate,
|
httpPrefix, translate,
|
||||||
editor, False, None, rssIconAtTop,
|
editor, False, None, rssIconAtTop,
|
||||||
True, False, theme)
|
True, False)
|
||||||
tlStr += ' <td valign="top" class="col-left">' + \
|
tlStr += ' <div class="col-left">\n' + \
|
||||||
leftColumnStr + ' </td>\n'
|
leftColumnStr + ' </div>\n'
|
||||||
# center column containing posts
|
# center column containing posts
|
||||||
tlStr += ' <td valign="top" class="col-center">\n'
|
tlStr += ' <div class="col-center">\n'
|
||||||
|
|
||||||
if not fullWidthTimelineButtonHeader:
|
if not fullWidthTimelineButtonHeader:
|
||||||
tlStr += \
|
tlStr += \
|
||||||
|
@ -602,7 +595,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
tlStr += ' </div>\n'
|
tlStr += ' </div>\n'
|
||||||
|
|
||||||
# end of column-center
|
# end of column-center
|
||||||
tlStr += ' </td>\n'
|
tlStr += ' </div>\n'
|
||||||
|
|
||||||
# right column
|
# right column
|
||||||
rightColumnStr = getRightColumnContent(baseDir, nickname, domainFull,
|
rightColumnStr = getRightColumnContent(baseDir, nickname, domainFull,
|
||||||
|
@ -612,15 +605,13 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
False, None, True,
|
False, None, True,
|
||||||
showPublishAsIcon,
|
showPublishAsIcon,
|
||||||
rssIconAtTop, publishButtonAtTop,
|
rssIconAtTop, publishButtonAtTop,
|
||||||
authorized, True, theme)
|
authorized, True)
|
||||||
tlStr += ' <td valign="top" class="col-right">' + \
|
tlStr += ' <div class="col-right">' + \
|
||||||
rightColumnStr + ' </td>\n'
|
rightColumnStr + ' </div>\n'
|
||||||
tlStr += ' </tr>\n'
|
|
||||||
|
|
||||||
_logTimelineTiming(enableTimingLog, timelineStartTime, boxName, '9')
|
_logTimelineTiming(enableTimingLog, timelineStartTime, boxName, '9')
|
||||||
|
|
||||||
tlStr += ' </tbody>\n'
|
tlStr += '</div>\n'
|
||||||
tlStr += '</table>\n'
|
|
||||||
tlStr += htmlFooter()
|
tlStr += htmlFooter()
|
||||||
return tlStr
|
return tlStr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue