Files
iTop/templates/base/layouts/dashlet-panel/dashlet-entry.html.twig
Stephen Abello a713e1b56e N°8641 - Dashboard editor front-end first commit for Form SDK integration.
* No dashlet edition
* Dashboard are not persisted
* Unable to load a dashboard from an endpoint (refresh)
* Grid library need proper npm integration
2026-01-08 10:17:30 +01:00

13 lines
753 B
Twig

<button class="ibo-dashlet-entry"
data-dashlet-class="{{ oUIBlock.GetDashletClass() }}"
data-min-width="{{ oUIBlock.GetDashletMinWidth() }}"
data-min-height="{{ oUIBlock.GetDashletMinHeight() }}"
data-preferred-width="{{ oUIBlock.GetDashletPreferredWidth() }}"
data-preferred-height="{{ oUIBlock.GetDashletPreferredHeight() }}"
>
<div class="ibo-dashlet-entry--icon"><img src="{{ oUIBlock.GetDashletIcon() }}" alt="{{ oUIBlock.GetDashletLabel() }} icon"/></div>
<div class="ibo-dashlet-entry--content">
<div class="ibo-dashlet-entry--title">{{ oUIBlock.GetDashletLabel() }}</div>
<div class="ibo-dashlet-entry--description">{{ oUIBlock.GetDashletDescription() }}</div>
</div>
</button>