view templates/default/doc/doc.html @ 13:b8bf3cd79a9a

tempalte: settings to use `bulma` theme as basis
author Goffi <goffi@goffi.org>
date Fri, 23 Apr 2021 11:58:07 +0200
parents 0e9e97777fe0
children
line wrap: on
line source

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

{% block body_wrapper %}
<div class="section has-background-white">
    <div class="container">
        <div class="message is-info">
            <div class="message-body">
                {% trans %}
                Please select the documentation that you want to see.
                {% endtrans %}
            </div>
        </div>
        <div class="tabs">
            <ul>
                {% for name in all_docs %}
                    <li class="{{"is-active" if name == doc_name}}"><a href="{{page_url}}/{{name}}">{{name|replace('-', '/')}}</a></li>
                {% endfor %}
            </ul>
        </div>
    </div>
</div>
<iframe class="is-full-width" src="{{build_path}}doc/{{doc_name}}" onload="fitHeightToContent(this)"></iframe>
{% endblock body_wrapper %}