-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make certain parts of the scoreboard sticky, relevant when having many problems/very wide scoreboard #2216
base: main
Are you sure you want to change the base?
Make certain parts of the scoreboard sticky, relevant when having many problems/very wide scoreboard #2216
Changes from all commits
b12ef66
24c5110
b717f4c
39a0d78
b8f1174
8d962a9
aea2c6d
d280366
1c5a7cd
cb0e918
2340f1e
d53d218
5bccf82
d2a67ae
2705f81
466e59c
b79f5cb
515789d
5ba693e
56185ca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,151 @@ | ||
- id: hello | ||
label: A | ||
- id: hello0- | ||
label: A0- | ||
ordinal: 1 | ||
rgb: '#9486EA' | ||
time_limit: 5 | ||
- id: fltcmp | ||
label: B | ||
- id: fltcmp0- | ||
label: B0- | ||
ordinal: 2 | ||
rgb: '#E93603' | ||
time_limit: 5 | ||
- id: boolfind | ||
label: C | ||
- id: boolfind0- | ||
label: C0- | ||
ordinal: 3 | ||
rgb: '#9B630C' | ||
time_limit: 5 | ||
- id: hello1- | ||
label: A1- | ||
ordinal: 1 | ||
rgb: '#9486EA' | ||
time_limit: 5 | ||
- id: fltcmp1- | ||
label: B1- | ||
ordinal: 2 | ||
rgb: '#E93603' | ||
time_limit: 5 | ||
- id: boolfind1- | ||
label: C1- | ||
ordinal: 3 | ||
rgb: '#9B630C' | ||
time_limit: 5 | ||
- id: hello2- | ||
label: A2- | ||
ordinal: 1 | ||
rgb: '#9486EA' | ||
time_limit: 5 | ||
- id: fltcmp2- | ||
label: B2- | ||
ordinal: 2 | ||
rgb: '#E93603' | ||
time_limit: 5 | ||
- id: boolfind2- | ||
label: C2- | ||
ordinal: 3 | ||
rgb: '#9B630C' | ||
time_limit: 5 | ||
- id: hello3- | ||
label: A3- | ||
ordinal: 1 | ||
rgb: '#9486EA' | ||
time_limit: 5 | ||
- id: fltcmp3- | ||
label: B3- | ||
ordinal: 2 | ||
rgb: '#E93603' | ||
time_limit: 5 | ||
- id: boolfind3- | ||
label: C3- | ||
ordinal: 3 | ||
rgb: '#9B630C' | ||
time_limit: 5 | ||
- id: hello4- | ||
label: A4- | ||
ordinal: 1 | ||
rgb: '#9486EA' | ||
time_limit: 5 | ||
- id: fltcmp4- | ||
label: B4- | ||
ordinal: 2 | ||
rgb: '#E93603' | ||
time_limit: 5 | ||
- id: boolfind4- | ||
label: C4- | ||
ordinal: 3 | ||
rgb: '#9B630C' | ||
time_limit: 5 | ||
- id: hello5- | ||
label: A5- | ||
ordinal: 1 | ||
rgb: '#9486EA' | ||
time_limit: 5 | ||
- id: fltcmp5- | ||
label: B5- | ||
ordinal: 2 | ||
rgb: '#E93603' | ||
time_limit: 5 | ||
- id: boolfind5- | ||
label: C5- | ||
ordinal: 3 | ||
rgb: '#9B630C' | ||
time_limit: 5 | ||
- id: hello6- | ||
label: A6- | ||
ordinal: 1 | ||
rgb: '#9486EA' | ||
time_limit: 5 | ||
- id: fltcmp6- | ||
label: B6- | ||
ordinal: 2 | ||
rgb: '#E93603' | ||
time_limit: 5 | ||
- id: boolfind6- | ||
label: C6- | ||
ordinal: 3 | ||
rgb: '#9B630C' | ||
time_limit: 5 | ||
- id: hello7- | ||
label: A7- | ||
ordinal: 1 | ||
rgb: '#9486EA' | ||
time_limit: 5 | ||
- id: fltcmp7- | ||
label: B7- | ||
ordinal: 2 | ||
rgb: '#E93603' | ||
time_limit: 5 | ||
- id: boolfind7- | ||
label: C7- | ||
ordinal: 3 | ||
rgb: '#9B630C' | ||
time_limit: 5 | ||
- id: hello8- | ||
label: A8- | ||
ordinal: 1 | ||
rgb: '#9486EA' | ||
time_limit: 5 | ||
- id: fltcmp8- | ||
label: B8- | ||
ordinal: 2 | ||
rgb: '#E93603' | ||
time_limit: 5 | ||
- id: boolfind8- | ||
label: C8- | ||
ordinal: 3 | ||
rgb: '#9B630C' | ||
time_limit: 5 | ||
- id: hello9- | ||
label: A9- | ||
ordinal: 1 | ||
rgb: '#9486EA' | ||
time_limit: 5 | ||
- id: fltcmp9- | ||
label: B9- | ||
ordinal: 2 | ||
rgb: '#E93603' | ||
time_limit: 5 | ||
- id: boolfind9- | ||
label: C9- | ||
ordinal: 3 | ||
rgb: '#9B630C' | ||
time_limit: 5 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,10 @@ if [ "$TEST" = "w3cval" ]; then | |
rm -f localhost/domjudge/css/select2-bootstrap*.css* | ||
rm -f localhost/domjudge/css/dataTables*.css* | ||
rm -f localhost/domjudge/jury/config/check/phpinfo* | ||
# We need any value for bs-gutter-x to calculate with in CSS | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't understand what is happening here. Do you remove this from the CSS file to avoid it being flagged as non-standard? Is there a risk that this doesn't work in "all" browsers then? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given that there are at this point only 2 browsers and it works there I think we're fine, also bootstrap already uses CSS variables so we would have problems somewhere else also. The main problem is that W3C has the CSS standard where this is a very strong candidate (not sure how this works for them to make this final) but the validator doesn't detect this properly. There are a lot of threads about this that this is more an issue with the W3C validator than with support for this feature. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did you test this also in the mobile view? |
||
for f in $(find ./ -name "style_domjudge.css*"); do | ||
sed -i 's/var(--bs-gutter-x)/1em/g' $f | ||
done | ||
section_end upstream_problems | ||
|
||
section_start_collap test_suite "Install testsuite" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
{% if contest and contest.freezeData.started and not contest.freezeData.stopped %} | ||
{% set percentage = contest.freezeData.progress %} | ||
<div class="progress" style="margin-top:{{ margin|default(0) }}px; height: 10px;" data-progress-bar> | ||
<div class="progress-bar" role="progressbar" style="width: {{ percentage }}%;" | ||
aria-valuenow="{{ percentage }}" aria-valuemin="0" aria-valuemax="100"></div> | ||
<div style="position: fixed; width: 100vw; z-index: 1050; height: 20px; margin-top: -19px; background-color: white;"> | ||
<div class="progress" style="margin-top:9px; height: 10px;" data-progress-bar> | ||
<div class="progress-bar" role="progressbar" style="width: {{ percentage }}%;" | ||
aria-valuenow="{{ percentage }}" aria-valuemin="0" aria-valuemax="100"></div> | ||
</div> | ||
</div> | ||
{% endif %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to revert this file