cosmetic changes

master
Aevann1 2022-12-05 08:46:04 +02:00
parent 67136ec707
commit 4583c3d4eb
3 changed files with 11 additions and 8 deletions

View File

@ -6,7 +6,7 @@
<div class="col">
<div class="flex-row box-shadow-bottom d-flex justify-content-center justify-content-md-between align-items-center">
<ul class="nav settings-nav" id="profile-content--nav">
<li class="nav-item">
<li class="nav-item mr-1">
<a class="nav-link" href="/@{{u.username}}">Wall</a>
</li>
<li class="nav-item">

View File

@ -407,7 +407,14 @@
<div class="actionbtns">
{% if v and v.id == u.id %}
<div><a href="/settings/personal" class="btn btn-secondary ">Edit Profile</a></div>
<a href="/settings/personal" class="btn btn-secondary ">Edit Profile</a>
{% endif %}
{% if FEATURES['USERS_PROFILE_SONG'] and u.song and v and (v.id == u.id or v.mute and not u.unmutable) %}
<button type="button" class="btn btn-secondary" onclick="toggle()" {% if v.id == u.id %}style="margin-bottom:0!important;padding:0.3rem 0.75rem!important"{% endif %}>Toggle Anthem</button>
{% endif %}
{% if v and v.id == u.id %}
<div>
<form class="mt-3" id="upload-profile-background-mobile" action="/settings/profile_background" method="post" enctype="multipart/form-data">
<input type="hidden" name="formkey" value="{{v|formkey}}">
@ -424,10 +431,6 @@
</div>
{% endif %}
{% if FEATURES['USERS_PROFILE_SONG'] and u.song and v and (v.id == u.id or v.mute and not u.unmutable) %}
<button type="button" class="btn btn-secondary" onclick="toggle()" {% if v.id == u.id %}style="margin-bottom:0!important;padding:0.3rem 0.75rem!important"{% endif %}>Toggle Anthem</button>
{% endif %}
{% if v and v.id != u.id %}
<button type="button" id="button-unsub2" class="btn btn-secondary {% if not is_following %}d-none{% endif %}" onclick="postToastSwitch(this,'/unfollow/{{u.username}}','button-unsub2','button-sub2','d-none')">Unfollow</button>
@ -507,7 +510,7 @@
<div class="col">
<div class="flex-row box-shadow-bottom d-flex justify-content-center justify-content-md-between align-items-center">
<ul class="nav settings-nav" id="profile-content--nav">
<li class="nav-item">
<li class="nav-item mr-1">
<a class="nav-link" href="/@{{u.username}}">Wall</a>
</li>
<li class="nav-item">

View File

@ -6,7 +6,7 @@
<div class="col">
<div class="flex-row box-shadow-bottom d-flex justify-content-center justify-content-md-between align-items-center">
<ul class="nav settings-nav" id="profile-content--nav">
<li class="nav-item">
<li class="nav-item mr-1">
<a class="nav-link active" href="/@{{u.username}}">Wall</a>
</li>
<li class="nav-item">