mirror of http://localhost:9400/cloud/cms
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.4 KiB
HTML
39 lines
1.4 KiB
HTML
{%if system.portal %}
|
|
<div align="center" class="icon active" onclick="window.open('{{system.context}}/set/main','_self')">
|
|
<img src="{{system.caller.icon}}" style="height:100%"/>
|
|
</div>
|
|
{% else %}
|
|
<div class="icon">
|
|
<i class="fa-solid fa-home"></i>
|
|
</div>
|
|
{% endif %}
|
|
{% for _name in layout.menu %}
|
|
<div class="item">
|
|
<div>
|
|
<i class="{{layout.icons[_name]}}"></i>
|
|
{{_name.replace('-', ' ').replace('_',' ')}}
|
|
</div>
|
|
{%if layout.menu[_name] %}
|
|
<div class="sub-menu border-round border">
|
|
|
|
{% for _item in layout.menu[_name] %}
|
|
|
|
{%if _item.type == 'open' %}
|
|
<div class="active" onclick="window.open('{{_item.uri}}','_self')">
|
|
|
|
{%elif _item.uri and _item.type not in ['dialog','embed'] %}
|
|
<div class="active" onclick="menu.apply('{{_item.uri}}','{{_item.text}}','{{_name}}')">
|
|
{% else %}
|
|
<!-- working on links/widgets -->
|
|
<div class="active" onclick='menu.apply_link({{_item|tojson}})'>
|
|
{% endif %}
|
|
<i class="fa-solid fa-chevron-right" style="margin-right:4px"></i>
|
|
{{_item.text.replace('-',' ').replace('_',' ')}}
|
|
|
|
</div>
|
|
{%endfor%}
|
|
|
|
</div>
|
|
{%endif%}
|
|
</div>
|
|
{%endfor%} |