feat: update UI title, restore guide functionality, and simplify server list view
This commit is contained in:
1 parent
e5b4eb8295
commit
bb1cc36d01
9 files changed
+84
-50
No files matched your search
+2
-2
@@ -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>`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user