feat: super admin badge — earliest admin shows 超级管理员 in user list

- /api/users: mark is_super for the earliest-registered admin (matches
  the auto-promotion migration semantics)
- AdminUsers: render 超级管理员 badge for is_super, 管理员 otherwise
- i18n keys admin.user.roleSuper (zh/en)
- Mobile settings nav: active tab gets top-left/top-right rounded
  corners only (desktop unchanged)
This commit is contained in:
lezi-fun committed 2026-08-11 20:40:02 +08:00
1 parent f0867935ac
commit d757bde780
5 files changed
+17 -4

No files matched your search

+3
View File
@@ -2855,6 +2855,9 @@ a.btn-secondary {
.settings-nav-item.active {
border-left-color: transparent;
border-bottom-color: var(--primary);
/* 手机端选中 tab:仅左上/右上圆角(桌面端保持直角不变) */
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.settings-content {