Implement shared scoreboard UI
This commit is contained in:
@@ -46,8 +46,12 @@ html
|
||||
h1.mb-4
|
||||
- if @contest && @contest.id.present?
|
||||
- if active_page("/public") == "active" && @action_path
|
||||
= @contest.name
|
||||
.float-end style="margin-top: -5px;" id="scoreboard-switches"
|
||||
- if active_page("/public/event/") == "active"
|
||||
= @contest.event.name
|
||||
= render "event_nav"
|
||||
- else
|
||||
= @contest.name
|
||||
.float-end style="margin-top: #{active_page("/public/event/") == "active" ? "-18px" : "-5px"};" id="scoreboard-switches"
|
||||
.d-inline-flex.align-items-center
|
||||
.ms-4.form-check.form-switch style="font-size: 16px; font-weight: 300;"
|
||||
input.form-check-input type="checkbox" id="refresh-checkbox"
|
||||
|
||||
Reference in New Issue
Block a user