mirror of https://gitlab.com/bashrc2/epicyon
Move divs
parent
ecf807a89f
commit
8b06b40b29
|
@ -3423,14 +3423,14 @@ def htmlProfile(defaultTimeline: str,
|
||||||
avatarDescription = profileJson['summary'].replace('<br>', '\n')
|
avatarDescription = profileJson['summary'].replace('<br>', '\n')
|
||||||
avatarDescription = avatarDescription.replace('<p>', '')
|
avatarDescription = avatarDescription.replace('<p>', '')
|
||||||
avatarDescription = avatarDescription.replace('</p>', '')
|
avatarDescription = avatarDescription.replace('</p>', '')
|
||||||
profileHeaderStr = '<div class="hero-image">\n'
|
|
||||||
profileHeaderStr += ' <div class="hero-text">\n'
|
|
||||||
|
|
||||||
# If this is the news account then show a different banner
|
# If this is the news account then show a different banner
|
||||||
if isSystemAccount(nickname):
|
if isSystemAccount(nickname):
|
||||||
profileHeaderStr += '<div class="timeline-banner"></div>\n'
|
profileHeaderStr += '<div class="timeline-banner"></div>\n'
|
||||||
profileHeaderStr += loginButton
|
profileHeaderStr += loginButton
|
||||||
else:
|
else:
|
||||||
|
profileHeaderStr = '<div class="hero-image">\n'
|
||||||
|
profileHeaderStr += ' <div class="hero-text">\n'
|
||||||
profileHeaderStr += \
|
profileHeaderStr += \
|
||||||
' <img loading="lazy" src="' + profileJson['icon']['url'] + \
|
' <img loading="lazy" src="' + profileJson['icon']['url'] + \
|
||||||
'" title="' + avatarDescription + '" alt="' + \
|
'" title="' + avatarDescription + '" alt="' + \
|
||||||
|
|
Loading…
Reference in New Issue