mirror of https://gitlab.com/bashrc2/epicyon
Front page buttons within div
parent
8923b5f1fa
commit
79ff9f1316
|
@ -1312,7 +1312,9 @@ div.container {
|
||||||
.buttonMobile {
|
.buttonMobile {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
font-size:0;
|
font-size: 0;
|
||||||
|
padding: 0 0;
|
||||||
|
margin: 0 0;
|
||||||
}
|
}
|
||||||
.button {
|
.button {
|
||||||
border-radius: var(--button-corner-radius);
|
border-radius: var(--button-corner-radius);
|
||||||
|
|
|
@ -3408,23 +3408,25 @@ def htmlProfile(cssCache: {}, iconsAsButtons: bool,
|
||||||
iconsDir = getIconsDir(baseDir)
|
iconsDir = getIconsDir(baseDir)
|
||||||
if not authorized:
|
if not authorized:
|
||||||
# the links button to show left column links
|
# the links button to show left column links
|
||||||
|
loginButton = ' <div>\n'
|
||||||
loginButton = \
|
loginButton = \
|
||||||
' <a href="' + \
|
' <a href="' + \
|
||||||
'/users/news/newswiremobile' + \
|
'/users/news/newswiremobile' + \
|
||||||
'"><button class="buttonMobile">' + \
|
'"><button class="buttonMobile">' + \
|
||||||
'<span>' + translate['Newswire'] + \
|
'<span>' + translate['Newswire'] + \
|
||||||
'</span></button></a>\n'
|
'</span></button></a>\n'
|
||||||
loginButton += \
|
loginButton += \
|
||||||
' <a href="' + \
|
' <a href="' + \
|
||||||
'/users/news/linksmobile' + \
|
'/users/news/linksmobile' + \
|
||||||
'"><button class="buttonMobile">' + \
|
'"><button class="buttonMobile">' + \
|
||||||
'<span>' + translate['Links'] + \
|
'<span>' + translate['Links'] + \
|
||||||
'</span></button></a>\n'
|
'</span></button></a>\n'
|
||||||
loginButton += \
|
loginButton += \
|
||||||
' <a href="/login' + \
|
' <a href="/login' + \
|
||||||
'"><button class="buttonMobile">' + \
|
'"><button class="buttonMobile">' + \
|
||||||
'<span>' + translate['Login'] + \
|
'<span>' + translate['Login'] + \
|
||||||
'</span></button></a>\n'
|
'</span></button></a>\n'
|
||||||
|
loginButton = ' </div>\n'
|
||||||
else:
|
else:
|
||||||
editProfileStr = \
|
editProfileStr = \
|
||||||
'<a class="imageAnchor" href="' + usersPath + '/editprofile">' + \
|
'<a class="imageAnchor" href="' + usersPath + '/editprofile">' + \
|
||||||
|
|
Loading…
Reference in New Issue