Update small and boss key counters during the normal update cycle

This commit is contained in:
espeon65536
2021-09-24 16:57:24 -05:00
committed by Fabian Dill
parent 5570440eb1
commit c3070be14a
2 changed files with 55 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
<head>
<title>{{ player_name }}&apos;s Tracker</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles/ootTracker.css') }}"/>
<script type="application/ecmascript" src="{{ url_for('static', filename='assets/minecraftTracker.js') }}"></script>
<script type="application/ecmascript" src="{{ url_for('static', filename='assets/ootTracker.js') }}"></script>
</head>
<body>
@@ -159,8 +159,8 @@
{% for area in checks_done %}
<tr class="location-category" id="{{area}}-header">
<td>{{ area }} {{'▼' if area != 'Total'}}</td>
<td>{{ small_key_counts.get(area, '-') }}</td>
<td>{{ boss_key_counts.get(area, '-') }}</td>
<td class="smallkeys">{{ small_key_counts.get(area, '-') }}</td>
<td class="bosskeys">{{ boss_key_counts.get(area, '-') }}</td>
<td class="counter">{{ checks_done[area] }} / {{ checks_in_area[area] }}</td>
</tr>
<tbody class="locations hide" id="{{area}}">