diff --git a/src/frontend/static/app.js b/src/frontend/static/app.js index 6b4420c..a7f7038 100644 --- a/src/frontend/static/app.js +++ b/src/frontend/static/app.js @@ -678,12 +678,6 @@ function updateRoomsSummary() { notes.push(`скрыто ${unknown} ${pluralRu(unknown, "аудитория", "аудитории", "аудиторий")}: в таблице нет данных о вместимости`); } } - if (roomsState.mode !== "free") { - const restricted = all.filter((r) => !roomAvailableOn(r)).length; - if (restricted) { - notes.push(`с ограничением по дням: ${restricted}`); - } - } if (hint) { hint.textContent = notes .map((text) => text.charAt(0).toUpperCase() + text.slice(1)) @@ -731,7 +725,7 @@ function roomsCardHead(room) { ${escapeHTML(room.room)} ${attrs ? `
${escapeHTML(attrs)}
` : ""} ${info ? `
${escapeHTML(info)}
` : ""} - ${room.available_days ? `
в таблице: занятия только ${escapeHTML(daysPhrase(room.available_days))}
` : ""} + ${room.available_days ? `
занятия только ${escapeHTML(daysPhrase(room.available_days))}
` : ""} `; return head; } diff --git a/src/frontend/static/style.css b/src/frontend/static/style.css index c6e932b..47489a6 100644 --- a/src/frontend/static/style.css +++ b/src/frontend/static/style.css @@ -753,7 +753,9 @@ main { .room-card-free { padding-bottom: 12px; } .room-attrs { font-size: 13px; font-weight: 600; color: var(--text); margin-top: 3px; } .room-note { font-size: 12px; color: var(--muted); margin-top: 2px; } -.room-note.bad { color: var(--accent-red-bright); font-weight: 600; } +/* пометка про дни доступности — заметная, жёлтым */ +.room-note.days { color: #b8860b; font-weight: 600; } +[data-theme="dark"] .room-note.days { color: #e8b339; } .room-free-note { font-size: 13px; color: var(--muted); margin-top: 10px; }