fix: align calculator time fields

This commit is contained in:
nyan404 committed 2026-08-25 21:36:55 +03:00
1 parent fa61d11912
commit 8519c97678
3 files changed
+9 -5

No files matched your search

+5 -3
View File
@@ -19,18 +19,20 @@
- повторное нажатие не создаёт дубликат отчёта; - повторное нажатие не создаёт дубликат отчёта;
- пользователь может скопировать подготовленный текст до отправки. - пользователь может скопировать подготовленный текст до отправки.
## 19. В калькуляторе осмотров начало и конец должны быть в одной строке ## 19. В калькуляторе прокачки начало и конец должны быть в одной строке
**Статус:** ожидает исправления. **Статус:** выполнено 25.08.2026.
**Источник:** сообщение пользователя со скриншотом от 25.08.2026. **Источник:** сообщение пользователя со скриншотом от 25.08.2026.
**Контекст:** вкладка «Калькулятор баллов», режим «Осмотры». **Контекст:** вкладка «Калькулятор баллов», режим «Прокачка ЛУ/ЗУ».
**Фактическое поведение:** поля времени «Начало» и «Конец» занимают разные строки в двухколоночной сетке. **Фактическое поведение:** поля времени «Начало» и «Конец» занимают разные строки в двухколоночной сетке.
**Ожидаемое поведение:** поля «Начало» и «Конец» расположены рядом в одной строке при обычной ширине экрана; на узком экране допускается адаптивный перенос без потери доступности. **Ожидаемое поведение:** поля «Начало» и «Конец» расположены рядом в одной строке при обычной ширине экрана; на узком экране допускается адаптивный перенос без потери доступности.
**Исправление:** поля объединены в отдельную двухколоночную группу времени, которая занимает одну строку на обычной ширине и переходит в одну колонку на узком экране.
## 18. Дополнительные котята: неудобный ID и неверная самостоятельность ## 18. Дополнительные котята: неудобный ID и неверная самостоятельность
**Статус:** выполнено 25.08.2026. **Статус:** выполнено 25.08.2026.
+1
View File
@@ -105,6 +105,7 @@
- 2026-08-25: server-memory admin sessions now expire after 12 hours and are capped at 100 active tokens; the browser cookie carries the same maximum age. - 2026-08-25: server-memory admin sessions now expire after 12 hours and are capped at 100 active tokens; the browser cookie carries the same maximum age.
- 2026-08-25: the deploy job waits for `deployment/belki-postgres` to become `Available`, rather than waiting for every Pod with the shared PostgreSQL label. Historical ReplicaSet Pods can remain during cleanup and must not fail a release after the current database replica is ready. - 2026-08-25: the deploy job waits for `deployment/belki-postgres` to become `Available`, rather than waiting for every Pod with the shared PostgreSQL label. Historical ReplicaSet Pods can remain during cleanup and must not fail a release after the current database replica is ready.
- 2026-08-25: coaching reports allow an independence status for every kitten in both ЛУ and ЗУ. Natural input attaches `сам`/`не сам` written after a participant ID to that participant, and web ID fields use numeric-text input instead of spinner controls. - 2026-08-25: coaching reports allow an independence status for every kitten in both ЛУ and ЗУ. Natural input attaches `сам`/`не сам` written after a participant ID to that participant, and web ID fields use numeric-text input instead of spinner controls.
- 2026-08-25: the earned-points calculator groups coaching start and end times in one responsive time-range row.
- 2026-08-25: removed unreferenced root-level legacy BBCode copies `belki.md`, `belki2.md`, and `belkifix.md`; the first two were byte-identical and the third differed only by a closing BBCode tag. They were neither served nor referenced by the calculator, bot, or documentation. - 2026-08-25: removed unreferenced root-level legacy BBCode copies `belki.md`, `belki2.md`, and `belkifix.md`; the first two were byte-identical and the third differed only by a closing BBCode tag. They were neither served nor referenced by the calculator, bot, or documentation.
# Обновление 2026-08-16: несколько котят # Обновление 2026-08-16: несколько котят
+3 -2
View File
@@ -33,8 +33,9 @@
.identity-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .identity-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.extra-kittens { display: grid; gap: 8px; } .extra-kittens { display: grid; gap: 8px; }
.extra-kitten { display: grid; grid-template-columns: 1fr 140px 180px auto; gap: 8px; align-items: end; } .extra-kitten { display: grid; grid-template-columns: 1fr 140px 180px auto; gap: 8px; align-items: end; }
.time-range { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.status-help { margin: -4px 0 0; font-size: .85rem; } .status-help { margin: -4px 0 0; font-size: .85rem; }
@media (max-width: 700px) { .extra-kitten { grid-template-columns: 1fr; } } @media (max-width: 700px) { .extra-kitten, .time-range { grid-template-columns: 1fr; } }
dialog { max-width: min(520px, calc(100% - 32px)); background: var(--paper); color: var(--ink); border: 1px solid #5a524b; border-radius: 10px; padding: 24px; box-shadow:0 24px 80px #211b1855; } dialog { max-width: min(520px, calc(100% - 32px)); background: var(--paper); color: var(--ink); border: 1px solid #5a524b; border-radius: 10px; padding: 24px; box-shadow:0 24px 80px #211b1855; }
dialog::backdrop { background: #211b1866; } dialog::backdrop { background: #211b1866; }
.result { margin-top: 20px; } .result { margin-top: 20px; }
@@ -140,7 +141,7 @@
<label>Занятие<select name="activity" id="pointsActivity"><option value="coaching">Прокачка ЛУ/ЗУ</option><option value="training">Тренировка</option><option value="inspection">Осмотр</option></select></label> <label>Занятие<select name="activity" id="pointsActivity"><option value="coaching">Прокачка ЛУ/ЗУ</option><option value="training">Тренировка</option><option value="inspection">Осмотр</option></select></label>
<div id="pointsCoaching" class="wide grid"> <div id="pointsCoaching" class="wide grid">
<label>Навык<select name="skill"><option>ЛУ</option><option>ЗУ</option></select></label> <label>Навык<select name="skill"><option>ЛУ</option><option>ЗУ</option></select></label>
<label>Начало<input name="start" type="time" value="11:00"></label><label>Конец<input name="end" type="time" value="11:20"></label> <div class="time-range"><label>Начало<input name="start" type="time" value="11:00"></label><label>Конец<input name="end" type="time" value="11:20"></label></div>
<label>Бельчонков<select name="kitten_count"><option value="1">1</option><option value="2">2</option><option value="3">3</option></select></label> <label>Бельчонков<select name="kitten_count"><option value="1">1</option><option value="2">2</option><option value="3">3</option></select></label>
<label>Бельчонок 1<select name="kitten_status"><option value="самостоятельно">самостоятельный</option><option value="несамостоятельно">несамостоятельный</option></select></label> <label>Бельчонок 1<select name="kitten_status"><option value="самостоятельно">самостоятельный</option><option value="несамостоятельно">несамостоятельный</option></select></label>
<label class="points-extra hidden">Бельчонок 2<select name="kitten_status"><option value="самостоятельно">самостоятельный</option><option value="несамостоятельно">несамостоятельный</option></select></label> <label class="points-extra hidden">Бельчонок 2<select name="kitten_status"><option value="самостоятельно">самостоятельный</option><option value="несамостоятельно">несамостоятельный</option></select></label>