forked from rDrama/rDrama
fix
parent
a6b4162d28
commit
1b7e3876e8
|
@ -41,7 +41,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<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-end">
|
<div class="relative col-span-full flex items-end">
|
||||||
<div class="flex items-center mr-auto">
|
<div class="flex items-center">
|
||||||
<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-2">
|
<div class="pl-2">
|
||||||
<h1 class="font-bold text-2xl leading-normal mb-0" style="color: #{{u.namecolor}}">
|
<h1 class="font-bold text-2xl leading-normal mb-0" style="color: #{{u.namecolor}}">
|
||||||
|
@ -65,49 +65,51 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if u.id == v.id or not u.is_private %}
|
<div class="ml-auto flex items-center space-x-4">
|
||||||
<ul class="hidden xl:flex items-center space-x-3 mb-0">
|
{% if u.id == v.id or not u.is_private %}
|
||||||
<li>
|
<ul class="hidden xl:flex items-center space-x-3 mb-0">
|
||||||
<div class="text-lg font-bold mb-0">{{ u.stored_subscriber_count }}</div>
|
<li>
|
||||||
<small class="block font-bold text-gray-500">Followers</small>
|
<div class="text-lg font-bold mb-0">{{ u.stored_subscriber_count }}</div>
|
||||||
</li>
|
<small class="block font-bold text-gray-500">Followers</small>
|
||||||
<li>
|
</li>
|
||||||
<div class="text-lg font-bold mb-0">{{ u.coins }}</div>
|
<li>
|
||||||
<small class="block font-bold text-gray-500">Dramacoin</small>
|
<div class="text-lg font-bold mb-0">{{ u.coins }}</div>
|
||||||
</li>
|
<small class="block font-bold text-gray-500">Dramacoin</small>
|
||||||
{% if u.procoins %}
|
</li>
|
||||||
<li>
|
{% if u.procoins %}
|
||||||
<div class="text-lg font-bold mb-0">{{ u.procoins }}</div>
|
<li>
|
||||||
<small class="block font-bold text-gray-500">MarseyBux</small>
|
<div class="text-lg font-bold mb-0">{{ u.procoins }}</div>
|
||||||
</li>
|
<small class="block font-bold text-gray-500">MarseyBux</small>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
{% if v and v.id != u.id %}
|
||||||
{% endif %}
|
<ul class="flex flex-wrap space-x-2 items-center mb-0">
|
||||||
{% if v and v.id != u.id %}
|
<li>
|
||||||
<ul class="ml-auto flex flex-wrap space-x-2 items-center mb-0">
|
<button class="btn btn-gray" onclick="toggleElement('profile-toggleable-mobile', 'message-mobile')">
|
||||||
<li>
|
<i class="fas fa-paper-plane fa-sm fa-fw md:mr-1"></i>
|
||||||
<button class="btn btn-gray" onclick="toggleElement('profile-toggleable-mobile', 'message-mobile')">
|
<span class="hidden md:inline-block">Message</span>
|
||||||
<i class="fas fa-paper-plane fa-sm fa-fw md:mr-1"></i>
|
</button >
|
||||||
<span class="hidden md:inline-block">Message</span>
|
</li>
|
||||||
</button >
|
{% if u.id != 995 %}
|
||||||
</li>
|
<li id="button-unsub2" class="{% if not is_following %}hidden{% endif %}">
|
||||||
{% if u.id != 995 %}
|
<button class="btn btn-gray" onclick="post_toast2('/unfollow/{{u.username}}','button-unsub2','button-sub2')">
|
||||||
<li id="button-unsub2" class="{% if not is_following %}hidden{% endif %}">
|
<i class="fas fa-heart-broken fa-sm fa-fw mr-1"></i>
|
||||||
<button class="btn btn-gray" onclick="post_toast2('/unfollow/{{u.username}}','button-unsub2','button-sub2')">
|
Unfollow
|
||||||
<i class="fas fa-heart-broken fa-sm fa-fw mr-1"></i>
|
</button>
|
||||||
Unfollow
|
</li>
|
||||||
</button>
|
{% endif %}
|
||||||
</li>
|
<li id="button-sub2" class="{% if is_following or u.is_nofollow or u.is_blocked %}hidden{% endif %}">
|
||||||
|
<button class="btn btn-gray" onclick="post_toast2('/follow/{{u.username}}','button-unsub2','button-sub2')">
|
||||||
|
<i class="far fa-heart fa-sm fa-fw mr-1"></i>
|
||||||
|
Follow
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
|
<!-- <li> dropdown here </li> -->
|
||||||
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li id="button-sub2" class="{% if is_following or u.is_nofollow or u.is_blocked %}hidden{% endif %}">
|
</div>
|
||||||
<button class="btn btn-gray" onclick="post_toast2('/follow/{{u.username}}','button-unsub2','button-sub2')">
|
|
||||||
<i class="far fa-heart fa-sm fa-fw mr-1"></i>
|
|
||||||
Follow
|
|
||||||
</button>
|
|
||||||
</li>
|
|
||||||
<!-- <li> dropdown here </li> -->
|
|
||||||
</ul>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="relative col-span-full flex xl:hidden flex-col mt-3">
|
<div class="relative col-span-full flex xl:hidden flex-col mt-3">
|
||||||
{% if u.id == v.id or not u.is_private %}
|
{% if u.id == v.id or not u.is_private %}
|
||||||
|
|
Loading…
Reference in New Issue