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%; height: 100%;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
max-width: var(--column-center-width);
min-width: 950px; min-width: 950px;
margin-left: 0; margin-left: 0;
font-size: var(--font-size); font-size: var(--font-size);

View File

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