DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
719 stars 254 forks source link

Add rank to first to solve and region winners in results HTML. #2506

Closed nickygerritsen closed 5 months ago

nickygerritsen commented 5 months ago

Fixes #2480.

Note that the rank can be the same for two teams (if they are outside of the medals) or even be - if they are in honorable mentions. See attached screenshot for the WF 47 output.

image
meisterT commented 5 months ago

Did you intentionally add the rank once in the end and once in the middle?

nickygerritsen commented 5 months ago

I did, it didn't look great adding it after the team for region or before the team for FTS. But if you think it does, I can change it.

vmcj commented 5 months ago

I did, it didn't look great adding it after the team for region or before the team for FTS. But if you think it does, I can change it.

Can you make it: Region winners: Region > Team > Rank Problem > Team > Rank > Time

Where the Team will shift a bit to the left as a column has moved? Or is this what you didn't look nice?

nickygerritsen commented 5 months ago

It will look like this, which is good enough I think:

image

I just pushed it.

nickygerritsen commented 5 months ago

It will look like this, which is good enough I think: image I just pushed it.

No easy way to align the rank for both (and the same for team)?

Otherwise fine by me.

Nope and the tables where not aligned before either