{% extends "base.html" %}
{% set active_page = "quest_list" %}


{% block title %}ACKS Quest List{% endblock %}
{% block content %}
<div class="uk-flex uk-flex-center uk-margin-bottom uk-margin-top">
    <h1 class="uk-text-center"><strong>Legends of Palisma</strong>Quest Board (Internal)</h1>
</div>
{% if quest_map %}
<div class="uk-flex uk-flex-bottom uk-flex-center uk-margin-large-bottom">
    <ul class="uk-list">
    {% for level, quests in quest_map.items() | sort(attribute=0) %}
    <li>
        <strong>Level {{ level[0] }} - {{ level[1] }}</strong>
        <ul class="uk-list">
            {% for quest in quests %}
            <li><a href="{{ url_for('quest_manager.quest_detail', level=level, quest_name=quest) }}">{{ quest }}</a></li>
            {% endfor %}
        </ul>
    </li>
    {% endfor %}
    </ul>
</div>
{% endif %}
{% endblock %}

{% block head %}
<style>
h1 strong {
    display: block;
    font-size: 50%;
    opacity: 0.65;
}
</style>

<script>
</script>
{% endblock %}
