diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 75a2381b7..e390a4edb 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -6310,3 +6310,12 @@ div.markdown { .comment-actions *:hover { color: var(--black); } + +.actionbtns > *:not(.d-none) { + display: inline !important; + margin-bottom: 10px !important; + margin-right: 5px !important; +} +.actionbtns > form > * { + margin-bottom: 10px !important; +} diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 2f5be12e5..d3f17e658 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -163,22 +163,24 @@
User ID: {{u.id}}
Coins spent: {{u.coins_spent}}
True score: {{u.truecoins}}
@@ -396,31 +401,39 @@ {% endif %} {% endfor %}User ID: {{u.id}}
Coins spent: {{u.coins_spent}}
True score: {{u.truecoins}}
diff --git a/files/templates/userpage_admintools.html b/files/templates/userpage_admintools.html index ac7946bce..2c0cdfcb9 100644 --- a/files/templates/userpage_admintools.html +++ b/files/templates/userpage_admintools.html @@ -20,24 +20,9 @@ {% endif %} {% endmacro %} -{% macro userAdminToolsUpper(deviceType) %} - {% if v and v.id != u.id and v.admin_level >= PERMS['USER_MODERATION_TOOLS_VISIBLE'] %} - {% if v.admin_level >= PERMS['ADMIN_ADD'] %} - - {% endif %} - {% if v.admin_level >= PERMS['ADMIN_REMOVE'] %} - - {% endif %} - {% if v.admin_level >= PERMS['ADMIN_ACTIONS_REVERT'] and u.admin_level %} - - {% endif %} - {% endif %} -{% endmacro %} - -{% macro userAdminToolsLower(deviceType) -%} +{% macro userAdminTools(deviceType) %} {% if v and v.id != u.id and v.admin_level >= PERMS['USER_MODERATION_TOOLS_VISIBLE'] %}