{% extends "_base.html" %} {% from "_macros.html" import icon %} {#- 对照 bf-manager 网页服务器列表的 ServerRow。 -#} {% block style %} .top { margin-bottom: 18px; padding: 18px 22px; background: var(--panel); } .top h1 { margin: 4px 0 0; font-size: 40px; line-height: 1.2; word-break: break-all; } .top .summary { margin-top: 6px; font-size: 19px; color: var(--soft); } .server { display: grid; grid-template-columns: 128px minmax(0, 1fr) 150px; gap: 0 18px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--line); } .server:first-child { border-top: 0; padding-top: 0; } .map { width: 128px; height: 72px; overflow: hidden; background: rgba(255,255,255,.08); } .map img { width: 100%; height: 100%; object-fit: cover; } .sname { font-size: 22px; font-weight: 700; line-height: 1.3; word-break: break-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .sname .icon { color: var(--amber); width: 20px; height: 20px; margin-right: 4px; vertical-align: -2px; } .smeta { margin-top: 6px; font-size: 18px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .smeta .gid { color: var(--muted); } .count { text-align: right; } .count .p { font-family: "Oswald", sans-serif; font-size: 34px; font-weight: 700; line-height: 1.1; } .count .p.full { color: var(--amber); } .count .p small { font-size: 20px; color: var(--muted); font-weight: 400; } .count .q { font-size: 17px; color: var(--soft); margin-top: 2px; min-height: 22px; } .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(--muted); } {% endblock %} {% block body %}