annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
09d66acc7c73 initial commit, website first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %}
09d66acc7c73 initial commit, website first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
2
8
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
3 {% block body_wrapper %}
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
4 <div class="section has-background-white">
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
5 <div class="container">
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
6 <div class="message is-info">
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
7 <div class="message-body">
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
8 {% trans %}
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
9 Please select the documentation that you want to see.
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
10 {% endtrans %}
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
11 </div>
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
12 </div>
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
13 <div class="tabs">
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
14 <ul>
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
15 {% for name in all_docs %}
10
0e9e97777fe0 doc: `-` in doc name is replace by `/`:
Goffi <goffi@goffi.org>
parents: 8
diff changeset
16 <li class="{{"is-active" if name == doc_name}}"><a href="{{page_url}}/{{name}}">{{name|replace('-', '/')}}</a></li>
8
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
17 {% endfor %}
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
18 </ul>
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
19 </div>
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
20 </div>
0
09d66acc7c73 initial commit, website first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
21 </div>
8
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
22 <iframe class="is-full-width" src="{{build_path}}doc/{{doc_name}}" onload="fitHeightToContent(this)"></iframe>
dc880664a8ec modernisation of the theme using Bulma
Goffi <goffi@goffi.org>
parents: 0
diff changeset
23 {% endblock body_wrapper %}