fdsafsda
This commit is contained in:
@@ -7509,14 +7509,14 @@ ul.navbar-nav-guests li.nav-item {
|
|||||||
.profile_head_username {
|
.profile_head_username {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
position: relative;
|
||||||
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile-actions {
|
.profile-actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
margin-top: 5px;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.layersoffear {
|
.layersoffear {
|
||||||
@@ -13935,24 +13935,25 @@ i.iconset#a_oc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.layersoffear {
|
.layersoffear {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto;
|
grid-template-columns: auto;
|
||||||
|
grid-template-rows: 1fr auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile_head_user_stats {
|
.profile_head_user_stats {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-auto-flow: column;
|
grid-auto-flow: column;
|
||||||
grid-auto-columns: max-content;
|
grid-auto-columns: max-content;
|
||||||
}
|
align-items: center;
|
||||||
|
gap: 5px;
|
||||||
.stat-id,
|
|
||||||
.stat-joined,
|
|
||||||
.stat-comments,
|
|
||||||
.stat-tags,
|
|
||||||
.stat-halls {
|
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.profile_head_user_stats > * {
|
||||||
|
background: var(--bg);
|
||||||
|
padding: 0px 5px 0px 5px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
.uploads-header,
|
.uploads-header,
|
||||||
.favs-header {
|
.favs-header {
|
||||||
background: var(--black);
|
background: var(--black);
|
||||||
|
|||||||
@@ -19,11 +19,31 @@
|
|||||||
@endif
|
@endif
|
||||||
<div class="layersoffear">
|
<div class="layersoffear">
|
||||||
<div class="profile_head_username">
|
<div class="profile_head_username">
|
||||||
<span @if(user.username_color) style="color: {{ user.username_color }}" @endif>@if(user.admin)⚡ @elseif(user.is_moderator)🛡 @endif{!! user.display_name || user.user !!}@if(user.is_ghost) <span class="badge badge-secondary" style="font-size: 0.5em; vertical-align: middle; background-color: #5bc0de; color: #fff; padding: 2px 5px; border-radius: 3px; margin-left: 5px;">LEGACY</span>@endif @if(user.banned) <span class="badge badge-danger" tooltip="{{ user.ban_duration }}" style="font-size: 0.5em; vertical-align: middle; background-color: #d9534f; color: #fff; padding: 2px 5px; border-radius: 3px; margin-left: 5px;">BANNED</span>@endif</span>@if(user.display_name) <span style="font-size: 0.65em; color: #666; font-weight: 400; margin-left: 5px; letter-spacing: 0.5px;">({!! user.user !!})</span>@endif
|
<div style="display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;">
|
||||||
|
<div style="flex: 1; min-width: 0; word-break: break-word; line-height: 1.2; align-self: flex-start; margin-top: 0;">
|
||||||
|
<span @if(user.username_color) style="color: {{ user.username_color }}" @endif>@if(user.admin)⚡ @elseif(user.is_moderator)🛡 @endif{!! user.display_name || user.user !!}@if(user.is_ghost) <span class="badge badge-secondary" style="font-size: 0.5em; vertical-align: middle; background-color: #5bc0de; color: #fff; padding: 2px 5px; border-radius: 3px; margin-left: 5px;">LEGACY</span>@endif @if(user.banned) <span class="badge badge-danger" tooltip="{{ user.ban_duration }}" style="font-size: 0.5em; vertical-align: middle; background-color: #d9534f; color: #fff; padding: 2px 5px; border-radius: 3px; margin-left: 5px;">BANNED</span>@endif</span>@if(user.display_name) <span style="font-size: 0.65em; color: #666; font-weight: 400; margin-left: 5px; letter-spacing: 0.5px;">({!! user.user !!})</span>@endif
|
||||||
|
</div>
|
||||||
|
@if(session && session.id !== user.user_id)
|
||||||
|
<div class="profile-actions" style="margin: 0; flex-shrink: 0;">
|
||||||
|
@if(private_messages)
|
||||||
|
<button id="send-dm-btn" class="btn btn-sm btn-outline-info" data-username="{!! user.user !!}" style="padding: 2px 8px; font-size: 0.8em; border: 1px solid var(--accent); color: var(--accent); background: transparent; cursor: pointer;" title="{{ t('profile.message_btn') }}"><i class="fa-solid fa-envelope"></i></button>
|
||||||
|
@endif
|
||||||
|
@if(session.admin || session.is_moderator)
|
||||||
|
@if(session.admin || !user.admin)
|
||||||
|
@if(user.banned)
|
||||||
|
<button id="unban-user-btn" class="btn btn-sm btn-outline-success" style="padding: 2px 8px; font-size: 0.8em; border: 1px solid #5cb85c; color: #5cb85c; background: transparent; cursor: pointer;" title="{{ t('profile.unban_btn') }}"><i class="fa-solid fa-unlock"></i></button>
|
||||||
|
@else
|
||||||
|
<button id="ban-user-btn" class="btn btn-sm btn-outline-danger" style="padding: 2px 8px; font-size: 0.8em; border: 1px solid var(--accent); color: var(--accent); background: transparent; cursor: pointer;" title="{{ t('profile.ban_btn') }}"><i class="fa-solid fa-ban"></i></button>
|
||||||
|
@endif
|
||||||
|
<button id="warn-user-btn" class="btn btn-sm btn-outline-warning" style="padding: 2px 8px; font-size: 0.8em; border: 1px solid #f0ad4e; color: #f0ad4e; background: transparent; cursor: pointer;" title="{{ t('profile.warn_btn') }}"><i class="fa-solid fa-triangle-exclamation"></i></button>
|
||||||
|
@endif
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
@if(enable_profile_description && user.description)
|
@if(enable_profile_description && user.description)
|
||||||
<div class="profile_description">{!! user.description !!}</div>
|
<div class="profile_description">{!! user.description !!}</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="profile_head_user_stats">
|
<div class="profile_head_user_stats">
|
||||||
@if(user.is_ghost)
|
@if(user.is_ghost)
|
||||||
@@ -42,23 +62,6 @@
|
|||||||
|
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@if(session && session.id !== user.user_id)
|
|
||||||
<div class="profile-actions">
|
|
||||||
@if(private_messages)
|
|
||||||
<button id="send-dm-btn" class="btn btn-sm btn-outline-info" data-username="{!! user.user !!}" style="padding: 2px 8px; font-size: 0.8em; border: 1px solid var(--accent); color: var(--accent); background: transparent; cursor: pointer;">{{ t('profile.message_btn') }}</button>
|
|
||||||
@endif
|
|
||||||
@if(session.admin || session.is_moderator)
|
|
||||||
@if(session.admin || !user.admin)
|
|
||||||
@if(user.banned)
|
|
||||||
<button id="unban-user-btn" class="btn btn-sm btn-outline-success" style="padding: 2px 8px; font-size: 0.8em; border: 1px solid #5cb85c; color: #5cb85c; background: transparent; cursor: pointer;">{{ t('profile.unban_btn') }}</button>
|
|
||||||
@else
|
|
||||||
<button id="ban-user-btn" class="btn btn-sm btn-outline-danger" style="padding: 2px 8px; font-size: 0.8em; border: 1px solid var(--accent); color: var(--accent); background: transparent; cursor: pointer;">{{ t('profile.ban_btn') }}</button>
|
|
||||||
@endif
|
|
||||||
<button id="warn-user-btn" class="btn btn-sm btn-outline-warning" style="padding: 2px 8px; font-size: 0.8em; border: 1px solid #f0ad4e; color: #f0ad4e; background: transparent; cursor: pointer;">{{ t('profile.warn_btn') }}</button>
|
|
||||||
@endif
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="user_content_wrapper">
|
<div class="user_content_wrapper">
|
||||||
|
|||||||
Reference in New Issue
Block a user