diff --git a/epicyon-profile.css b/epicyon-profile.css index f184d9bc1..7ff90bf52 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -1717,6 +1717,22 @@ h3 { cursor: pointer; margin: 5px; } + .followApproveHandle { + border-radius: var(--button-corner-radius); + background-color: var(--main-bg-color); + border: none; + color: var(--main-fg-color); + text-align: center; + font-size: var(--font-size-header); + font-family: 'Arial, Helvetica, sans-serif'; + padding: var(--button-height-padding); + width: 20%; + max-width: 200px; + min-width: 80px; + cursor: pointer; + margin: 0 5px; + float: right; + } .followApprove { border-radius: var(--button-corner-radius); background-color: var(--button-approve); @@ -2516,6 +2532,22 @@ h3 { cursor: pointer; margin: 15px; } + .followApprove { + border-radius: var(--button-corner-radius); + background-color: var(--main-bg-color); + border: none; + color: var(--main-fg-color); + text-align: center; + font-size: var(--font-size3); + font-family: 'Arial, Helvetica, sans-serif'; + padding: var(--button-height-padding-mobile); + width: 20%; + max-width: 400px; + min-width: 80px; + cursor: pointer; + margin: 0 15px; + float: right; + } .followApprove { border-radius: var(--button-corner-radius); background-color: var(--button-approve); @@ -3313,6 +3345,22 @@ h3 { cursor: pointer; margin: 15px; } + .followApproveHandle { + border-radius: var(--button-corner-radius); + background-color: var(--main-bg-color); + border: none; + color: var(--main-fg-color); + text-align: center; + font-size: var(--font-size3); + font-family: 'Arial, Helvetica, sans-serif'; + padding: var(--button-height-padding-tiny); + width: 20%; + max-width: 400px; + min-width: 80px; + cursor: pointer; + margin: 0 15px; + float: right; + } .followApprove { border-radius: var(--button-corner-radius); background-color: var(--button-approve); diff --git a/webapp_profile.py b/webapp_profile.py index a1d019fb1..64f203003 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -896,16 +896,21 @@ def html_profile(signing_priv_key_pem: str, if follower_domain not in curr_follower_domains: new_follower_domain = ' ✨' + # Show the handle of the potential follower + # being approved, linking to search on that handle base_path = '/users/' + nickname follow_approvals_section += \ - '
' - follow_approvals_section += \ - '' - follow_approvals_section += \ - '' + \ - follower_handle + \ - new_follower_domain + '' + '
\n' + \ + '
\n' + \ + ' \n' + \ + ' \n
\n' # show Approve and Deny buttons follow_approvals_section += \