master
Aevann1 2021-09-03 16:23:49 +02:00
parent 1131cda5dd
commit 5e89ccb9bc
2 changed files with 15 additions and 8 deletions

View File

@ -73,7 +73,7 @@
<div class="body d-lg-flex border-bottom">
<label for="bio" class="text-black w-lg-25">Theme Color</label>
<label class="text-black w-lg-25">Theme Color</label>
<div class="d-flex">
@ -391,7 +391,7 @@
<div class="body d-lg-flex border-bottom">
<label for="bio" class="text-black w-lg-25">Username</label>
<label class="text-black w-lg-25">Username</label>
<div class="w-lg-100">
<p>Your original username will always stay reserved for you: <code>{{v.original_username}}</code></p>
@ -410,7 +410,7 @@
<div class="body d-lg-flex border-bottom">
<label for="bio" class="text-black w-lg-25">Profile Anthem</label>
<label class="text-black w-lg-25">Profile Anthem</label>
<div class="w-lg-100">
<p>Must be a youtube video link.</p>
@ -429,7 +429,7 @@
<div class="body d-lg-flex border-bottom">
<label for="bio" class="text-black w-lg-25">Name Color</label>
<label class="text-black w-lg-25">Name Color</label>
<div class="d-flex">
@ -471,7 +471,7 @@
{% if not v.flairchanged %}
<div class="body d-lg-flex border-bottom">
<label for="bio" class="text-black w-lg-25">Flair</label>
<label class="text-black w-lg-25">Flair</label>
<div class="w-lg-100">
@ -492,7 +492,7 @@
<div class="body d-lg-flex border-bottom">
<label for="bio" class="text-black w-lg-25">Flair Color</label>
<label class="text-black w-lg-25">Flair Color</label>
<div class="d-flex">
@ -533,11 +533,10 @@
<div class="body d-lg-flex border-bottom">
<label for="bio" class="text-black w-lg-25">Bio</label>
<label class="text-black w-lg-25">Bio</label>
<div class="w-lg-100">
<form id="profile-bio" action="/settings/profile" method="post">
<input type="hidden" name="formkey" value="{{v.formkey}}">
<div class="input-group mb-2">

View File

@ -198,6 +198,14 @@
{% endif %}
{% endif %}
{% if 'rdrama' in request.host and v.id in [28,995] %}
{% if u.admin_level == 0 %}
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/make_admin')">Make admin</a>
{% else %}
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/remove_admin')">Remove admin</a>
{% endif %}
{% endif %}
<form class="d-none profile-toggleable" id="message" action="/@{{u.username}}/message" method="post">
<pre></pre>
<textarea id="input-message" form="message" name="message" rows="3" maxlength="1000" class="form-control" required></textarea>