comparison sat_templates/templates/bulma/input/xmlui.html @ 359:16b3a2988afd

massive refactoring from camelCase -> snake_case. See backend commit log for more details
author Goffi <goffi@goffi.org>
date Sat, 08 Apr 2023 13:59:12 +0200
parents 977037f5ac81
children
comparison
equal deleted inserted replaced
358:271b38ccd217 359:16b3a2988afd
86 {% endfor %} 86 {% endfor %}
87 </tr> 87 </tr>
88 </thead> 88 </thead>
89 <tbody> 89 <tbody>
90 {% for xmlui in xmlui_items %} 90 {% for xmlui in xmlui_items %}
91 {% set link=on_click.formatUrl(item=xmlui.widget_value) if on_click.url else none %} 91 {% set link=on_click.format_url(item=xmlui.widget_value) if on_click.url else none %}
92 <tr {{ {'class': xmlui|xmlui_class(tr_class_fields)}|xmlattr }}> 92 <tr {{ {'class': xmlui|xmlui_class(tr_class_fields)}|xmlattr }}>
93 93
94 {% for name,label in fields %} 94 {% for name,label in fields %}
95 <td {{ {'class': 'td_'+name}|xmlattr }}> 95 <td {{ {'class': 'td_'+name}|xmlattr }}>
96 {% for value in xmlui.widgets[name].values %} 96 {% for value in xmlui.widgets[name].values %}
130 {% endif %} 130 {% endif %}
131 {% if field_class_map is undefined %} 131 {% if field_class_map is undefined %}
132 {% set field_class_map = {} %} 132 {% set field_class_map = {} %}
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.format_url(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': 'list-item 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">