diff --git a/alkatorapi/views.py b/alkatorapi/views.py index c0fc161..7c0aa74 100644 --- a/alkatorapi/views.py +++ b/alkatorapi/views.py @@ -166,7 +166,7 @@ def payment_state(request): def results(request): results = [] n = 1 - for user in User.objects.filter(alkator_class=1).order_by('duration'): + for user in User.objects.filter(alkator_class=2).order_by('duration'): if user.alkator_category == 1: order = f'{n}.' n += 1 diff --git a/frontend/public/skore.jpg b/frontend/public/skore.jpg deleted file mode 100644 index 6789b33..0000000 Binary files a/frontend/public/skore.jpg and /dev/null differ diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 1b0cd37..255450e 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -262,7 +262,26 @@ class Main extends Component {

Výsledky 1. ročníku

- + {this.state.results && + + + + + + + + + {this.state.results.map(user => + + + + + + + )} + +
UmístěníČasKategorieStartovní číslo
{user.order}{user.duration}{user.alkator_category}{user.starting_number}
+ } {/* */}