feat: update UI title, restore guide functionality, and simplify server list view

This commit is contained in:
2026-04-23 14:48:06 +09:00
parent e5b4eb8295
commit bb1cc36d01
9 changed files with 84 additions and 50 deletions

View File

@@ -15,8 +15,8 @@ export function formatPrice(value: string | number): string {
/**
* HTML 배지 생성 (정/부 담당자, 원격도구 등)
*/
export function createBadge(text: string, bgColor: string): string {
return `<span style="background:${bgColor}; color:white; font-size:10px; padding:1px 4px; border-radius:3px; font-weight:700; margin-right:4px; display:inline-block; line-height:1.2;">${text}</span>`;
export function createBadge(text: string, type: 'primary' | 'muted' | 'success' | 'danger' = 'primary'): string {
return `<span class="badge badge-${type}">${text}</span>`;
}
/**