{% extends "webapp/base.html" %} {% from "webapp/_lb_macros.html" import lb_tabs, lb_table, lb_script with context %} {% block title %}{{ t('leaderboard') }} — FIGHTSKILL{% endblock %} {% block content %}

{{ t('leaderboard') | default('LEADERBOARD') }}

{{ t('leaderboard_subtitle') | default('Climb the ranks across all regions.') }}

{% for g in games %} {{ g.icon if g.icon else '' }} {{ g.name }} {% endfor %}
{{ lb_tabs(active='global') }}
{{ lb_table(entries, me_id=user.id, hint=t('lb_hint_global') | default('All-time points from every finished match')) }}
{{ lb_table(weekly_entries, me_id=user.id, hint=t('lb_hint_week') | default('Points earned in the last 7 days')) }}
{{ lb_table(monthly_entries, me_id=user.id, hint=t('lb_hint_month') | default('Points earned in the last 30 days')) }}
🏆 {{ t('lb_rule_win') | default('Win a match: +100 pts') }} 🎯 {{ t('lb_rule_play') | default('Play a match: +20 pts') }} 🕒 {{ t('lb_rule_reset') | default('Weekly & monthly windows reset automatically') }}
{{ lb_script() }} {% endblock %}