Page down before end of table

main
Bob Mottram 2020-10-01 13:51:25 +01:00
parent fa246441cf
commit 06d5c32fd6
2 changed files with 12 additions and 6 deletions

View File

@ -1421,7 +1421,6 @@ aside .toggle-inside li {
height: 100%;
font-family: Arial, Helvetica, sans-serif;
max-width: var(--column-center-width);
min-width: 950px;
margin-left: 0;
font-size: var(--font-size);

View File

@ -5684,8 +5684,6 @@ def htmlTimeline(defaultTimeline: str,
# end of column-center
tlStr += ' </td>\n'
tlStr += ' <td class="col-right">Test right</td>\n'
tlStr += ' </tbody>\n'
tlStr += '</table>\n'
# benchmark 9
timeDiff = int((time.time() - timelineStartTime) * 1000)
@ -5695,14 +5693,23 @@ def htmlTimeline(defaultTimeline: str,
# page down arrow
if itemCtr > 2:
tlStr += \
' <div class="pagedown">\n' + \
' <a href="' + usersPath + '/' + boxName + '?page=' + \
' <tr>\n' + \
' <td class="col-left"></td>\n' + \
' <td class="col-center">\n' + \
' <div class="pagedown">\n' + \
' <a href="' + usersPath + '/' + boxName + '?page=' + \
str(pageNumber + 1) + \
'"><img loading="lazy" class="pageicon" src="/' + \
iconsDir + '/pagedown.png" title="' + \
translate['Page down'] + '" alt="' + \
translate['Page down'] + '"></a>\n' + \
' </div>\n'
' </div>\n' + \
' </td>\n' + \
' <td class="col-right"></td>\n' + \
' </tr>\n'
tlStr += ' </tbody>\n'
tlStr += '</table>\n'
tlStr += htmlFooter()
return tlStr