Tidying of buttons

main
Bob Mottram 2020-10-03 10:21:42 +01:00
parent dd90862e36
commit 61ede3e4aa
1 changed files with 15 additions and 15 deletions

View File

@ -3254,29 +3254,29 @@ def htmlProfile(defaultTimeline: str,
profileStr += '<div class="container" id="buttonheader">\n'
profileStr += ' <center>'
profileStr += \
' <a href="' + usersPath + '#buttonheader"><button class="' + \
postsButton + '"><span>' + translate['Posts'] + \
' </span></button></a>'
' <a class="' + postsButton + \
'" href="' + usersPath + '#buttonheader">' + \
'<span>' + translate['Posts'] + ' </span></a>'
profileStr += \
' <a href="' + usersPath + '/following#buttonheader">' + \
'<button class="' + followingButton + '"><span>' + \
translate['Following'] + ' </span></button></a>'
' <a class="' + followingButton + \
'" href="' + usersPath + '/following#buttonheader">' + \
'<span>' + translate['Following'] + ' </span></a>'
profileStr += \
' <a href="' + usersPath + '/followers#buttonheader">' + \
'<button class="' + followersButton + \
'"><span>' + translate['Followers'] + ' </span></button></a>'
' <a class="' + followersButton + \
'" href="' + usersPath + '/followers#buttonheader">' + \
'<span>' + translate['Followers'] + ' </span></a>'
profileStr += \
' <a href="' + usersPath + '/roles#buttonheader">' + \
'<button class="' + rolesButton + '"><span>' + translate['Roles'] + \
' </span></button></a>'
' <a class="' + rolesButton + \
'" href="' + usersPath + '/roles#buttonheader">' + \
'<span>' + translate['Roles'] + ' </span></a>'
profileStr += \
' <a href="' + usersPath + '/skills#buttonheader">' + \
'<button class="' + skillsButton + '"><span>' + \
translate['Skills'] + ' </span></button></a>'
profileStr += \
' <a href="' + usersPath + '/shares#buttonheader">' + \
'<button class="' + sharesButton + '"><span>' + \
translate['Shares'] + ' </span></button></a>'
' <a class="' + sharesButton + \
'" href="' + usersPath + '/shares#buttonheader">' + \
'<span>' + translate['Shares'] + ' </span></a>'
profileStr += editProfileStr + logoutStr
profileStr += ' </center>'
profileStr += '</div>'