Mercurial > libervia-templates
comparison sat_templates/templates/bulma/base/base.html @ 323:34b8de7be336
bulma (base): show breadcrumbs
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 29 Apr 2021 20:52:17 +0200 |
parents | 6411615771b6 |
children | 6a26c8a43d10 |
comparison
equal
deleted
inserted
replaced
322:11ed664a309c | 323:34b8de7be336 |
---|---|
102 {{ component.menu(main_menu) }} | 102 {{ component.menu(main_menu) }} |
103 {% endblock main_menu %} | 103 {% endblock main_menu %} |
104 {% endif %} | 104 {% endif %} |
105 {% block body_wrapper %} | 105 {% block body_wrapper %} |
106 <div id="body" class="container"> | 106 <div id="body" class="container"> |
107 {% if breadcrumbs and not no_breadcrumps and breadcrumbs|length > 1 %} | |
108 <nav class="breadcrumb is-medium" aria-label="breadcrumbs"> | |
109 <ul> | |
110 {% for crumb in breadcrumbs %} | |
111 <li {% if loop.last %}class="is-active"{% endif %}> | |
112 <a href="{{crumb.url or '#'}}"> | |
113 {% if crumb.icon %} | |
114 <span class="icon is-medium"> | |
115 <i class="icon-{{crumb.icon}}"></i> | |
116 </span> | |
117 {% endif %} | |
118 <span>{{crumb.label}}</span> | |
119 </a> | |
120 </li> | |
121 {% endfor %} | |
122 </ul> | |
123 </nav> | |
124 {% endif %} | |
107 {% if confirm %} | 125 {% if confirm %} |
108 <article class="message is-success mt-4"> | 126 <article class="message is-success mt-4"> |
109 <div class="message-header"> | 127 <div class="message-header"> |
110 {% trans %}Success{% endtrans %} | 128 {% trans %}Success{% endtrans %} |
111 <button class="delete" aria-label="delete" onclick="this.parentElement.parentElement.remove()"></button> | 129 <button class="delete" aria-label="delete" onclick="this.parentElement.parentElement.remove()"></button> |