Mercurial > libervia-templates
comparison sat_templates/templates/bulma/input/xmlui.html @ 330:b85b72f44f01
bulma (input/xmlui): add `list-item` class so it can be targeted easily
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 04 Jun 2021 18:20:40 +0200 |
parents | 0e69b5843c2f |
children | 977037f5ac81 |
comparison
equal
deleted
inserted
replaced
329:6a26c8a43d10 | 330:b85b72f44f01 |
---|---|
133 {% endif %} | 133 {% endif %} |
134 {% for xmlui in xmlui_items %} | 134 {% for xmlui in xmlui_items %} |
135 {% set link=on_click.formatUrl(item=xmlui.widget_value) if on_click.url else none %} | 135 {% set link=on_click.formatUrl(item=xmlui.widget_value) if on_click.url else none %} |
136 <div class="media x-is-hoverable"> | 136 <div class="media x-is-hoverable"> |
137 <div class="media-content"> | 137 <div class="media-content"> |
138 <a {{ {'class': 'has-text-black ' + xmlui|xmlui_class(item_class_fields), | 138 <a {{ {'class': 'list-item has-text-black ' + xmlui|xmlui_class(item_class_fields), |
139 'href':link}|xmlattr }}> | 139 'href':link}|xmlattr }}> |
140 <div class="content"> | 140 <div class="content"> |
141 {% for name,label in fields %} | 141 {% for name,label in fields %} |
142 <span {{ {'class': 'xmlui_field__'+name}|xmlattr }}> | 142 <span {{ {'class': 'xmlui_field__'+name}|xmlattr }}> |
143 {% for label in xmlui.widgets.get(name, {}).labels %} | 143 {% for label in xmlui.widgets.get(name, {}).labels %} |