diff --git a/epicyon-profile.css b/epicyon-profile.css index 1cd53bcf..39f5e355 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -280,6 +280,19 @@ input[type=submit] { font-size: 18px; } +.loginButton { + background-color: #2965; + color: #000; + float: center; + margin: 0px 10px; + padding: 12px 40px; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 24px; + opacity: 0.7; +} + input[type=file] { background-color: #555; color: white; diff --git a/webinterface.py b/webinterface.py index 572963c4..1e6fb0eb 100644 --- a/webinterface.py +++ b/webinterface.py @@ -295,6 +295,9 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool, \ skillsButton='buttonselected' elif selected=='shares': sharesButton='buttonselected' + loginButton='' + if not authorized: + loginButton='
' actor=profileJson['id'] profileStr= \ '
' \ @@ -302,7 +305,8 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool, \ ' '+nickname+'@'+domainFull+'' \ '

'+preferredName+'

' \ '

@'+nickname+'@'+domainFull+'

' \ - '

'+profileDescription+'

' \ + '

'+profileDescription+'

'+ \ + loginButton+ \ '
' \ '' \ '
\n' \