mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
30 lines
1.3 KiB
Twig
30 lines
1.3 KiB
Twig
{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
|
|
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
|
{# Dashboard Layout #}
|
|
{% apply spaceless %}
|
|
{% if oUIBlock.HasTitle() or oUIBlock.HasToolbar() %}
|
|
<div class="ibo-dashboard--top-bar" data-role="ibo-dashboard--top-bar">
|
|
<div class="ibo-dashboard--top-bar-title" data-role="ibo-dashboard--top-bar-title">{{ oUIBlock.GetTitle() }}</div>
|
|
{{ render_block(oUIBlock.GetToolbar(), {aPage: aPage}) }}
|
|
</div>
|
|
{% endif %}
|
|
<ibo-dashboard id="{{ oUIBlock.GetId() }}"
|
|
class="ibo-dashboard"
|
|
data-role="ibo-dashboard"
|
|
data-edit-mode="view"
|
|
data-file="{{ oUIBlock.GetFile() }}"
|
|
data-is-custom="{{ oUIBlock.IsCustom() ? 'true' : 'false' }}"
|
|
>
|
|
<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}) }}
|
|
</ibo-dashboard>
|
|
|
|
{% endapply %} |