{% extends "_base.html" %} {% from "_macros.html" import icon %} {#- 对照 bf-manager 网页服务器列表的 ServerRow。 -#} {% block style %} .top { margin-bottom: 20px; } .top h1 { margin: 4px 0 0; font-size: 34px; line-height: 1.2; word-break: break-all; } .top .summary { margin-top: 6px; font-size: 13px; color: var(--w55); } .server { display: grid; grid-template-columns: 112px minmax(0, 1fr) 110px; gap: 0 16px; align-items: center; padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.06); } .server:last-child { border-bottom: 0; } .map { width: 112px; height: 63px; overflow: hidden; background: rgba(255,255,255,.05); } .map img { width: 100%; height: 100%; object-fit: cover; } .sname { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sname .icon { color: var(--amber); } .smeta { margin-top: 4px; font-size: 12px; color: var(--w55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .smeta .d { color: var(--w80); } .count { text-align: right; } .count .p { display: inline-flex; align-items: center; gap: 6px; font-family: "Oswald", sans-serif; font-size: 20px; font-weight: 700; } .count .p .icon { color: var(--w40); } .count .p.full { color: var(--amber); } .count .p small { font-size: 14px; color: var(--w45); font-weight: 400; } .count .q { font-size: 12px; color: var(--w45); margin-top: 2px; } .count .bar { margin-top: 6px; } .count .bar i { background: var(--green); } .count .bar i.full { background: var(--amber); } .empty { padding: 30px 0; text-align: center; color: var(--w40); } {% endblock %} {% block body %}