tunic-tracker-redux/tunictracker/tracker/templates/tracker/index.html

82 lines
4.7 KiB
HTML

{% extends "index.html" %}
{% load static %}
{% block content %}
<div class="container monospace">
<div class="m-4 ring-4 rounded-md text-[#eee] bg-bluelight-translucent-dark ring-bluelight-dark">
{% if debug != '' %}
<div class="p-4 flex flex-col space-y-4">
<div class="flex pt-4 text-2xl mx-2">
<span class="relative inline-block align-middle h-8 w-8">
<img src="{% static 'tracker/images/neofox_flag_trans_256.png' %}"
alt="A trans pride fox emoji."
width=""
height="" />
</span>
&nbsp;Tunic Transition Tracker
</div>
<hr class="border-2 border-bluelight-translucent-dark rounded-md" />
{% include "tracker/status/index.html" %}
<div class="p-4 flex flex-col max-w-full space-y-4 md:space-y-4 text-md rounded-md ring-4 bg-bluelight-translucent ring-bluelight-dark"
id="overview">
<div class="text-lg">Overview</div>
<div class="flex flex-col md:flex-row md:space-x-4 space-y-2 md:space-y-0">
<div class="flex basis-1/2 overview-checks">Checks: {{ totals.Checks.Undiscovered }}/{{ totals.Checks.Total }}</div>
<div class="flex basis-1/2 overview-entrances">
Entrances: {{ totals.Entrances.Undiscovered }}/{{ totals.Entrances.Total }}
</div>
</div>
<hr class="border-2 border-bluelight-translucent-dark rounded-md" />
<details class="group flex flex-col rounded-md ring-4 bg-bluelight-translucent ring-bluelight-dark">
<summary class="justify-start p-2 text-lg">Summary</summary>
<div class="p-4 summary-list">{% include "tracker/summary/list.html" %}</div>
</details>
<details class="group flex flex-col rounded-md ring-4 bg-bluelight-translucent ring-bluelight-dark">
<summary class="justify-start p-2 text-lg">Breakdown</summary>
<div class="p-4 flex flex-col space-y-4 breakdown-list">
{% include "tracker/breakdown/block.html" with extra_classes="hidden" %}
{% for scene_title, scene_data in scenes.items %}
{% include "tracker/breakdown/block.html" %}
{% endfor %}
</div>
</details>
</div>
<div id="breakdown-current">
{% include "tracker/breakdown/block.html" with scene_title=current_scene.title scene_data=current_scene.data %}
</div>
<details class="group flex max-w-full rounded-md ring-4 bg-bluelight-translucent ring-bluelight-dark">
<summary class="justify-start p-2">Tracker Debug</summary>
<div class="p-2 pl-4 pr-4 flex flex-col space-y-2">
<div>
<ul>
Name: {{ debug.Name }}
</ul>
<ul>
Seed: {{ debug.Seed }}
</ul>
<ul>
Spoiler Seed: {{ debug.SpoilerSeed }}
</ul>
<ul>
Archipelago: {{ debug.Archipelago }}
</ul>
<ul>
Randomized: {{ debug.Randomized }}
</ul>
<ul>
Hex Quest: {{ debug.HexQuest }}
</ul>
<ul>
Entrance Randomizer: {{ debug.EntranceRando }}
</ul>
<ul>
Fixed Shops: {{ debug.FixedShops }}
</ul>
</div>
</div>
</details>
</div>
{% else %}
<div id="no_data" />{% endif %}</div>
</div>
{% endblock content %}