mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
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
This commit is contained in:
23
templates/base/components/dashlet/dashlet-wrapper.html.twig
Normal file
23
templates/base/components/dashlet/dashlet-wrapper.html.twig
Normal file
@@ -0,0 +1,23 @@
|
||||
<ibo-dashlet class="grid-stack-item-content aa" data-dashlet-type="{{ oUIBlock.GetDashletClass() }}" data-dashlet-id="{{ oUIBlock.GetDashletId() }}">
|
||||
<div class="ibo-dashlet--actions">
|
||||
<button class="ibo-dashlet--action ibo-dashlet--action--edit ibo-button ibo-is-alternative ibo-is-neutral"
|
||||
title="Edit dashlet"
|
||||
data-role="ibo-dashlet-edit"
|
||||
>
|
||||
<i class="fa fa-pen" aria-hidden="true"></i>
|
||||
</button>
|
||||
<button class="ibo-dashlet--action ibo-dashlet--action--clone ibo-button ibo-is-alternative ibo-is-neutral"
|
||||
title="Clone dashlet"
|
||||
data-role="ibo-dashlet-clone"
|
||||
>
|
||||
<i class="fa fa-clone" aria-hidden="true"></i>
|
||||
</button>
|
||||
<button class="ibo-dashlet--action ibo-dashlet--action--remove ibo-button ibo-is-alternative ibo-is-danger"
|
||||
title="Remove dashlet"
|
||||
data-role="ibo-dashlet-remove"
|
||||
>
|
||||
<i class="fa fa-trash" aria-hidden="true"></i>
|
||||
</button>
|
||||
</div>
|
||||
{{ render_block(oUIBlock.GetDashlet(), {aPage: aPage}) }}
|
||||
</ibo-dashlet>
|
||||
Reference in New Issue
Block a user