Panel¶
Class Panel
Output¶
No output provided yet
Twig Tag¶
| Tag: | UIPanel |
|---|---|
| Syntax: |
{% UIPanel Type {Parameters} %}
Content Goes Here
{% EndUIPanel %}
| Type: |
|---|
| Neutral | Make a basis Panel component |
| ForInformation | Make a Panel component for informational messages |
| ForSuccess | Make a Panel component for successful messages |
| ForWarning | Make a Panel component for warning messages |
| ForDanger | Make a Panel component for danger messages |
| ForFailure | Make a Panel component for failure messages |
| WithBrandingPrimaryColor | Make a Panel component with primary color scheme |
| WithBrandingSecondaryColor | Make a Panel component with secondary color scheme |
| ForClass | Make a Panel component with the specific $sClass color scheme |
Panel Neutral¶
| syntax: |
|---|
{% UIPanel Neutral {sTitle:'value', sSubTitle:'value'} %}
Content Goes Here
{% EndUIPanel %}
| parameters: |
|---|
| sTitle | string | mandatory | ||
| sSubTitle | string | optional | NULL |
Panel ForInformation¶
| syntax: |
|---|
{% UIPanel ForInformation {sTitle:'value', sSubTitle:'value'} %}
Content Goes Here
{% EndUIPanel %}
| parameters: |
|---|
| sTitle | string | mandatory | ||
| sSubTitle | string | optional | NULL |
Panel ForSuccess¶
| syntax: |
|---|
{% UIPanel ForSuccess {sTitle:'value', sSubTitle:'value'} %}
Content Goes Here
{% EndUIPanel %}
| parameters: |
|---|
| sTitle | string | mandatory | ||
| sSubTitle | string | optional | NULL |
Panel ForWarning¶
| syntax: |
|---|
{% UIPanel ForWarning {sTitle:'value', sSubTitle:'value'} %}
Content Goes Here
{% EndUIPanel %}
| parameters: |
|---|
| sTitle | string | mandatory | ||
| sSubTitle | string | optional | NULL |
Panel ForDanger¶
| syntax: |
|---|
{% UIPanel ForDanger {sTitle:'value', sSubTitle:'value'} %}
Content Goes Here
{% EndUIPanel %}
| parameters: |
|---|
| sTitle | string | mandatory | ||
| sSubTitle | string | optional | NULL |
Panel ForFailure¶
| syntax: |
|---|
{% UIPanel ForFailure {sTitle:'value', sSubTitle:'value'} %}
Content Goes Here
{% EndUIPanel %}
| parameters: |
|---|
| sTitle | string | mandatory | ||
| sSubTitle | string | optional | NULL |
Panel WithBrandingPrimaryColor¶
| syntax: |
|---|
{% UIPanel WithBrandingPrimaryColor {sTitle:'value', sSubTitle:'value'} %}
Content Goes Here
{% EndUIPanel %}
| parameters: |
|---|
| sTitle | string | mandatory | ||
| sSubTitle | string | optional | NULL |
Panel WithBrandingSecondaryColor¶
| syntax: |
|---|
{% UIPanel WithBrandingSecondaryColor {sTitle:'value', sSubTitle:'value'} %}
Content Goes Here
{% EndUIPanel %}
| parameters: |
|---|
| sTitle | string | mandatory | ||
| sSubTitle | string | optional | NULL |
Panel ForClass¶
| syntax: |
|---|
{% UIPanel ForClass {sClass:'value', sTitle:'value', sSubTitle:'value'} %}
Content Goes Here
{% EndUIPanel %}
| parameters: |
|---|
| sClass | string | mandatory | Class of the object the panel is for | |
| sTitle | string | mandatory | ||
| sSubTitle | string | optional | NULL |
Panel common parameters¶
| AddCSSClass | string | CSS class to add to the generated html block |
| AddCSSClasses | array | like <code>[‘ibo-is-hidden’, ‘ibo-alert–body’]</code> |
| AddCssFileRelPath | string | |
| AddDeferredBlock | iUIBlock | |
| AddHtml | string | |
| AddJsFileRelPath | string | |
| AddMainBlock | iUIBlock | |
| AddMainBlocks | array | |
| AddMultipleCssFilesRelPaths | array | |
| AddMultipleJsFilesRelPaths | array | |
| AddSubBlock | iUIBlock | |
| AddSubTitleBlock | iUIBlock | |
| AddSubTitleBlocks | array | |
| AddTitleBlock | iUIBlock | |
| AddTitleBlocks | array | |
| AddToolbarBlock | iUIBlock | |
| AddToolbarBlocks | array | |
| CSSClasses | array | like <code>[‘ibo-is-hidden’, ‘ibo-alert–body’]</code> |
| CSSColorClass | string | |
| ColorFromClass | string | |
| ColorFromColorSemantic | string | |
| ColorFromOrmStyle | ormStyle | |
| DataAttributes | array | Array of data attributes in the format [‘name’ => ‘value’] |
| DeferredBlocks | array | |
| IsCollapsible | bool | |
| IsHeaderVisibleOnScroll | bool | |
| IsHidden | bool | Indicates if the block is hidden by default |
| MainBlocks | array | |
| SubBlocks | array | |
| SubTitle | string | |
| SubTitleBlock | iUIContentBlock | |
| Title | string | |
| TitleBlock | iUIContentBlock | |
| ToolBlocks | array |
Examples¶
No examples provided yet