Mercurial > libervia-templates
view default/components/block.html @ 130:1a590a16bd20
component(common): updated menu
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Mar 2018 11:09:27 +0100 |
parents | ca42dc037bbf |
children | 85877c76d47d |
line wrap: on
line source
{% macro separator(label, align='center') %} {# display a bloc separator @param label(unicode): label to show @param align(unicode): one of "left", "center", "right" #} <div class="block_separator"> {% if align in ('center', 'right') %} <div class="block_separator__line"></div> {% endif %} <div class="block_separator__label"> {{label}} </div> {% if align in ('center', 'left') %} <div class="block_separator__line"></div> {% endif %} </div> {% endmacro %}