- services/pve.go: 导入 db 包,DB -> db.DB
- handlers/pve.go: 重写为 Gin 风格(原为标准库 net/http)
- go.mod/go.sum: go mod tidy 更新依赖
- web/dist: 重新构建前端包含 PVEHosts 页面
[金渐层/K2.6-code-preview🐾]
2 lines
931 B
CSS
2 lines
931 B
CSS
.toolbar[data-v-c935d190]{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.page-title[data-v-c935d190]{margin:0;font-size:20px;font-weight:600}.hosts-grid[data-v-c935d190]{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.host-card[data-v-c935d190]{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.host-header[data-v-c935d190]{display:flex;align-items:center;gap:10px;margin-bottom:12px}.host-icon[data-v-c935d190]{font-size:20px;color:var(--el-color-primary)}.host-name[data-v-c935d190]{font-size:16px;font-weight:600}.host-info[data-v-c935d190]{margin-bottom:12px}.info-row[data-v-c935d190]{display:flex;font-size:13px;margin-bottom:4px}.info-row .label[data-v-c935d190]{color:var(--text-secondary);width:50px}.info-row .value[data-v-c935d190]{color:var(--text)}.host-actions[data-v-c935d190]{display:flex;gap:8px}
|