Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Commit

Permalink
Redo the nav portlet for being an horizontal bar
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed May 24, 2013
1 parent e6585a6 commit f6306d5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 24 deletions.
@@ -1,6 +1,12 @@
<ul class="nav nav-list">
<li class="nav-header">home</li>
<% root.children.each { node -> %>
<li><a href="${node.link}">${node.label}</a></li>
<% } %>
</ul>
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<ul class="nav">
<li><a href="/portal/">Home</a></li>
<% root.children.each { node -> %>
<li><a href="${node.link}">${node.label}</a></li>
<% } %>
</ul>
</div>
</div>
</div>
@@ -1,14 +1,8 @@
<div class="container">
<ul class="breadcrumb">
<li><a href="#">Home</a> <span class="divider">/</span></li>
<li><a href="#">Library</a> <span class="divider">/</span></li>
<li class="active">Data</li>
</ul>

#{insert/}

<div class="footer">
<p>Copyright © 2009-2013. All rights reserved, Red Hat, Inc and eXo Platform SAS</p>
</div>

</div>
22 changes: 10 additions & 12 deletions portal/web/src/main/java/org/gatein/portal/templates/site.gtmpl
@@ -1,17 +1,15 @@
#{decorate path=shared.gtmpl/}

<div class="row">
<% header.each { fragment -> %>
<div>
<div>${fragment.content}</div>
</div>
<% } %>
<% header.each { fragment -> %>
<div>
<div>${fragment.content}</div>
</div>
<% } %>

${body}
<div class="row">
<% footer.each { fragment -> %>
<div>
<div>${fragment.content}</div>
</div>
<% } %>

<% footer.each { fragment -> %>
<div>
<div>${fragment.content}</div>
</div>
<% } %>

0 comments on commit f6306d5

Please sign in to comment.