Revert "Tidying of buttons"

This reverts commit 61ede3e4aa.
main
Bob Mottram 2020-10-03 10:29:36 +01:00
parent 61ede3e4aa
commit 0c4518b2cc
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 class="' + postsButton + \ ' <a href="' + usersPath + '#buttonheader"><button class="' + \
'" href="' + usersPath + '#buttonheader">' + \ postsButton + '"><span>' + translate['Posts'] + \
'<span>' + translate['Posts'] + ' </span></a>' ' </span></button></a>'
profileStr += \ profileStr += \
' <a class="' + followingButton + \ ' <a href="' + usersPath + '/following#buttonheader">' + \
'" href="' + usersPath + '/following#buttonheader">' + \ '<button class="' + followingButton + '"><span>' + \
'<span>' + translate['Following'] + ' </span></a>' translate['Following'] + ' </span></button></a>'
profileStr += \ profileStr += \
' <a class="' + followersButton + \ ' <a href="' + usersPath + '/followers#buttonheader">' + \
'" href="' + usersPath + '/followers#buttonheader">' + \ '<button class="' + followersButton + \
'<span>' + translate['Followers'] + ' </span></a>' '"><span>' + translate['Followers'] + ' </span></button></a>'
profileStr += \ profileStr += \
' <a class="' + rolesButton + \ ' <a href="' + usersPath + '/roles#buttonheader">' + \
'" href="' + usersPath + '/roles#buttonheader">' + \ '<button class="' + rolesButton + '"><span>' + translate['Roles'] + \
'<span>' + translate['Roles'] + ' </span></a>' ' </span></button></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 class="' + sharesButton + \ ' <a href="' + usersPath + '/shares#buttonheader">' + \
'" href="' + usersPath + '/shares#buttonheader">' + \ '<button class="' + sharesButton + '"><span>' + \
'<span>' + translate['Shares'] + ' </span></a>' translate['Shares'] + ' </span></button></a>'
profileStr += editProfileStr + logoutStr profileStr += editProfileStr + logoutStr
profileStr += ' </center>' profileStr += ' </center>'
profileStr += '</div>' profileStr += '</div>'