diff options
author | RaindropsSys <contact@minteck.org> | 2023-04-13 22:07:44 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-04-13 22:07:44 +0200 |
commit | eb7405f92bd01ab59a056ff5df6d2f1d6b30f0ce (patch) | |
tree | c15e12e96e0e83b665e4931df50bc034620fde3e /assets | |
parent | eafc2b02a66838fdadb2da70d5b1a9aa04051de6 (diff) | |
download | pluralconnect-eb7405f92bd01ab59a056ff5df6d2f1d6b30f0ce.tar.gz pluralconnect-eb7405f92bd01ab59a056ff5df6d2f1d6b30f0ce.tar.bz2 pluralconnect-eb7405f92bd01ab59a056ff5df6d2f1d6b30f0ce.zip |
Updated 13 files and added 2 files (automated)
Diffstat (limited to 'assets')
-rw-r--r-- | assets/logo/banner.js | 7 | ||||
-rw-r--r-- | assets/logo/custom.css | 2 | ||||
-rw-r--r-- | assets/species/merpony.png | bin | 0 -> 68751 bytes |
3 files changed, 8 insertions, 1 deletions
diff --git a/assets/logo/banner.js b/assets/logo/banner.js index 02a8298..7a13759 100644 --- a/assets/logo/banner.js +++ b/assets/logo/banner.js @@ -55,6 +55,7 @@ async function refreshBanner(_, french) { if (data['relations']['caretakers'] && data['relations']['caretakers'].length > 0) active++; if (data['relations']['sexfriends'] && data['relations']['sexfriends'].length > 0) active++; if (data['relations']['sisters'] && data['relations']['sisters'].length > 0) active++; + if (data['relations']['friends'] && data['relations']['friends'].length > 0) active++; document.getElementById("member-banner").innerHTML = ` @@ -159,6 +160,12 @@ async function refreshBanner(_, french) { ${data['relations']['caretakers'].length === 0 ? '-' : ''} </span> ` : ''} + ${data['relations']['friends'] && data['relations']['friends'].length > 0 ? `<span> + <b>${french ? (data['relations']['friends'].length > 1 ? 'Amies ' : 'Amie ') : `Friend${data['relations']['friends'].length > 1 ? 's' : ''}`}: </b>${data['relations']['sisters'].length > 1 ? '<span class="list-separator-mobile"><br></span>' : ''} + ${data['relations']['friends'].map(relation => ` + <a title="${relation['name']}" data-bs-toggle="tooltip" class="member-link tooltip-nohelp" href="${relation['link']}"><img src="${offline ? relation['icon_offline'] : `${relation['icon']}`}" style="width:24px;"></a>`).join(``)} + ${data['relations']['friends'].length === 0 ? '-' : ''} + </span>` : ``} </div> ` : '<div style="margin-top:5px;"> </div>'} </div> diff --git a/assets/logo/custom.css b/assets/logo/custom.css index 75c1d19..0d35c4b 100644 --- a/assets/logo/custom.css +++ b/assets/logo/custom.css @@ -678,7 +678,7 @@ peh-muted { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; display: grid; - grid-template-columns: repeat(5, 1fr); + grid-template-columns: repeat(4, 1fr); text-align: center; } diff --git a/assets/species/merpony.png b/assets/species/merpony.png Binary files differnew file mode 100644 index 0000000..504f6f2 --- /dev/null +++ b/assets/species/merpony.png |