mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
36 lines
1.0 KiB
HTML
36 lines
1.0 KiB
HTML
<tr>
|
|
<td >
|
|
<code style="white-space: nowrap;">{{ include.variable.name }}</code>
|
|
</td>
|
|
|
|
<td>
|
|
<small class="tag">
|
|
{% if include.variable.computed_type and include.variable.computed_type != include.variable.type %}
|
|
{{ include.variable.computed_type }}
|
|
{% else %}
|
|
{{ include.variable.type }}
|
|
{% endif %}
|
|
</small>
|
|
</td>
|
|
|
|
<td>
|
|
{% if include.variable.type == 'color' %}
|
|
{% include elements/color-square.html value=variable.value %}
|
|
{% else %}
|
|
<code>{{ include.variable.value }}</code>
|
|
{% endif %}
|
|
</td>
|
|
|
|
{% unless include.hide_computed %}
|
|
<td>
|
|
{% if include.variable.computed_value != '' %}
|
|
{% if include.variable.computed_type == 'color' %}
|
|
{% include elements/color-square.html value=variable.computed_value %}
|
|
{% elsif include.variable.computed_value and include.variable.computed_value != include.variable.value %}
|
|
<code>{{ include.variable.computed_value }}</code>
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
{% endunless %}
|
|
</tr>
|