mirror of https://gitlab.com/bashrc2/epicyon
Separate page up and down style
parent
7e14cc3552
commit
b68edb8699
|
@ -935,9 +935,13 @@ aside .toggle-inside li {
|
||||||
font-size: var(--font-size);
|
font-size: var(--font-size);
|
||||||
line-height: var(--line-spacing);
|
line-height: var(--line-spacing);
|
||||||
}
|
}
|
||||||
.pageupdown {
|
.pageup {
|
||||||
margin-left: 60%;
|
margin-left: 50%;
|
||||||
width: 100vw;
|
width: 100%;
|
||||||
|
}
|
||||||
|
.pagedown {
|
||||||
|
margin-left: 60%;
|
||||||
|
width: 100vw;
|
||||||
}
|
}
|
||||||
.timeline {
|
.timeline {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
@ -1425,9 +1429,13 @@ aside .toggle-inside li {
|
||||||
font-size: var(--font-size);
|
font-size: var(--font-size);
|
||||||
line-height: var(--line-spacing);
|
line-height: var(--line-spacing);
|
||||||
}
|
}
|
||||||
.pageupdown {
|
.pageup {
|
||||||
margin-left: 45%;
|
margin-left: 50%;
|
||||||
width: 100vw;
|
width: 100%;
|
||||||
|
}
|
||||||
|
.pagedown {
|
||||||
|
margin-left: 45%;
|
||||||
|
width: 100vw;
|
||||||
}
|
}
|
||||||
.timeline {
|
.timeline {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
|
@ -581,7 +581,7 @@ def htmlSearchSharedItems(translate: {},
|
||||||
'name="searchtext" value="' + \
|
'name="searchtext" value="' + \
|
||||||
searchStrLower + '"><br>\n'
|
searchStrLower + '"><br>\n'
|
||||||
sharedItemsForm += \
|
sharedItemsForm += \
|
||||||
' <div class="pageupdown">\n' + \
|
' <div class="pageup">\n' + \
|
||||||
' <a href="' + actor + \
|
' <a href="' + actor + \
|
||||||
'" type="submit" name="submitSearch">\n'
|
'" type="submit" name="submitSearch">\n'
|
||||||
sharedItemsForm += \
|
sharedItemsForm += \
|
||||||
|
@ -615,7 +615,7 @@ def htmlSearchSharedItems(translate: {},
|
||||||
'name="searchtext" value="' + \
|
'name="searchtext" value="' + \
|
||||||
searchStrLower + '"><br>\n'
|
searchStrLower + '"><br>\n'
|
||||||
sharedItemsForm += \
|
sharedItemsForm += \
|
||||||
' <div class="pageupdown">\n' + \
|
' <div class="pagedown">\n' + \
|
||||||
' <a href="' + actor + \
|
' <a href="' + actor + \
|
||||||
'" type="submit" name="submitSearch">\n'
|
'" type="submit" name="submitSearch">\n'
|
||||||
sharedItemsForm += \
|
sharedItemsForm += \
|
||||||
|
@ -779,7 +779,7 @@ def htmlHashtagSearch(nickname: str, domain: str, port: int,
|
||||||
if startIndex > 0:
|
if startIndex > 0:
|
||||||
# previous page link
|
# previous page link
|
||||||
hashtagSearchForm += \
|
hashtagSearchForm += \
|
||||||
' <div class="pageupdown">\n' + \
|
' <div class="pageup">\n' + \
|
||||||
' <a href="/tags/' + hashtag + '?page=' + \
|
' <a href="/tags/' + hashtag + '?page=' + \
|
||||||
str(pageNumber - 1) + \
|
str(pageNumber - 1) + \
|
||||||
'"><img loading="lazy" class="pageicon" src="/' + \
|
'"><img loading="lazy" class="pageicon" src="/' + \
|
||||||
|
@ -835,7 +835,7 @@ def htmlHashtagSearch(nickname: str, domain: str, port: int,
|
||||||
if endIndex < noOfLines - 1:
|
if endIndex < noOfLines - 1:
|
||||||
# next page link
|
# next page link
|
||||||
hashtagSearchForm += \
|
hashtagSearchForm += \
|
||||||
' <div class="pageupdown">\n' + \
|
' <div class="pagedown">\n' + \
|
||||||
' <a href="/tags/' + hashtag + \
|
' <a href="/tags/' + hashtag + \
|
||||||
'?page=' + str(pageNumber + 1) + \
|
'?page=' + str(pageNumber + 1) + \
|
||||||
'"><img loading="lazy" class="pageicon" src="/' + iconsDir + \
|
'"><img loading="lazy" class="pageicon" src="/' + iconsDir + \
|
||||||
|
@ -2741,7 +2741,7 @@ def htmlProfileFollowing(translate: {}, baseDir: str, httpPrefix: str,
|
||||||
if authorized and pageNumber > 1:
|
if authorized and pageNumber > 1:
|
||||||
# page up arrow
|
# page up arrow
|
||||||
profileStr += \
|
profileStr += \
|
||||||
' <div class="pageupdown">\n' + \
|
' <div class="pageup">\n' + \
|
||||||
' <a href="' + actor + '/' + feedName + \
|
' <a href="' + actor + '/' + feedName + \
|
||||||
'?page=' + str(pageNumber - 1) + \
|
'?page=' + str(pageNumber - 1) + \
|
||||||
'"><img loading="lazy" class="pageicon" src="/' + \
|
'"><img loading="lazy" class="pageicon" src="/' + \
|
||||||
|
@ -2761,7 +2761,7 @@ def htmlProfileFollowing(translate: {}, baseDir: str, httpPrefix: str,
|
||||||
if len(followingJson['orderedItems']) >= maxItemsPerPage:
|
if len(followingJson['orderedItems']) >= maxItemsPerPage:
|
||||||
# page down arrow
|
# page down arrow
|
||||||
profileStr += \
|
profileStr += \
|
||||||
' <div class="pageupdown">\n' + \
|
' <div class="pagedown">\n' + \
|
||||||
' <a href="' + actor + '/' + feedName + \
|
' <a href="' + actor + '/' + feedName + \
|
||||||
'?page=' + str(pageNumber + 1) + \
|
'?page=' + str(pageNumber + 1) + \
|
||||||
'"><img loading="lazy" class="pageicon" src="/' + \
|
'"><img loading="lazy" class="pageicon" src="/' + \
|
||||||
|
@ -2925,7 +2925,7 @@ def htmlSharesTimeline(translate: {}, pageNumber: int, itemsPerPage: int,
|
||||||
if pageNumber > 1:
|
if pageNumber > 1:
|
||||||
iconsDir = getIconsDir(baseDir)
|
iconsDir = getIconsDir(baseDir)
|
||||||
timelineStr += \
|
timelineStr += \
|
||||||
' <div class="pageupdown">\n' + \
|
' <div class="pageup">\n' + \
|
||||||
' <a href="' + actor + '/tlshares?page=' + \
|
' <a href="' + actor + '/tlshares?page=' + \
|
||||||
str(pageNumber - 1) + \
|
str(pageNumber - 1) + \
|
||||||
'"><img loading="lazy" class="pageicon" src="/' + \
|
'"><img loading="lazy" class="pageicon" src="/' + \
|
||||||
|
@ -2947,7 +2947,7 @@ def htmlSharesTimeline(translate: {}, pageNumber: int, itemsPerPage: int,
|
||||||
if not lastPage:
|
if not lastPage:
|
||||||
iconsDir = getIconsDir(baseDir)
|
iconsDir = getIconsDir(baseDir)
|
||||||
timelineStr += \
|
timelineStr += \
|
||||||
' <div class="pageupdown">\n' + \
|
' <div class="pagedown">\n' + \
|
||||||
' <a href="' + actor + '/tlshares?page=' + \
|
' <a href="' + actor + '/tlshares?page=' + \
|
||||||
str(pageNumber + 1) + \
|
str(pageNumber + 1) + \
|
||||||
'"><img loading="lazy" class="pageicon" src="/' + \
|
'"><img loading="lazy" class="pageicon" src="/' + \
|
||||||
|
@ -5590,7 +5590,7 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
# page up arrow
|
# page up arrow
|
||||||
if pageNumber > 1:
|
if pageNumber > 1:
|
||||||
tlStr += \
|
tlStr += \
|
||||||
' <div class="pageupdown">\n' + \
|
' <div class="pageup">\n' + \
|
||||||
' <a href="' + usersPath + '/' + boxName + \
|
' <a href="' + usersPath + '/' + boxName + \
|
||||||
'?page=' + str(pageNumber - 1) + \
|
'?page=' + str(pageNumber - 1) + \
|
||||||
'"><img loading="lazy" class="pageicon" src="/' + \
|
'"><img loading="lazy" class="pageicon" src="/' + \
|
||||||
|
@ -5695,7 +5695,7 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
# page down arrow
|
# page down arrow
|
||||||
if itemCtr > 2:
|
if itemCtr > 2:
|
||||||
tlStr += \
|
tlStr += \
|
||||||
' <div class="pageupdown">\n' + \
|
' <div class="pagedown">\n' + \
|
||||||
' <a href="' + usersPath + '/' + boxName + '?page=' + \
|
' <a href="' + usersPath + '/' + boxName + '?page=' + \
|
||||||
str(pageNumber + 1) + \
|
str(pageNumber + 1) + \
|
||||||
'"><img loading="lazy" class="pageicon" src="/' + \
|
'"><img loading="lazy" class="pageicon" src="/' + \
|
||||||
|
|
Loading…
Reference in New Issue