2025-10-23 01:12:32 +03:00
|
|
|
{% extends "layouts/base.html" %}
|
|
|
|
|
|
|
|
|
|
{% block title %}KH3 - Ingredients{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block head %}
|
2025-10-26 00:06:36 +03:00
|
|
|
<link rel="stylesheet" href="{{ crate::find_hash("/public/styles/kh3/ingredients.css") }}"></link>
|
2025-10-23 01:12:32 +03:00
|
|
|
<script
|
|
|
|
|
type="module"
|
2025-10-26 00:06:36 +03:00
|
|
|
src="{{ crate::find_hash("/public/scripts/kh3/ingredients.js") }}"
|
2025-10-23 01:12:32 +03:00
|
|
|
></script>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2025-10-26 00:06:36 +03:00
|
|
|
{% for ingredient in ingredients %}
|
|
|
|
|
<div>
|
|
|
|
|
<h1>{{ingredient.name}}</h1>
|
|
|
|
|
<ul>
|
|
|
|
|
{% for location in ingredient.locations %}
|
|
|
|
|
<li class="tooltip-wrapper" {% if location.note.is_some() %}style="cursor: help"{% endif %}>
|
|
|
|
|
{{location.world+}} - {{+location.room}}
|
|
|
|
|
{% match location.note %}
|
|
|
|
|
{% when Some with (val) %}
|
|
|
|
|
<div class="help"></div>
|
|
|
|
|
<div class="tooltip">{{ val }}</div>
|
|
|
|
|
{% when None %}
|
|
|
|
|
{% endmatch %}
|
|
|
|
|
</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
2025-10-23 01:12:32 +03:00
|
|
|
{% endblock %}
|