Front page buttons within div

main
Bob Mottram 2020-10-30 10:24:11 +00:00
parent 8923b5f1fa
commit 79ff9f1316
2 changed files with 8 additions and 4 deletions

View File

@ -1312,7 +1312,9 @@ div.container {
.buttonMobile {
background: transparent;
border: none !important;
font-size:0;
font-size: 0;
padding: 0 0;
margin: 0 0;
}
.button {
border-radius: var(--button-corner-radius);

View File

@ -3408,23 +3408,25 @@ def htmlProfile(cssCache: {}, iconsAsButtons: bool,
iconsDir = getIconsDir(baseDir)
if not authorized:
# the links button to show left column links
loginButton = ' <div>\n'
loginButton = \
' <a href="' + \
' <a href="' + \
'/users/news/newswiremobile' + \
'"><button class="buttonMobile">' + \
'<span>' + translate['Newswire'] + \
'</span></button></a>\n'
loginButton += \
' <a href="' + \
' <a href="' + \
'/users/news/linksmobile' + \
'"><button class="buttonMobile">' + \
'<span>' + translate['Links'] + \
'</span></button></a>\n'
loginButton += \
' <a href="/login' + \
' <a href="/login' + \
'"><button class="buttonMobile">' + \
'<span>' + translate['Login'] + \
'</span></button></a>\n'
loginButton = ' </div>\n'
else:
editProfileStr = \
'<a class="imageAnchor" href="' + usersPath + '/editprofile">' + \