Mercurial > libervia-templates
comparison default/components/common.html @ 86:92ca411ee635
chat: new chat_select page to select a jid to talk to + improved button style
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 05 Jan 2018 13:14:22 +0100 |
parents | 05b500bd6235 |
children | 3ee775795cd0 |
comparison
equal
deleted
inserted
replaced
85:05b500bd6235 | 86:92ca411ee635 |
---|---|
11 | 11 |
12 {% macro menu(menus, class='') %} | 12 {% macro menu(menus, class='') %} |
13 <nav class="menu {{class}}"> | 13 <nav class="menu {{class}}"> |
14 <ul> | 14 <ul> |
15 {% for name,url in menus %} | 15 {% for name,url in menus %} |
16 <li><a class="menu_item button {{name}}" {{ {'href': url}|xmlattr }}>{{ml[name]}}</a></li> | 16 <li><a class="menu_item {{name}}" {{ {'href': url}|xmlattr }}>{{ml[name]}}</a></li> |
17 {% endfor %} | 17 {% endfor %} |
18 </ul> | 18 </ul> |
19 </nav> | 19 </nav> |
20 {% endmacro %} | 20 {% endmacro %} |