diff --git a/run.py b/run.py index 515b7cb..3492425 100644 --- a/run.py +++ b/run.py @@ -37,9 +37,9 @@ with open('steam.json') as file: def root(): entries = [] - data_lst = list(data_tpl) + data_lst = sorting.nest_qsort(data_tpl, 16, True) - for x in range(0, 99): + for x in range(0, 15): entries.append(data_lst[x]) return render_template('index.html', first_entry=data_tpl[0], sizedb=len(data_tpl), entries=entries) diff --git a/templates/fulltable.html b/templates/fulltable.html index 34489f3..52e430c 100644 --- a/templates/fulltable.html +++ b/templates/fulltable.html @@ -25,7 +25,7 @@ {{ row[1] }} {{ row[16] }} gebruikers {{ row[2] }} - {{ row[17] }} ,- + € {{ row[17] }} ,- {% endfor %} diff --git a/templates/index.html b/templates/index.html index 0b9d03c..19d398d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -31,15 +31,15 @@

-

Populairste games

+

Meest gekochte games

- - - - - + + + + + @@ -49,7 +49,7 @@ - + {% endfor %}
App IDNameUsersRelease datePriceApp IDNameUsersRelease datePrice
{{ row[1] }} {{ row[16] }} {{ row[2] }}{{ row[17] }} ,-€ {{ row[17] }} ,-