mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 07:42: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:
@@ -8,9 +8,20 @@
|
||||
{{ render_block(oUIBlock.GetToolbar(), {aPage: aPage}) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="ibo-dashboard--grid" data-role="ibo-dashboard--grid">
|
||||
{% for oSubBlock in oUIBlock.GetDashboardRows() %}
|
||||
{{ render_block(oSubBlock, {aPage: aPage}) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<ibo-dashboard id="{{ oUIBlock.GetId() }}" class="ibo-dashboard" data-role="ibo-dashboard" data-edit-mode="view">
|
||||
<div class="ibo-dashboard--form">
|
||||
<div class="ibo-dashboard--form--inputs">
|
||||
Editing{{ render_block(oUIBlock.GetTitleInput(), {aPage: aPage}) }}{{ render_block(oUIBlock.GetRefreshInput(), {aPage: aPage}) }}
|
||||
</div>
|
||||
<div class="ibo-dashboard--form--actions">
|
||||
{{ render_block(oUIBlock.GetButtonsToolbar(), {aPage: aPage}) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ render_block(oUIBlock.GetGrid(), {aPage: aPage}) }}
|
||||
|
||||
<button id="saveBtn">Save layout</button>
|
||||
<button id="loadBtn">Load layout</button>
|
||||
</ibo-dashboard>
|
||||
|
||||
{% endapply %}
|
||||
Reference in New Issue
Block a user