Mercurial > libervia-templates
annotate default/components/block.html @ 129:ca42dc037bbf
file (discover): new discovery page:
the discovery page will show service, own devices and roster contact devices offering file sharing.
An extra field allow to enter free jid.
Added a small message in photo/discover.html has photo album discovery is not yes implemented.
New block and images macros.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Mar 2018 11:16:14 +0100 |
parents | |
children | 85877c76d47d |
rev | line source |
---|---|
129 | 1 {% macro separator(label, align='center') %} |
2 {# display a bloc separator | |
3 @param label(unicode): label to show | |
4 @param align(unicode): one of "left", "center", "right" | |
5 #} | |
6 <div class="block_separator"> | |
7 {% if align in ('center', 'right') %} | |
8 <div class="block_separator__line"></div> | |
9 {% endif %} | |
10 <div class="block_separator__label"> | |
11 {{label}} | |
12 </div> | |
13 {% if align in ('center', 'left') %} | |
14 <div class="block_separator__line"></div> | |
15 {% endif %} | |
16 </div> | |
17 {% endmacro %} |