Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
56 righe
2.3 KiB
56 righe
2.3 KiB
5 anni fa
|
<nav class="${nav_css_class} main-menu" id="navigation" role="navigation">
|
||
|
<ul aria-label="<@liferay.language key="site-pages" />" role="menubar">
|
||
|
<#list nav_items as nav_item>
|
||
|
<#assign title = nav_item.getName() >
|
||
|
|
||
|
<#assign nav_item_attr_selected = "" />
|
||
|
<#assign nav_item_css_class = "" />
|
||
|
|
||
|
<#if nav_item.isSelected()>
|
||
|
<#assign nav_item_attr_selected = "aria-selected='true'" />
|
||
|
<#assign nav_item_css_class = "selected" />
|
||
|
</#if>
|
||
|
|
||
|
|
||
|
<#if title == "Home">
|
||
|
<li class="hidden">home</li>
|
||
|
<#else>
|
||
|
<li ${nav_item_attr_selected} class="${nav_item_css_class}" id="layout_${nav_item.getLayoutId()}"
|
||
|
role="presentation">
|
||
|
<a aria-labelledby="layout_${nav_item.getLayoutId()}" href="${nav_item.getURL()}" ${nav_item.getTarget()} role="menuitem">
|
||
|
|
||
|
<#assign seq = title?split(" ") />
|
||
|
<#if seq?size gt 1 >
|
||
|
<#assign seq_size = seq?size-1 />
|
||
|
<#assign title_next = "">
|
||
|
<#list seq[1..seq_size] as item >
|
||
|
<#assign title_next = title_next + item >
|
||
|
</#list>
|
||
|
<#assign title = "<b>"+seq[0]+"</b>"+'<br class="visible-sm visible-xs"/><span class="title_down">'+title_next+'</span>'>
|
||
|
<#else>
|
||
|
<#assign title = "<b>"+title+"</b>">
|
||
|
</#if>
|
||
|
<span>${title}</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
</#if>
|
||
|
</#list>
|
||
|
</ul>
|
||
|
</nav>
|
||
|
|
||
|
<div class="notification-header">
|
||
|
<span class="notification-header__icon fa fa-bell-o"></span>
|
||
|
<#assign liferay_portlet = PortalJspTagLibs["/WEB-INF/tld/liferay-portlet-ext.tld"] />
|
||
|
|
||
|
<#assign portlet_id = "2_WAR_notificationsportlet" />
|
||
|
${theme.runtime(portlet_id)}
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<span class="btn btn-danger button-menu-right">
|
||
|
<span class="toggle">
|
||
|
<span class="toggle-line"></span>
|
||
|
<span class="toggle-line"></span>
|
||
|
<span class="toggle-line"></span>
|
||
|
</span>
|
||
|
</span>
|