view templates/default/doc/doc.html @ 6:9ce41ef66dfa

python 3 port
author Goffi <goffi@goffi.org>
date Sat, 05 Oct 2019 01:26:51 +0200
parents 09d66acc7c73
children dc880664a8ec
line wrap: on
line source

{% if not embedded %}{% extends 'base/base.html' %}{% endif %}

{% block body %}
<div class="box box--medium box--center">
    <p>
        {% trans %}
        Please select the documentation you want to see.
        {% endtrans %}
    </p>
    <ul class="list list--inline">
    {% for name in all_docs %}
        {% set selected = "list__item--selected" if name == doc_name else "" %}
        <li class="list__item {{selected}}"><a href="{{page_url}}/{{name}}">{{name}}</a></li>
    {% endfor %}
    </ul>
</div>
<iframe src="{{build_path}}doc/{{doc_name}}" onload="fitHeightToContent(this)"></iframe>
{% endblock body %}