Hi Pedro Pablo,
Thanks for your contribution! I'll see what the best way to merge it be. One thing that I'm considering is that if you fix the HTML, one would still be needing to edit CSS. So would it add much value in the main branch on its own I'm wondering?
Cheers, Thijs
On Sun, January 24, 2016 17:28, PEDRO PABLO GOMEZ MARTIN wrote:
I my... I've sent the old (and wrong) version. Sorry for that.
On Sun, Jan 24, 2016 at 5:16 PM, PEDRO PABLO GOMEZ MARTIN <pedrop@fdi.ucm.es
wrote:
This is my tiny contribution for this hackathon :-)
By coincidence, tomorrow we will have a local contests in my University in Madrid and we will use DOMjudge. We have three different problems categories with different level of difficulty, because our contestants have different programming background. We want those categories to be visible in the scoreboard.
I've changed libwww/scoreboard.php so each column belongs to a CSS class specific for the problem Id. After that, style.css can be changed with something like:
.probId-5 { background-color: blue; }
so the column for that problem is shadowed. A better solution would have been to integrate the color into the problem DB, but that would have been too much for me, I'm afraid.
Please find attach a .patch file (I hope it will be correct). Note that I'm using DOMjudge 5.0; I hope it will be valid also for the last version and it is considered useful enough to be added :-)
Congratulation for your software! Pedro Pablo
On Sun, Jan 24, 2016 at 4:51 PM, Thijs Kinkhorst thijs@kinkhorst.com wrote:
On Sat, January 23, 2016 18:21, Marc Furon wrote:
I would also like to see the ability for teams to download any test cases (input and output) that are marked as "sample". I believe that is offered in the online-judge branch, although I have not looked at
it.
Done.
Cheers, Thijs _______________________________________________ DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel