mirror of https://gitlab.com/bashrc2/epicyon
Navigation markup
parent
908e6b5c84
commit
f3122480d2
|
@ -171,6 +171,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
linksList = sharesList + linksList
|
linksList = sharesList + linksList
|
||||||
|
|
||||||
if linksList:
|
if linksList:
|
||||||
|
htmlStr += '<nav>\n'
|
||||||
for lineStr in linksList:
|
for lineStr in linksList:
|
||||||
if ' ' not in lineStr:
|
if ' ' not in lineStr:
|
||||||
if '#' not in lineStr:
|
if '#' not in lineStr:
|
||||||
|
@ -215,6 +216,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <p>' + lineStr + '</p>\n'
|
' <p>' + lineStr + '</p>\n'
|
||||||
linksFileContainsEntries = True
|
linksFileContainsEntries = True
|
||||||
|
htmlStr += '</nav>\n'
|
||||||
|
|
||||||
if firstSeparatorAdded:
|
if firstSeparatorAdded:
|
||||||
htmlStr += separatorStr
|
htmlStr += separatorStr
|
||||||
|
|
|
@ -297,6 +297,9 @@ def _htmlNewswire(baseDir: str, newswire: {}, nickname: str, moderator: bool,
|
||||||
totalVotesStr
|
totalVotesStr
|
||||||
htmlStr += ' <span class="newswireDate">'
|
htmlStr += ' <span class="newswireDate">'
|
||||||
htmlStr += dateShown + '</span></p>\n'
|
htmlStr += dateShown + '</span></p>\n'
|
||||||
|
|
||||||
|
if htmlStr:
|
||||||
|
htmlStr = '<nav>\n' + htmlStr + '</nav>\n'
|
||||||
return htmlStr
|
return htmlStr
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue