mirror of https://gitlab.com/bashrc2/epicyon
Different color for verified sites
parent
2d7b3e06a2
commit
46553d8223
|
@ -35,6 +35,7 @@
|
|||
--pageslist-color: #dddddd;
|
||||
--pageslist-selected-color: white;
|
||||
--main-fg-color: #dddddd;
|
||||
--verified-site-color: green;
|
||||
--cw-color: #dddddd;
|
||||
--cw-style: normal;
|
||||
--cw-weight: bold;
|
||||
|
@ -1126,6 +1127,10 @@ h3 {
|
|||
user-select: all;
|
||||
}
|
||||
|
||||
.verified_site {
|
||||
color: var(--verified-site-color)
|
||||
}
|
||||
|
||||
@media screen and (min-width: 400px) {
|
||||
body, html {
|
||||
background-color: var(--main-bg-color);
|
||||
|
|
|
@ -726,13 +726,18 @@ def html_profile(signing_priv_key_pem: str,
|
|||
'<button class="donateButton">' + translate['Donate'] + \
|
||||
'</button></a></p>\n'
|
||||
if website_url:
|
||||
donate_section += '<p>' + translate['Website'] + ': '
|
||||
donate_section += \
|
||||
'<p>' + translate['Website'] + ': '
|
||||
if site_is_verified(session, base_dir, http_prefix,
|
||||
nickname, domain,
|
||||
website_url, False, debug):
|
||||
donate_section += verified_site_checkmark
|
||||
donate_section += \
|
||||
verified_site_checkmark + \
|
||||
'<a class="verified_site" '
|
||||
else:
|
||||
donate_section += '<a '
|
||||
donate_section += \
|
||||
'<a href="' + \
|
||||
'href="' + \
|
||||
website_url + '" rel="me" tabindex="1">' + \
|
||||
website_url + '</a></p>\n'
|
||||
if gemini_link:
|
||||
|
@ -750,9 +755,13 @@ def html_profile(signing_priv_key_pem: str,
|
|||
if site_is_verified(session, base_dir, http_prefix,
|
||||
nickname, domain,
|
||||
blog_address, False, debug):
|
||||
donate_section += verified_site_checkmark
|
||||
donate_section += \
|
||||
verified_site_checkmark + \
|
||||
'<a class="verified_site" '
|
||||
else:
|
||||
donate_section += '<a '
|
||||
donate_section += \
|
||||
'<a href="' + \
|
||||
'href="' + \
|
||||
blog_address + '" rel="me" tabindex="1">' + \
|
||||
blog_address + '</a></p>\n'
|
||||
if xmpp_address:
|
||||
|
|
Loading…
Reference in New Issue