Files
iTop/templates/components/button/layout.html.twig
Stephen Abello 11f27019e4 N°2847 - Add Html component
- Fix icons on buttons
- Comment some rules from legacy css
2020-08-20 11:14:15 +02:00

6 lines
363 B
Twig

<button id="{{ oUIBlock.GetId() }}" class="ibo-button ibo-is-{{ oUIBlock.ActionType}} ibo-is-{{ oUIBlock.Color }}" type="{{ oUIBlock.Type }}" name="{{ oUIBlock.Name }}" value="{{ oUIBlock.Value }}">
{% if oUIBlock.IconClass is not empty %}
<span class="ibo-button-icon {{ oUIBlock.IconClass }}"></span>
{% endif %}
{{ oUIBlock.Label }}
</button>