Mercurial > libervia-templates
comparison sat_templates/default/components/common.html @ 149:e5ec33c4a8a8
forum/overview.html: classes modification + better global design
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 03 Jun 2018 18:01:32 +0200 |
parents | 33c7ce833d3f |
children | 0ec76c1f53d3 |
comparison
equal
deleted
inserted
replaced
148:a4b6b8b6fc58 | 149:e5ec33c4a8a8 |
---|---|
16 | 16 |
17 {% macro menu(menus, class='') %} | 17 {% macro menu(menus, class='') %} |
18 <nav class="menu {{class}}"> | 18 <nav class="menu {{class}}"> |
19 <ul> | 19 <ul> |
20 {% for name,url in menus %} | 20 {% for name,url in menus %} |
21 <li><a class="menu_item {{name}}" {{ {'href': url}|xmlattr }}>{{ml[name]}}</a></li> | 21 <li><a class="menu_item menu_item--{{name}}" {{ {'href': url}|xmlattr }}>{{ml[name]}}</a></li> |
22 {% endfor %} | 22 {% endfor %} |
23 </ul> | 23 </ul> |
24 </nav> | 24 </nav> |
25 {% endmacro %} | 25 {% endmacro %} |