From be5cbe784438fe5c16f355ea1e10cb682b2883cf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 1 Oct 2020 14:01:49 +0100 Subject: [PATCH] Center page down --- webinterface.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/webinterface.py b/webinterface.py index 51ed764d..f51808b2 100644 --- a/webinterface.py +++ b/webinterface.py @@ -581,7 +581,7 @@ def htmlSearchSharedItems(translate: {}, 'name="searchtext" value="' + \ searchStrLower + '">
\n' sharedItemsForm += \ - '
\n' + \ + '
\n' + \ ' \n' sharedItemsForm += \ @@ -591,7 +591,7 @@ def htmlSearchSharedItems(translate: {}, translate['Page up'] + \ '" alt="' + translate['Page up'] + \ '"/>\n' - sharedItemsForm += '
\n' + sharedItemsForm += ' \n' sharedItemsForm += '\n' resultsExist = True ctr += 1 @@ -615,7 +615,7 @@ def htmlSearchSharedItems(translate: {}, 'name="searchtext" value="' + \ searchStrLower + '">
\n' sharedItemsForm += \ - '
\n' + \ + '
\n' + \ ' \n' sharedItemsForm += \ @@ -625,7 +625,7 @@ def htmlSearchSharedItems(translate: {}, translate['Page down'] + \ '" alt="' + translate['Page down'] + \ '"/>\n' - sharedItemsForm += '
\n' + sharedItemsForm += ' \n' sharedItemsForm += '\n' break ctr = 0 @@ -779,14 +779,14 @@ def htmlHashtagSearch(nickname: str, domain: str, port: int, if startIndex > 0: # previous page link hashtagSearchForm += \ - '
\n' + \ + '
\n' + \ ' ' + translate['Page up'] + \
-            '\n
\n' + '">\n \n' index = startIndex while index <= endIndex: postId = lines[index].strip('\n').strip('\r') @@ -835,13 +835,13 @@ def htmlHashtagSearch(nickname: str, domain: str, port: int, if endIndex < noOfLines - 1: # next page link hashtagSearchForm += \ - '
\n' + \ + '
\n' + \ ' ' + translate['Page down'] + '' + \ - '
' + ' ' hashtagSearchForm += htmlFooter() return hashtagSearchForm @@ -2741,14 +2741,14 @@ def htmlProfileFollowing(translate: {}, baseDir: str, httpPrefix: str, if authorized and pageNumber > 1: # page up arrow profileStr += \ - '
\n' + \ + '
\n' + \ ' ' + \
                 translate['Page up'] + '\n' + \ - '
\n' + ' \n' for item in followingJson['orderedItems']: profileStr += \ @@ -2761,14 +2761,14 @@ def htmlProfileFollowing(translate: {}, baseDir: str, httpPrefix: str, if len(followingJson['orderedItems']) >= maxItemsPerPage: # page down arrow profileStr += \ - '
\n' + \ + '
\n' + \ ' ' + \
                 translate['Page down'] + '\n' + \ - '
\n' + ' \n' return profileStr @@ -2925,13 +2925,13 @@ def htmlSharesTimeline(translate: {}, pageNumber: int, itemsPerPage: int, if pageNumber > 1: iconsDir = getIconsDir(baseDir) timelineStr += \ - '
\n' + \ + '
\n' + \ ' ' + translate['Page up'] + '\n' + \ - '
\n' + ' \n' for published, item in sharesJson.items(): showContactButton = False @@ -2947,13 +2947,13 @@ def htmlSharesTimeline(translate: {}, pageNumber: int, itemsPerPage: int, if not lastPage: iconsDir = getIconsDir(baseDir) timelineStr += \ - '
\n' + \ + '
\n' + \ ' ' + translate['Page down'] + '\n' + \ - '
\n' + ' \n' return timelineStr @@ -5590,14 +5590,14 @@ def htmlTimeline(defaultTimeline: str, # page up arrow if pageNumber > 1: tlStr += \ - '
\n' + \ + '
\n' + \ ' ' + \
             translate['Page up'] + '\n' + \ - '
\n' + ' \n' # show the posts itemCtr = 0