mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Add features to Spinner block
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
{% apply spaceless %}
|
||||
<i id="{{ oUIBlock.GetId() }}" class="fas fa-sync-alt fa-spin {% if oUIBlock.IsHidden() %}ibo-is-hidden{% endif %} {{ oUIBlock.GetBlocksInheritanceCSSClassesAsString() }} {{ oUIBlock.GetAdditionalCSSClassesAsString() }}" aria-hidden="true"></i>
|
||||
<div id="{{ oUIBlock.GetId() }}" class="ibo-spinner ibo-is-{{ oUIBlock.GetSize() }}
|
||||
{% if oUIBlock.IsHidden() %}ibo-is-hidden{% endif %}
|
||||
{{ oUIBlock.GetBlocksInheritanceCSSClassesAsString() }}
|
||||
{{ oUIBlock.GetAdditionalCSSClassesAsString() }}"
|
||||
data-role="ibo-spinner">
|
||||
<i class="ibo-spinner--icon fas fa-sync-alt fa-spin" aria-hidden="true"></i>
|
||||
{% if oUIBlock.HasDescription() %}
|
||||
<div class="ibo-spinner--description"> {{ oUIBlock.GetDescription() }} </div>
|
||||
{% endif %}
|
||||
<div>
|
||||
{% endapply %}
|
||||
Reference in New Issue
Block a user