2023-01-08 20:24:34 +00:00
< details id = "badge" >
2024-01-08 21:02:27 +00:00
< summary role = "button" > < img src = "/res/icons/badge.svg" class = "icon" / > Badge Customization {% if not order.isBadgeValid() %}< span class = "status" > ⚠️< / span > {% endif %}< / summary >
2023-01-08 20:24:34 +00:00
{# Badge is always shown #}
< h2 > Badge< / h2 >
2023-01-19 16:03:38 +00:00
{% if order.propic_locked %}
< p class = "notice" > ⚠️ You have been limited from further editing your profile pic.< / p >
{% endif %}
2023-12-30 10:27:42 +00:00
{% if not order.ans('propic') or (order.is_fursuiter and not order.ans('propic_fursuiter')) %}
2023-01-08 20:24:34 +00:00
< p class = "notice" > ⚠️ One or more badge pictures are missing! This will cause you badge to be empty, so make sure to upload something before the deadline!< / p >
{% endif %}
< form method = "POST" enctype = "multipart/form-data" action = "/manage/propic/upload" >
< div class = "grid" style = "text-align:center;margin-bottom:1em;" >
< div >
2024-01-08 21:02:27 +00:00
{% with order=order, imgSrc='/res/propic/' + (order.ans('propic') or 'default.png'), effects = false %}
2024-01-03 16:18:31 +00:00
{% include 'blocks/propic.html' %}
{% endwith %}
2023-01-08 20:24:34 +00:00
< p > Normal Badge< / p >
2024-01-08 21:02:27 +00:00
{% if not order.ans('propic') %}
< input type = "file" value = "" accept = "image/jpeg,image/png" name = "propic" / >
{% endif %}
2023-01-08 20:24:34 +00:00
< / div >
2023-12-30 10:27:42 +00:00
{% if order.is_fursuiter %}
2023-01-08 20:24:34 +00:00
< div >
2024-01-08 21:02:27 +00:00
{% with order=order, imgSrc='/res/propic/' + (order.ans('propic_fursuiter') or 'default.png'), effects = false %}
2024-01-03 16:18:31 +00:00
{% include 'blocks/propic.html' %}
{% endwith %}
2023-01-08 20:24:34 +00:00
< p > Fursuit Badge< / p >
2024-01-08 21:02:27 +00:00
{% if not order.ans('propic_fursuiter') %}
< input type = "file" value = "" accept = "image/jpeg,image/png" name = "propic_fursuiter" / >
{% endif %}
2023-01-08 20:24:34 +00:00
< / div >
{% endif %}
< / div >
2023-05-08 20:06:53 +00:00
{% if time() > PROPIC_DEADLINE %}
2023-05-25 22:59:29 +00:00
< p class = "notice" > ⚠️ The deadline to upload pictures for the badge has expired. For last-minute changes, please contact the support over at < a href = "mailto:info@furizon.net" > info@furizon.net< / a > . If your badge has been printed already, changing it will incur in a 2€ fee. You can also get extra badges at the reception for the same price. If you upload a propic now, it might not be printed on time.< / p >
2023-05-08 20:06:53 +00:00
{% else %}
< p > < em >
2024-01-08 21:02:27 +00:00
Min size: {{PROPIC_MIN_SIZE[0]}}x{{PROPIC_MIN_SIZE[1]}} - Max Size: {{PROPIC_MAX_FILE_SIZE}}, {{PROPIC_MAX_SIZE[0]}}x{{PROPIC_MAX_SIZE[1]}} - Formats: jpg, png< br / >
Photos whose aspect ratio is not a square will be cropped
2023-05-08 20:06:53 +00:00
Badge photos must clearly show the fursona/fursuit head.< br / > Memes and low quality images will be removed and may limit your ability to upload pics in the future.
< / em > < / p >
{% endif %}
2024-01-10 13:04:04 +00:00
< div class = "grid grid_2x2" >
< input style = "grid-area: 1 / 1 / 2 / 3;" type = "submit" name = "submit" value = "Upload" { { ' disabled ' if ( order . ans ( ' propic ' ) and order . ans ( ' propic_fursuiter ' ) ) else ' ' } } / >
< input style = "grid-area: 2 / 1 / 3 / 2;" type = "submit" name = "submit" value = "Delete main image" { { ' disabled ' if ( time ( ) > PROPIC_DEADLINE or not order.ans('propic')) else ''}} />
< input style = "grid-area: 2 / 2 / 3 / 3;" type = "submit" name = "submit" value = "Delete fursuit image" { { ' disabled ' if ( time ( ) > PROPIC_DEADLINE or not order.ans('propic_fursuiter')) else ''}} />
2023-01-08 20:24:34 +00:00
< / div >
< / form >
< / details >