Author: jacopoc
Date: Mon Apr 23 11:32:45 2007 New Revision: 531556 URL: http://svn.apache.org/viewvc?view=rev&rev=531556 Log: Updated facility main menu to use the new styles. Modified: ofbiz/trunk/applications/product/webapp/facility/includes/appheader.ftl Modified: ofbiz/trunk/applications/product/webapp/facility/includes/appheader.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/includes/appheader.ftl?view=diff&rev=531556&r1=531555&r2=531556 ============================================================================== --- ofbiz/trunk/applications/product/webapp/facility/includes/appheader.ftl (original) +++ ofbiz/trunk/applications/product/webapp/facility/includes/appheader.ftl Mon Apr 23 11:32:45 2007 @@ -16,26 +16,24 @@ specific language governing permissions and limitations under the License. --> -<#assign unselectedLeftClassName = "headerButtonLeft"> -<#assign unselectedRightClassName = "headerButtonRight"> -<#assign selectedLeftClassMap = {(page.headerItem)?default("void") : "headerButtonLeftSelected"}> -<#assign selectedRightClassMap = {(page.headerItem)?default("void") : "headerButtonRightSelected"}> -<div class="apptitle"> ${uiLabelMap.ProductFacilityManagerApplication} </div> -<div class="row"> - <div class="col"><a href="<@ofbizUrl>main</@ofbizUrl>" class="${selectedLeftClassMap.main?default(unselectedLeftClassName)}">${uiLabelMap.ProductMain}</a></div> - <div class="col"><a href="<@ofbizUrl>FindFacility</@ofbizUrl>" class="${selectedLeftClassMap.facility?default(unselectedLeftClassName)}">${uiLabelMap.ProductFacilities}</a></div> - <div class="col"><a href="<@ofbizUrl>FindFacilityGroup</@ofbizUrl>" class="${selectedLeftClassMap.facilityGroup?default(unselectedLeftClassName)}">${uiLabelMap.ProductFacilityGroups}</a></div> - <div class="col"><a href="<@ofbizUrl>FindShipment</@ofbizUrl>" class="${selectedLeftClassMap.shipment?default(unselectedLeftClassName)}">${uiLabelMap.ProductShipments}</a></div> - - <#if userLogin?has_content> - <div class="col-right"><a href="<@ofbizUrl>logout</@ofbizUrl>" class="${selectedRightClassMap.logout?default(unselectedRightClassName)}">${uiLabelMap.CommonLogout}</a></div> - <#else> - <div class="col-right"><a href='<@ofbizUrl>${checkLoginUrl?if_exists}</@ofbizUrl>' class='${selectedRightClassMap.login?default(unselectedRightClassName)}'>${uiLabelMap.CommonLogin}</a></div> - </#if> - <#if facilityId?has_content> - <div class="col-right"><a href="<@ofbizUrl>InventoryReports?facilityId=${facilityId}</@ofbizUrl>" class="${selectedRightClassMap.reports?default(unselectedRightClassName)}">${uiLabelMap.CommonReports}</a></div> - </#if> - <div class="col-fill"> </div> -</div> +<#assign selected = headerItem?default("void")> +<div id="app-navigation"> + <h2>${uiLabelMap.ProductFacilityManagerApplication}</h2> + <ul> + <li<#if selected = "main"> class="selected"</#if>><a href="<@ofbizUrl>main</@ofbizUrl>">${uiLabelMap.ProductMain}</a></li> + <li<#if selected = "facility"> class="selected"</#if>><a href="<@ofbizUrl>FindFacility</@ofbizUrl>">${uiLabelMap.ProductFacilities}</a></li> + <li<#if selected = "facilityGroup"> class="selected"</#if>><a href="<@ofbizUrl>FindFacilityGroup</@ofbizUrl>">${uiLabelMap.ProductFacilityGroups}</a></li> + <li<#if selected = "shipment"> class="selected"</#if>><a href="<@ofbizUrl>FindShipment</@ofbizUrl>">${uiLabelMap.ProductShipments}</a></li> + <#if facilityId?has_content> + <li<#if selected = "reports"> class="selected"</#if>><a href="<@ofbizUrl>InventoryReports?facilityId=${facilityId}</@ofbizUrl>">${uiLabelMap.CommonReports}</a></li> + </#if> + <#if userLogin?has_content> + <li class="opposed"><a href="<@ofbizUrl>logout</@ofbizUrl>">${uiLabelMap.CommonLogout}</a></li> + <#else> + <li class="opposed"><a href="<@ofbizUrl>${checkLoginUrl?if_exists}</@ofbizUrl>">${uiLabelMap.CommonLogin}</a></li> + </#if> + </ul> + <br class="clear" /> +</div> |
Free forum by Nabble | Edit this page |