forked from rDrama/rDrama
minor cosmetic fixes on profiles
parent
2b89cdf251
commit
3e353ccf47
|
@ -190,7 +190,7 @@
|
||||||
{% if v and v.id == u.id %}
|
{% if v and v.id == u.id %}
|
||||||
<form id="upload-profile-background" action="/settings/profile_background" method="post" enctype="multipart/form-data">
|
<form id="upload-profile-background" action="/settings/profile_background" method="post" enctype="multipart/form-data">
|
||||||
<input type="hidden" name="formkey" value="{{v|formkey}}">
|
<input type="hidden" name="formkey" value="{{v|formkey}}">
|
||||||
<label class="format btn btn-primary" for="upload-profile-background-file" style="margin-bottom:0!important">
|
<label class="btn btn-primary" for="upload-profile-background-file" style="margin-bottom:0!important">
|
||||||
<i class="fas fa-image mr-1"></i>
|
<i class="fas fa-image mr-1"></i>
|
||||||
{% if v.profile_background -%}
|
{% if v.profile_background -%}
|
||||||
{{v.profile_background}}
|
{{v.profile_background}}
|
||||||
|
@ -405,11 +405,11 @@
|
||||||
<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 %}><i class="fas fa-music mr-1"></i> Toggle Anthem</button>
|
<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 %}><i class="fas fa-music mr-1"></i> Toggle Anthem</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if v and v.id == u.id and v.profile_background %}
|
{% if v and v.id == u.id %}
|
||||||
<div>
|
<div>
|
||||||
<form class="mt-3" id="upload-profile-background-mobile" action="/settings/profile_background" method="post" enctype="multipart/form-data">
|
<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}}">
|
<input type="hidden" name="formkey" value="{{v|formkey}}">
|
||||||
<label class="format btn btn-primary" for="upload-profile-background-file-mobile" style="margin-bottom:0!important">
|
<label class="btn btn-primary" for="upload-profile-background-file-mobile" style="margin-bottom:0!important">
|
||||||
<i class="fas fa-image mr-1"></i>
|
<i class="fas fa-image mr-1"></i>
|
||||||
{% if v.profile_background %}
|
{% if v.profile_background %}
|
||||||
{{v.profile_background}}
|
{{v.profile_background}}
|
||||||
|
@ -430,9 +430,7 @@
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<pre>
|
<br>
|
||||||
|
|
||||||
</pre>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if v and v.id != u.id %}
|
{% if v and v.id != u.id %}
|
||||||
|
|
Loading…
Reference in New Issue