Show offline participants on public scoreboard + filter
Some checks failed
CI / scan_ruby (push) Failing after 15s
CI / scan_js (push) Successful in 13s
CI / lint (push) Successful in 14s
CI / test (push) Successful in 42s

This commit is contained in:
sto
2025-11-06 10:40:47 +01:00
parent 5348574ea4
commit cd032e3456
6 changed files with 58 additions and 21 deletions

View File

@@ -16,10 +16,10 @@ css:
=> "#{puzzle.name} -"
= "#{puzzle.brand} #{puzzle.pieces}p"
= render "category_selector"
= render "selectors"
.row
.col-6.d-flex.flex-column style="height: calc(100vh - 180px)"
.mt-3.col-6.d-flex.flex-column style="height: calc(100vh - 250px)"
.d-flex.flex-column style="overflow-y: auto"
table.table.table-striped.table-hover
thead
@@ -38,6 +38,9 @@ css:
tr scope="row"
td
= index + 1
- if contestant.offline.present?
= @space
| (hors-ligne)
td
= contestant.name
- if @contest.puzzles.size > 1