master
kek7198 2021-12-07 20:57:36 -06:00
parent becd346928
commit c824ba07b2
1 changed files with 6 additions and 6 deletions

View File

@ -34,9 +34,9 @@
<div class="relative max-w-screen-2xl mx-auto px-4 py-4 grid grid-cols-12 rounded-t">
<div class="absolute top-0 left-0 w-full h-full bg-gradient-to-t from-gray-300 to-gray-200 rounded-t sub-header-shadow"></div>
<div class="relative col-span-full flex items-center">
<div class="flex items-center">
<div class="flex items-end">
<img class="h-14 w-14 bg-white p-[3px] border border-gray-400" src="{{ v.profile_url }}" alt="Your avatar"/>
<div class="pl-3">
<div class="pl-2">
<h1 class="font-bold text-xl leading-normal mb-0" style="color: #{{u.namecolor}}">
<span {% if u.patron %}class="patron" style="background-color:#{{u.namecolor}};"{% endif %}>{{u.username}}</span>
</h1>
@ -46,6 +46,10 @@
</div>
{% endif %}
</div>
<a href="/settings/profile" class='btn btn-gray pl-3'>
<i class="fas fa-user-edit fa-fw fa-sm mr-2"></i>
Edit profile
</a>
</div>
{% if v and v.username == u.username %}
<div class="ml-auto">
@ -56,10 +60,6 @@
<img class="w-5 h-5 object-contain" loading="lazy" src="{{b.path}}" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-original-title="{{b.name}} - {{b.text}}">
{% endif %}
{% endfor %}
<a href="/settings/profile" class='btn btn-gray'>
<i class="fas fa-user-edit fa-fw fa-sm mr-2"></i>
Edit profile
</a>
</div>
{% endif %}
</div>