2020-07-21 21:15:19 +00:00
{% extends 'tablepage.html' %}
2020-06-21 13:32:31 +00:00
{% block head %}
2020-07-21 21:15:19 +00:00
{{ super() }}
2023-03-08 21:39:15 +00:00
< title > ALttP Multiworld Tracker< / title >
2021-05-12 22:41:49 +00:00
< link rel = "stylesheet" type = "text/css" href = "{{ url_for('static', filename=" styles / tracker . css " ) } } " / >
< script type = "application/ecmascript" src = "{{ url_for('static', filename=" assets / jquery . scrollsync . js " ) } } " > < / script >
2023-03-08 21:39:15 +00:00
< script type = "application/ecmascript" src = "{{ url_for('static', filename=" assets / lttpMultiTracker . js " ) } } " > < / script >
< script type = "application/ecmascript" src = "{{ url_for('static', filename=" assets / multiTrackerCommon . js " ) } } " > < / script >
2020-06-21 13:32:31 +00:00
{% endblock %}
2020-12-01 03:29:48 +00:00
2020-06-21 13:32:31 +00:00
{% block body %}
2020-12-03 06:55:06 +00:00
{% include 'header/dirtHeader.html' %}
2023-03-08 21:39:15 +00:00
{% include 'multiTrackerNavigation.html' %}
2020-07-27 17:30:31 +00:00
< div id = "tracker-wrapper" data-tracker = "{{ room.tracker|suuid }}" >
2020-07-25 20:40:24 +00:00
< div id = "tracker-header-bar" >
2020-07-27 17:30:31 +00:00
< input placeholder = "Search" id = "search" / >
2020-08-02 23:10:42 +00:00
< 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 >
2021-12-03 19:44:26 +00:00
< 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 >
2020-07-25 20:40:24 +00:00
< / div >
2020-07-26 02:07:35 +00:00
< div id = "tables-container" >
{% for team, players in inventory.items() %}
< div class = "table-wrapper" >
2022-12-05 02:39:07 +00:00
< table id = "inventory-table" class = "table unique-item-table" >
2020-07-26 02:07:35 +00:00
< thead >
< tr >
< th > #< / th >
< th > Name< / th >
{%- for name in tracking_names -%}
{%- if name in icons -%}
< th class = "center-column" >
< img class = "alttp-sprite" src = "{{ icons[name] }}" alt = "{{ name|e }}" >
< / th >
2021-02-24 00:34:35 +00:00
{%- else -%}
< th class = "center-column" > {{ name|e }}< / th >
{%- endif -%}
{%- endfor -%}
2020-07-23 07:21:26 +00:00
< / tr >
2020-07-26 02:07:35 +00:00
< / thead >
< tbody >
{%- for player, items in players.items() -%}
< tr >
2022-12-11 23:30:43 +00:00
< td > < a href = "{{ url_for(" get_player_tracker " , tracker = room.tracker,
2021-03-06 05:09:12 +00:00
tracked_team=team, tracked_player=player)}}">{{ loop.index }}< / a > < / td >
2020-07-26 02:07:35 +00:00
{%- if (team, loop.index) in video -%}
{%- if video[(team, loop.index)][0] == "Twitch" -%}
< td >
< a target = "_blank" href = "https://www.twitch.tv/{{ video[(team, loop.index)][1] }}" >
{{ player_names[(team, loop.index)] }}
▶️< / a > < / td >
{%- elif video[(team, loop.index)][0] == "Youtube" -%}
< td >
< a target = "_blank" href = "youtube.com/c/{{ video[(team, loop.index)][1] }}/live" >
{{ player_names[(team, loop.index)] }}
▶️< / a > < / td >
{%- endif -%}
{%- else -%}
< td > {{ player_names[(team, loop.index)] }}< / td >
{%- endif -%}
{%- for id in tracking_ids -%}
{%- if items[id] -%}
< td class = "center-column item-acquired" >
{% if id in multi_items %}{{ items[id] }}{% else %}✔️{% endif %}< / td >
{%- else -%}
< td > < / td >
{%- endif -%}
{% endfor %}
< / tr >
2020-07-25 20:53:46 +00:00
{%- endfor -%}
2020-07-26 02:07:35 +00:00
< / tbody >
< / table >
< / div >
{% endfor %}
{% for team, players in checks_done.items() %}
< div class = "table-wrapper" >
2022-12-05 02:39:07 +00:00
< table id = "checks-table" class = "table non-unique-item-table" >
2020-07-26 02:07:35 +00:00
< thead >
2020-07-23 07:21:26 +00:00
< tr >
2020-07-26 02:07:35 +00:00
< th rowspan = "2" > #< / th >
< th rowspan = "2" > Name< / th >
{% for area in ordered_areas %}
{% set colspan = 1 %}
{% if area in key_locations %}
{% set colspan = colspan + 1 %}
{% endif %}
{% if area in big_key_locations %}
{% set colspan = colspan + 1 %}
{% endif %}
{% if area in icons %}
< th colspan = "{{ colspan }}" class = "center-column upper-row" >
< img class = "alttp-sprite" src = "{{ icons[area] }}" alt = "{{ area }}" > < / th >
2020-07-25 20:53:46 +00:00
{%- else -%}
2020-07-26 02:07:35 +00:00
< th colspan = "{{ colspan }}" class = "center-column" > {{ area }}< / th >
2020-07-25 20:53:46 +00:00
{%- endif -%}
2020-07-26 02:07:35 +00:00
{%- endfor -%}
2023-02-04 05:04:00 +00:00
< th rowspan = "2" class = "center-column" > % < / th >
2021-06-25 19:05:44 +00:00
< th rowspan = "2" class = "center-column hours" > Last< br > Activity< / th >
2020-07-26 02:07:35 +00:00
< / tr >
< tr >
{% for area in ordered_areas %}
2021-06-25 19:15:54 +00:00
< th class = "center-column lower-row fraction" >
2020-07-26 02:07:35 +00:00
< img class = "alttp-sprite" src = "{{ icons[" Chest " ] } } " alt = "Checks" >
< / th >
{% if area in key_locations %}
2021-06-25 19:15:54 +00:00
< th class = "center-column lower-row number" >
2020-07-26 02:07:35 +00:00
< img class = "alttp-sprite" src = "{{ icons[" Small Key " ] } } " alt = "Small Key" >
< / th >
{% endif %}
{% if area in big_key_locations %}
2021-06-25 19:15:54 +00:00
< th class = "center-column lower-row number" >
2020-07-26 02:07:35 +00:00
< img class = "alttp-sprite" src = "{{ icons[" Big Key " ] } } " alt = "Big Key" >
< / th >
2020-07-25 20:53:46 +00:00
{%- endif -%}
{%- endfor -%}
2020-07-23 07:21:26 +00:00
< / tr >
2020-07-26 02:07:35 +00:00
< / thead >
< tbody >
{%- for player, checks in players.items() -%}
< tr >
2022-12-11 23:30:43 +00:00
< td > < a href = "{{ url_for(" get_player_tracker " , tracker = room.tracker,
2021-03-06 05:09:12 +00:00
tracked_team=team, tracked_player=player)}}">{{ loop.index }}< / a > < / td >
2020-07-26 02:07:35 +00:00
< td > {{ player_names[(team, loop.index)]|e }}< / td >
{%- for area in ordered_areas -%}
{%- set checks_done = checks[area] -%}
2020-10-29 22:18:59 +00:00
{%- set checks_total = checks_in_area[player][area] -%}
2020-07-26 02:07:35 +00:00
{%- if checks_done == checks_total -%}
< td class = "item-acquired center-column" >
{{ checks_done }}/{{ checks_total }}< / td >
{%- else -%}
< td class = "center-column" > {{ checks_done }}/{{ checks_total }}< / td >
{%- endif -%}
{%- if area in key_locations -%}
< td class = "center-column" > {{ inventory[team][player][small_key_ids[area]] }}< / td >
{%- endif -%}
{%- if area in big_key_locations -%}
< td class = "center-column" > {% if inventory[team][player][big_key_ids[area]] %}✔️{% endif %}< / td >
{%- endif -%}
{%- endfor -%}
2023-02-04 05:04:00 +00:00
< td class = "center-column" > {{ percent_total_checks_done[team][player] }}< / td >
2020-07-26 02:07:35 +00:00
{%- if activity_timers[(team, player)] -%}
2021-06-25 19:05:44 +00:00
< td class = "center-column" > {{ activity_timers[(team, player)].total_seconds() }}< / td >
2020-07-26 02:07:35 +00:00
{%- else -%}
< td class = "center-column" > None< / td >
{%- endif -%}
< / tr >
{%- endfor -%}
< / tbody >
< / table >
< / div >
{% endfor %}
2020-07-27 17:30:31 +00:00
{% for team, hints in hints.items() %}
2020-07-29 19:35:31 +00:00
< div class = "table-wrapper" >
2022-12-05 02:39:07 +00:00
< table id = "hints-table" class = "table non-unique-item-table" data-order = '[[5, "asc"], [0, "asc"]]' >
2020-07-29 19:35:31 +00:00
< 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 -%}
2020-07-27 17:30:31 +00:00
< tr >
2020-07-29 19:35:31 +00:00
< 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 >
2020-07-27 17:30:31 +00:00
< / tr >
2020-07-29 19:35:31 +00:00
{%- endfor -%}
< / tbody >
< / table >
< / div >
2020-07-27 17:30:31 +00:00
{% endfor %}
2020-07-26 02:07:35 +00:00
< / div >
2020-06-30 05:32:05 +00:00
< / div >
2020-07-19 03:01:35 +00:00
{% endblock %}