Mercurial > libervia-website
comparison templates/default/doc/doc.html @ 8:dc880664a8ec
modernisation of the theme using Bulma
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 16 Apr 2021 18:51:12 +0200 |
parents | 09d66acc7c73 |
children | 0e9e97777fe0 |
comparison
equal
deleted
inserted
replaced
7:b5fc67c97c50 | 8:dc880664a8ec |
---|---|
1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} | 1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
2 | 2 |
3 {% block body %} | 3 {% block body_wrapper %} |
4 <div class="box box--medium box--center"> | 4 <div class="section has-background-white"> |
5 <p> | 5 <div class="container"> |
6 {% trans %} | 6 <div class="message is-info"> |
7 Please select the documentation you want to see. | 7 <div class="message-body"> |
8 {% endtrans %} | 8 {% trans %} |
9 </p> | 9 Please select the documentation that you want to see. |
10 <ul class="list list--inline"> | 10 {% endtrans %} |
11 {% for name in all_docs %} | 11 </div> |
12 {% set selected = "list__item--selected" if name == doc_name else "" %} | 12 </div> |
13 <li class="list__item {{selected}}"><a href="{{page_url}}/{{name}}">{{name}}</a></li> | 13 <div class="tabs"> |
14 {% endfor %} | 14 <ul> |
15 </ul> | 15 {% for name in all_docs %} |
16 <li class="{{"is-active" if name == doc_name}}"><a href="{{page_url}}/{{name}}">{{name}}</a></li> | |
17 {% endfor %} | |
18 </ul> | |
19 </div> | |
20 </div> | |
16 </div> | 21 </div> |
17 <iframe src="{{build_path}}doc/{{doc_name}}" onload="fitHeightToContent(this)"></iframe> | 22 <iframe class="is-full-width" src="{{build_path}}doc/{{doc_name}}" onload="fitHeightToContent(this)"></iframe> |
18 {% endblock body %} | 23 {% endblock body_wrapper %} |