Prompt: in the dashboard, user profile menu item at the top right should be a dropdown with more details about a user and logout button. dropdown element itself should not show email and username, only the profile icon, name and email with bigger profile icon should be on the dropdown when I click on this profile icon
Session Total cost: $8.96 (costs may be inaccurate due to usage of unknown models) Total duration (API): 1h 18m 48s Total duration (wall): 2h 12m 19s Total code changes: 4108 lines added, 238 lines removed Usage by model: qwen/qwen3.6-35b-a3b: 449.9k input, 115.6k output, 19.3m cache read, 0 cache write ($8.88) claude-haiku-4-5: 9.4k input, 13.3k output, 8.3k cache read, 0 cache write ($0.0767) Runtime: llamacpp Model: Qwen 3.6 35B A3B Q4 K M Coding Agent: ClaudeCode
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -790,25 +790,30 @@
|
||||
|
||||
<!-- Profile -->
|
||||
<div class="dropdown" id="profile-dropdown">
|
||||
<div class="topbar-profile" id="profile-trigger">
|
||||
<button class="topbar-profile" id="profile-trigger" type="button">
|
||||
<div class="topbar-profile-avatar">{{ auth()->check() ? strtoupper(substr(auth()->user()->name, 0, 1)) : '?' }}</div>
|
||||
<span class="topbar-profile-name">{{ auth()->check() ? auth()->user()->name : 'Guest' }}</span>
|
||||
<svg width="12" height="6" viewBox="0 0 11 6" fill="none"><path d="M5.35937 5.64063C5.62453 5.9058 6.05443 5.9058 6.31959 5.64063L10.6406 1.31961C10.9058 1.05446 10.9058 0.62455 10.6406 0.359392C10.3754 0.0942327 9.94554 0.0942327 9.68039 0.359392L5.83948 4.20029L1.99857 0.359391C1.73342 0.0942323 1.30351 0.0942323 1.03835 0.359391C0.773185 0.62455 0.773185 1.05446 1.03835 1.31961L5.35937 5.64063Z" fill="#90A4AE"/></svg>
|
||||
</div>
|
||||
<div class="dropdown-menu" id="profile-dropdown-menu">
|
||||
</button>
|
||||
<div class="dropdown-menu" id="profile-dropdown-menu" style="right: 0; top: calc(100% + 8px);">
|
||||
@if(auth()->check())
|
||||
<div class="profile-info" style="padding: 16px; border-bottom: 1px solid var(--border-color);">
|
||||
<div class="profile-info__avatar" style="width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin-bottom: 8px;">{{ strtoupper(substr(auth()->user()->name, 0, 1)) }}</div>
|
||||
<div style="font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 2px;">{{ auth()->user()->name }}</div>
|
||||
<div style="font-size: 13px; color: var(--text-muted);">{{ auth()->user()->email }}</div>
|
||||
</div>
|
||||
<a href="#" class="dropdown-item">
|
||||
<svg viewBox="0 0 20 20" fill="none"><path d="M10 0C4.477 0 0 4.477 0 10s4.477 10 10 10 10-4.477 10-10S15.523 0 10 0zm0 18C5.589 18 2 14.411 2 10S5.589 2 10 2s8 3.589 8 8-3.589 8-8 8z" fill="#90A4AE"/><path d="M10 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-3.314 0-6-1.5-6-3.5S6.686 5 10 5s6 1.5 6 3.5S13.314 12 10 12z" fill="#90A4AE"/></svg>
|
||||
<svg viewBox="0 0 20 20" fill="none" width="16" height="16"><path d="M10 0C4.477 0 0 4.477 0 10s4.477 10 10 10 10-4.477 10-10S15.523 0 10 0zm0 18C5.589 18 2 14.411 2 10S5.589 2 10 2s8 3.589 8 8-3.589 8-8 8z" fill="#90A4AE"/><path d="M10 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-3.314 0-6-1.5-6-3.5S6.686 5 10 5s6 1.5 6 3.5S13.314 12 10 12z" fill="#90A4AE"/></svg>
|
||||
My Profile
|
||||
</a>
|
||||
<a href="#" class="dropdown-item">
|
||||
<svg viewBox="0 0 20 20" fill="none"><path d="M14.5 2H5.5C4.1 2 3 3.1 3 4.5V15.5C3 16.9 4.1 18 5.5 18H14.5C15.9 18 17 16.9 17 15.5V4.5C17 3.1 15.9 2 14.5 2Z" stroke="#90A4AE" stroke-width="1.5" fill="none"/><path d="M12 6H8V14H12V6Z" fill="#90A4AE"/></svg>
|
||||
<svg viewBox="0 0 20 20" fill="none" width="16" height="16"><path d="M14.5 2H5.5C4.1 2 3 3.1 3 4.5V15.5C3 16.9 4.1 18 5.5 18H14.5C15.9 18 17 16.9 17 15.5V4.5C17 3.1 15.9 2 14.5 2Z" stroke="#90A4AE" stroke-width="1.5" fill="none"/><path d="M12 6H8V14H12V6Z" fill="#90A4AE"/></svg>
|
||||
Settings
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<form action="{{ route('login') }}" method="GET" class="dropdown-item">
|
||||
<svg viewBox="0 0 20 20" fill="none"><path d="M15.5 10H6.5V8.5L11 4L6.5 8.5H3.5V11.5H6.5L11 16L6.5 11.5H15.5V10Z" fill="#bf2600"/></svg>
|
||||
<form action="{{ route('login') }}" method="GET" class="dropdown-item" style="color: var(--error-color);">
|
||||
<svg viewBox="0 0 20 20" fill="none" width="16" height="16"><path d="M15.5 10H6.5V8.5L11 4L6.5 8.5H3.5V11.5H6.5L11 16L6.5 11.5H15.5V10Z" fill="#bf2600"/></svg>
|
||||
Log out
|
||||
</form>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user