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 += '<div class="container" id="buttonheader">\n'
profileStr += ' <center>' profileStr += ' <center>'
profileStr += \ profileStr += \
' <a href="' + usersPath + '#buttonheader"><button class="' + \ ' <a class="' + postsButton + \
postsButton + '"><span>' + translate['Posts'] + \ '" href="' + usersPath + '#buttonheader">' + \
' </span></button></a>' '<span>' + translate['Posts'] + ' </span></a>'
profileStr += \ profileStr += \
' <a href="' + usersPath + '/following#buttonheader">' + \ ' <a class="' + followingButton + \
'<button class="' + followingButton + '"><span>' + \ '" href="' + usersPath + '/following#buttonheader">' + \
translate['Following'] + ' </span></button></a>' '<span>' + translate['Following'] + ' </span></a>'
profileStr += \ profileStr += \
' <a href="' + usersPath + '/followers#buttonheader">' + \ ' <a class="' + followersButton + \
'<button class="' + followersButton + \ '" href="' + usersPath + '/followers#buttonheader">' + \
'"><span>' + translate['Followers'] + ' </span></button></a>' '<span>' + translate['Followers'] + ' </span></a>'
profileStr += \ profileStr += \
' <a href="' + usersPath + '/roles#buttonheader">' + \ ' <a class="' + rolesButton + \
'<button class="' + rolesButton + '"><span>' + translate['Roles'] + \ '" href="' + usersPath + '/roles#buttonheader">' + \
' </span></button></a>' '<span>' + translate['Roles'] + ' </span></a>'
profileStr += \ profileStr += \
' <a href="' + usersPath + '/skills#buttonheader">' + \ ' <a href="' + usersPath + '/skills#buttonheader">' + \
'<button class="' + skillsButton + '"><span>' + \ '<button class="' + skillsButton + '"><span>' + \
translate['Skills'] + ' </span></button></a>' translate['Skills'] + ' </span></button></a>'
profileStr += \ profileStr += \
' <a href="' + usersPath + '/shares#buttonheader">' + \ ' <a class="' + sharesButton + \
'<button class="' + sharesButton + '"><span>' + \ '" href="' + usersPath + '/shares#buttonheader">' + \
translate['Shares'] + ' </span></button></a>' '<span>' + translate['Shares'] + ' </span></a>'
profileStr += editProfileStr + logoutStr profileStr += editProfileStr + logoutStr
profileStr += ' </center>' profileStr += ' </center>'
profileStr += '</div>' profileStr += '</div>'