2023-03-08 22:39:15 +01:00
{% extends 'tablepage.html' %}
{% block head %}
{{ super() }}
< title > Multiworld Tracker< / title >
< link rel = "stylesheet" type = "text/css" href = "{{ url_for('static', filename=" styles / tracker . css " ) } } " / >
2023-03-09 19:24:38 +01:00
< script type = "application/ecmascript" src = "{{ url_for('static', filename=" assets / trackerCommon . js " ) } } " > < / script >
2023-03-08 22:39:15 +01:00
{% endblock %}
{% block body %}
{% include 'header/dirtHeader.html' %}
{% include 'multiTrackerNavigation.html' %}
< div id = "tracker-wrapper" data-tracker = "{{ room.tracker|suuid }}" >
< div id = "tracker-header-bar" >
< input placeholder = "Search" id = "search" / >
< span { % if not video % } hidden { % endif % } id = "multi-stream-link" >
< a target = "_blank" href = "https://multistream.me/
{%- for platform, link in video.values()|unique(False, 1)-%}
{%- if platform == "Twitch" -%}t{%- else -%}yt{%- endif -%}:{{- link -}}/
{%- endfor -%}">
Multistream
< / a >
< / span >
< span class = "info" > Clicking on a slot's number will bring up a slot-specific auto-tracker. This tracker will automatically update itself periodically.< / span >
< / div >
< div id = "tables-container" >
{% for team, players in checks_done.items() %}
< div class = "table-wrapper" >
< table id = "checks-table" class = "table non-unique-item-table" >
< thead >
< tr >
< th > #< / th >
< th > Name< / th >
< th class = "center-column" > Checks< / th >
< th class = "center-column" > % < / th >
< th class = "center-column hours" > Last< br > Activity< / th >
< / tr >
< / thead >
< tbody >
{%- for player, checks in players.items() -%}
< tr >
< td > < a href = "{{ url_for(" get_player_tracker " , tracker = room.tracker,
tracked_team=team, tracked_player=player)}}">{{ loop.index }}< / a > < / td >
< td > {{ player_names[(team, loop.index)]|e }}< / td >
< td class = "center-column" > {{ checks["Total"] }}/{{ checks_in_area[player]["Total"] }}< / td >
< td class = "center-column" > {{ percent_total_checks_done[team][player] }}< / td >
{%- if activity_timers[(team, player)] -%}
< td class = "center-column" > {{ activity_timers[(team, player)].total_seconds() }}< / td >
{%- else -%}
< td class = "center-column" > None< / td >
{%- endif -%}
< / tr >
{%- endfor -%}
< / tbody >
< / table >
< / div >
{% endfor %}
{% for team, hints in hints.items() %}
< div class = "table-wrapper" >
< table id = "hints-table" class = "table non-unique-item-table" data-order = '[[5, "asc"], [0, "asc"]]' >
< thead >
< tr >
< th > Finder< / th >
< th > Receiver< / th >
< th > Item< / th >
< th > Location< / th >
< th > Entrance< / th >
< th > Found< / th >
< / tr >
< / thead >
< tbody >
{%- for hint in hints -%}
< tr >
< td > {{ long_player_names[team, hint.finding_player] }}< / td >
< td > {{ long_player_names[team, hint.receiving_player] }}< / td >
< td > {{ hint.item|item_name }}< / td >
< td > {{ hint.location|location_name }}< / td >
< td > {% if hint.entrance %}{{ hint.entrance }}{% else %}Vanilla{% endif %}< / td >
< td > {% if hint.found %}✔{% endif %}< / td >
< / tr >
{%- endfor -%}
< / tbody >
< / table >
< / div >
{% endfor %}
< / div >
< / div >
{% endblock %}