{% extends "base.html" %} {% block title %}Scoreboard - {% if mode == 'software' %}TOP {{amount}} used software{% elif mode == 'command' %}TOP {{amount}} scripts{% elif mode == 'error_code' %}TOP {{amount}} error codes{% elif mode == 'reference' %}TOP {{amount}} referencing instances{% elif mode == 'blocked' %}TOP {{amount}} deferated instances{% elif mode == 'blocker' %}TOP {{amount}} deferating instances{% endif %}{% endblock %} {% block header %} {% if mode == 'blocker' %}
№ | {% if mode == 'software' %}Software{% elif mode == 'error_code' %}Error code{% else %}Instance{% endif %} | {% if mode == 'reference' %}References{% elif mode in('software', 'error_code') %}Total{% else %}Blocks{% endif %} | {% for entry in scores %}
---|---|---|
{{loop.index}} | {% if mode in ('software', 'command', 'error_code') %} {{entry['domain']}} {% elif entry['domain'] == None %} - {% else %} {{entry['domain']}} ↗ {% endif %} | {{entry['score']}} |