mirror of https://gitlab.com/bashrc2/epicyon
Front page buttons within div
parent
8923b5f1fa
commit
79ff9f1316
|
@ -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);
|
||||
|
|
|
@ -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">' + \
|
||||
|
|
Loading…
Reference in New Issue