forked from rDrama/rDrama
fix
parent
becd346928
commit
c824ba07b2
|
@ -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="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="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="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"/>
|
<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}}">
|
<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>
|
<span {% if u.patron %}class="patron" style="background-color:#{{u.namecolor}};"{% endif %}>{{u.username}}</span>
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -46,6 +46,10 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</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>
|
</div>
|
||||||
{% if v and v.username == u.username %}
|
{% if v and v.username == u.username %}
|
||||||
<div class="ml-auto">
|
<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}}">
|
<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 %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% 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>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue