From 32e78319fc3f4d23da9d78b9c786e2f09e510438 Mon Sep 17 00:00:00 2001 From: Andrea Date: Thu, 4 Jan 2024 14:09:06 +0100 Subject: [PATCH] [Bugfix] missing base profile border style Added profile pic component in supersponsor page --- res/styles/propic.css | 5 ++++- tpl/blocks/propic.html | 4 ++-- tpl/sponsorcount.html | 14 ++++++-------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/res/styles/propic.css b/res/styles/propic.css index 0b937c8..57e8168 100644 --- a/res/styles/propic.css +++ b/res/styles/propic.css @@ -28,7 +28,6 @@ svg.propic-border-filter { width:calc(100% - 4mm); border-radius:0.4em; margin:2mm; - border:4px solid #546e7a00; z-index: 2; } @@ -91,4 +90,8 @@ svg.propic-border-filter { .propic-normal { border:4px solid #8e24aa; +} + +.propic-base { + border:4px solid #546e7a; } \ No newline at end of file diff --git a/tpl/blocks/propic.html b/tpl/blocks/propic.html index 4c0cc56..0dd420c 100644 --- a/tpl/blocks/propic.html +++ b/tpl/blocks/propic.html @@ -8,8 +8,8 @@ {% endif %} Your own profile picture - Your own profile picture + Your own profile picture {% if flag %} - A country flag + flag {% endif %} \ No newline at end of file diff --git a/tpl/sponsorcount.html b/tpl/sponsorcount.html index a217202..bc41f13 100644 --- a/tpl/sponsorcount.html +++ b/tpl/sponsorcount.html @@ -17,10 +17,9 @@
{% endif %}
-
- - -
+ {% with order=person, imgSrc='/res/propic/' + (person.ans('propic') or 'default.png'), effects = true, flag = true %} + {% include 'blocks/propic.html' %} + {% endwith %}
{{person.ans('fursona_name')}}
{% if loop.last %}
{% endif %} @@ -33,10 +32,9 @@
{% endif %}
-
- - -
+ {% with order=person, imgSrc='/res/propic/' + (person.ans('propic') or 'default.png'), effects = true, flag = true %} + {% include 'blocks/propic.html' %} + {% endwith %}
{{person.ans('fursona_name')}}
{% if loop.last %}
{% endif %} -- 2.43.5