diff --git a/epicyon-profile.css b/epicyon-profile.css
index 1c9af8da2..b3accb7dc 100644
--- a/epicyon-profile.css
+++ b/epicyon-profile.css
@@ -1276,6 +1276,9 @@ aside .toggle-inside li {
cursor: pointer;
margin: 5px;
}
+ .buttonMobile {
+ display: none;
+ }
.button {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
@@ -1879,6 +1882,24 @@ aside .toggle-inside li {
cursor: pointer;
margin: 15px;
}
+ .buttonMobile {
+ border-radius: var(--button-corner-radius);
+ background-color: var(--button-background);
+ color: var(--button-text);
+ text-align: center;
+ font-size: var(--font-size-button-mobile);
+ font-family: Arial, Helvetica, sans-serif;
+ padding: var(--button-height-padding-mobile);
+ width: 20%;
+ min-width: var(--button-width-chars);
+ transition: all 0.5s;
+ cursor: pointer;
+ margin: 15px;
+ border-top: var(--tab-border-width) solid var(--tab-border-color);
+ border-bottom: none;
+ border-left: var(--tab-border-width) solid var(--tab-border-color);
+ border-right: var(--tab-border-width) solid var(--tab-border-color);
+ }
.button {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
diff --git a/webinterface.py b/webinterface.py
index 2ef6f820a..9118f4da7 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -6142,7 +6142,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
else:
tlStr += \
' \n'
@@ -6158,7 +6158,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
else:
tlStr += \
' ' + \
+ '">' + \
'' + translate['Links'] + \
'\n'
@@ -6404,47 +6404,76 @@ def htmlTimeline(defaultTimeline: str,
# what screen to go to when a new post is created
if boxName == 'dm':
- newPostButtonStr = \
- ' \n'
+ if not iconsAsButtons:
+ newPostButtonStr = \
+ ' \n'
+ else:
+ newPostButtonStr = \
+ '' + \
+ '+' + \
+ ' \n'
elif boxName == 'tlblogs' or boxName == 'tlnews':
- newPostButtonStr = \
- ' \n'
- elif boxName == 'tlevents':
- newPostButtonStr = \
- ' \n'
- else:
- if not manuallyApproveFollowers:
+ if not iconsAsButtons:
newPostButtonStr = \
' \n'
else:
+ newPostButtonStr = \
+ '' + \
+ '+' + \
+ ' \n'
+ elif boxName == 'tlevents':
+ if not iconsAsButtons:
newPostButtonStr = \
' \n'
-
+ else:
+ newPostButtonStr = \
+ '' + \
+ '+' + \
+ ' \n'
+ else:
+ if not manuallyApproveFollowers:
+ if not iconsAsButtons:
+ newPostButtonStr = \
+ ' \n'
+ else:
+ newPostButtonStr = \
+ '' + \
+ '+' + \
+ ' \n'
+ else:
+ if not iconsAsButtons:
+ newPostButtonStr = \
+ ' \n'
+ else:
+ newPostButtonStr = \
+ '' + \
+ '+' + \
+ ' \n'
# This creates a link to the profile page when viewed
# in lynx, but should be invisible in a graphical web browser
tlStr += \