Sfoglia il codice sorgente

up diff

feature/confronto-sorgenti
E-A B 2 anni fa
parent
commit
f3d062e6b8
  1. 18
      liferay-plugins-sdk-6.2/themes/portos-private-theme/docroot/templates/navigation.ftl
  2. 2
      liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/templates/header.ftl

18
liferay-plugins-sdk-6.2/themes/portos-private-theme/docroot/templates/navigation.ftl

@ -1,33 +1,35 @@
<nav class="${nav_css_class} main-menu" id="navigation" role="navigation"> <nav class="${nav_css_class} main-menu" id="navigation" role="navigation">
<ul class="hidden-xs hidden-sm" aria-label="<@liferay.language key="site-pages" />" role="menubar"> <ul class="hidden-xs hidden-sm" aria-label="<@liferay.language key=" site-pages
" />" role="menubar">
<#list nav_items as nav_item> <#list nav_items as nav_item>
<#assign title = nav_item.getName() > <#assign title = nav_item.getName() >
<#assign nav_item_attr_selected = "" /> <#assign nav_item_attr_selected = "" />
<#assign nav_item_css_class = "" /> <#assign nav_item_css_class = "" />
<#if nav_item.isSelected()> <#if nav_item.isSelected()>
<#assign nav_item_attr_selected = "aria-selected='true'" /> <#assign nav_item_attr_selected = "aria-selected='true'" />
<#assign nav_item_css_class = "selected" /> <#assign nav_item_css_class = "selected" />
</#if> </#if>
<li ${nav_item_attr_selected} class="${nav_item_css_class}" id="layout_${nav_item.getLayoutId()}" <li ${nav_item_attr_selected} class="${nav_item_css_class}" id="layout_${nav_item.getLayoutId()}"
role="presentation"> role="presentation">
<a aria-labelledby="layout_${nav_item.getLayoutId()}" href="${nav_item.getURL()}" <a aria-labelledby="layout_${nav_item.getLayoutId()}" href="${nav_item.getURL()}" ${nav_item.getTarget()} role="menuitem">
${nav_item.getTarget()} role="menuitem">
<span>${title}</span> <span>${title}</span>
</a> </a>
</li> </li>
</#list> </#list>
</ul> </ul>
</nav> </nav>
<h2 class="page-title"> <h2 class="page-title">
<a href="${site_default_url}"> <a href="${site_default_url}">
<#if propsUtil.get("mwg.test.display")?has_content >
<#assign test_display = propsUtil.get("mwg.test.display") />
<h4 style="color:white">${test_display}</h4>
<#else>
<img class="img-site" alt="${logo_description}" src="${images_folder}/etoscana-white-text.png"/> <img class="img-site" alt="${logo_description}" src="${images_folder}/etoscana-white-text.png"/>
</#if>
</a> </a>
</h2> </h2>
<div class="subheader-right"> <div class="subheader-right">
<#if user_name != "" > <#if user_name != "" >
<div class="name-user"> <div class="name-user">

2
liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/templates/header.ftl

@ -1,6 +1,6 @@
<div id="heading"> <div id="heading">
<h1 class="site-title"> <h1 class="site-title">
<a class="${logo_css_class}" href="http://pti.regione.sicilia.it/"> <a class="${logo_css_class}" href="http://www.regione.sicilia.it/">
<#assign logo_url = "${images_folder}/logo-rs-testo.png" /> <#assign logo_url = "${images_folder}/logo-rs-testo.png" />
<img class="logo-img hidden-xs" alt="${logo_description}" src="${logo_url}" height="${site_logo_height}" <img class="logo-img hidden-xs" alt="${logo_description}" src="${logo_url}" height="${site_logo_height}"
width="${site_logo_width}"/> width="${site_logo_width}"/>

Caricamento…
Annulla
Salva