Unify nav: drop Profile nav item, fold API Tokens into Profile page

- Nav bar already showed the logged-in user's name linking to /profile
  (cl-username); just removed the separate "Profile" and "API Tokens"
  nav items now that Profile covers both.
- Merge api_tokens.ejs into profile.ejs as a section below the existing
  profile card. /api-tokens 301-redirects to /profile.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-14 23:44:05 -04:00
parent c68fcc9ddb
commit 3f4f98ec4e
4 changed files with 160 additions and 174 deletions
-10
View File
@@ -66,16 +66,6 @@
Groups
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/profile"><i class="fa-solid fa-id-badge"></i>
Profile
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/api-tokens"><i class="fa-solid fa-code"></i>
API Tokens
</a>
</li>
</ul>
<div class="form-inline mt-2 mt-md-0">
<a id="cl-username" class="navbar-text text-light me-3" href="/profile" style="display: none;">