Logout icon

merge-requests/8/head
Bob Mottram 2020-10-23 12:35:30 +01:00
parent 22d82542da
commit 1238fd941d
13 changed files with 12 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -3372,13 +3372,20 @@ def htmlProfile(defaultTimeline: str,
'<br><a href="/login"><button class="loginButton">' + \
translate['Login'] + '</button></a>'
else:
iconsDir = getIconsDir(baseDir)
editProfileStr = \
'<a href="' + usersPath + \
'/editprofile"><button class="button"><span>' + \
translate['Edit'] + ' </span></button></a>'
'<a class="imageAnchor" href="' + usersPath + '/editprofile">' + \
'<img loading="lazy" src="/' + iconsDir + \
'/logout.png" title="' + translate['Edit'] + \
'" alt="| ' + translate['Edit'] + '" class="timelineicon"/></a>\n'
logoutStr = \
'<a href="/logout"><button class="button"><span>' + \
translate['Logout'] + ' </span></button></a>'
'<a class="imageAnchor" href="/logout">' + \
'<img loading="lazy" src="/' + iconsDir + \
'/logout.png" title="' + translate['Logout'] + \
'" alt="| ' + translate['Logout'] + \
'" class="timelineicon"/></a>\n'
linkToTimelineStart = \
'<a href="/users/' + nickname + '/' + defaultTimeline + \
'"><label class="transparent">' + \