use ul/li instead of nested <div>.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780064 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Anil Patel
2009-05-29 18:49:40 +00:00
parent 9e53b32d98
commit ac8dce685b
3 changed files with 16 additions and 20 deletions
@@ -18,16 +18,14 @@ under the License.
-->
<div id="browse-blogs" class="screenlet">
<div class="screenlet-header">
<div class="boxhead">${uiLabelMap.ProductBrowseBlogs}</div>
</div>
<div class="screenlet-header boxhead">${uiLabelMap.ProductBrowseBlogs}</div>
<div class="screenlet-body">
<div class="browsecategorylist">
<ul class="browsecategorylist">
<#list blogs as blog>
<div class="browsecategorytext">
<li class="browsecategorytext">
<a href="<@ofbizUrl>MainBlog?blogContentId=${blog.contentId}</@ofbizUrl>" class="browsecategorybutton">${blog.contentName}</a>
</div>
</li>
</#list>
</div>
</ul>
</div>
</div>
@@ -45,16 +45,16 @@ under the License.
<div class="screenlet-body">
<div class="browsecategorylist">
</#if>
<div class="browsecategorytext">
<li class="browsecategorytext">
<a href="${Static["org.ofbiz.product.category.CatalogUrlServlet"].makeCatalogUrl(request, "", category.productCategoryId, parentCategory.productCategoryId)}" class="${browseCategoryButtonClass}"><#if categoryName?has_content>${categoryName}<#else>${categoryDescription?default("")}</#if></a>
</div>
</li>
<#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?exists && curCategoryId == category.productCategoryId)>
<#local subCatList = Static["org.ofbiz.product.category.CategoryWorker"].getRelatedCategoriesRet(request, "subCatList", category.getString("productCategoryId"), true)>
<#if subCatList?exists>
<#list subCatList as subCat>
<div class="browsecategorylist">
<ul class="browsecategorylist">
<@categoryList parentCategory=category category=subCat wrapInBox="N"/>
</div>
</ul>
</#list>
</#if>
</#if>
@@ -71,11 +71,11 @@ under the License.
<div class="boxhead">${uiLabelMap.ProductBrowseCategories}</div>
</div>
<div class="screenlet-body">
<div class="browsecategorylist">
<ul class="browsecategorylist">
<#list topLevelList as category>
<@categoryList parentCategory=category category=category wrapInBox="N"/>
</#list>
</div>
</ul>
</div>
</div>
</#if>
@@ -31,18 +31,16 @@ under the License.
</#if>
<div id="content_catagories" class="screenlet">
<div class="screenlet-header">
<div class="boxhead">${uiLabelMap.ProductBrowseContent}</div>
</div>
<div class="screenlet-header boxhead">${uiLabelMap.ProductBrowseContent}</div>
<div class="screenlet-body">
<div class="browsecategorylist">
<ul class="browsecategorylist">
<#assign count_1=0/>
<@loopSubContent contentId=contentRootId viewIndex=0 viewSize=9999 orderBy="contentName">
<div class="browsecategorytext">
<li class="browsecategorytext">
<a href="<@ofbizUrl>showcontenttree?contentId=${subContentId}&amp;nodeTrailCsv=${subContentId}</@ofbizUrl>" class="browsecategorybutton">${content.contentName}</a>
</div>
</li>
<#assign count_1=(count_1 + 1)/>
</@loopSubContent>
</div>
</ul>
</div>
</div>