view templates/default/doc/doc.html @ 10:0e9e97777fe0

doc: `-` in doc name is replace by `/`: this is needed for Cagou which is deskop/mobile frontend.
author Goffi <goffi@goffi.org>
date Fri, 23 Apr 2021 11:04:23 +0200
parents dc880664a8ec
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 %}