diff --git a/frx_challenges/web/templates/results.html b/frx_challenges/web/templates/results.html index b419eb7..cda7760 100644 --- a/frx_challenges/web/templates/results.html +++ b/frx_challenges/web/templates/results.html @@ -26,25 +26,23 @@

Leaderboard

- +
- - {% for md in metadata_display %}{% endfor %} + {% for dc in evaluation_display_config %}{% endfor %} {% for result in results %} - - {% for m in result.metadata %}{% endfor %} + {% for r in result.best_version.latest_evaluation.ordered_results %}
IDDate created Submission Name{{ md }}Date created{{ dc.display_name }}
{{ result.submission.id }}{{ result.submission.created_at|date:"c" }} {{ result.submission.name }} {{ m }}{{ result.submission.created_at|date:"c" }} {% if r %}{{ r }}{% endif %} @@ -64,11 +62,11 @@

Leaderboard

const resultsTable = new DataTable("#results", { order: [ // Apply reverse chronological ordering by default - [1, "desc"] + [2, "desc"] ], columnDefs: [ { - targets: 1, + targets: 2, render: (data) => { return dayjs(data).fromNow(); } diff --git a/frx_challenges/web/templates/submission/list.html b/frx_challenges/web/templates/submission/list.html index 54ea74b..afc6b4b 100644 --- a/frx_challenges/web/templates/submission/list.html +++ b/frx_challenges/web/templates/submission/list.html @@ -30,7 +30,7 @@

My Submissions

- +
Name