ZooWebSite/2015/Templates/Menu

Version 24 (modified by djay, 10 years ago)

--

#encoding utf-8 #import zoo <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">

<div class="container">

<div class="navbar-header">

<button type="button" class="navbar-toggle" data-toggle="collapse"data-target=".navbar-ex1-collapse"> <span class="sr-only">Toggle navigation</span>

<span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>

</button> <a class="navbar-brand" href="/new/"><img src="/img/zoo-sun-logo.png" class="img-responsive sun" /> ZOO</a>

</div> <div class="collapse navbar-collapse navbar-right navbar-ex1-collapse">

<ul class="nav navbar-nav">

#for i in $menuItems #set tcnt=0 #try #set pages=$server.wiki.getPage("ZooWebSite/2015/Menu/"+$i).encode('utf-8').split(',') #except #set pages=[] #end try

<li class="dropdown">

<a href="#" class="dropdown-toggle" data-toggle="dropdown">$i<b class="caret"></b></a>

<ul class="dropdown-menu">

#for j in $pages #try #set ipages=$server.wiki.getPage("ZooWebSite/2015/Menu/"+$i+"/"+$j).encode('utf-8').split(',') #except #set ipages=[] #end try

#try #set icons=$server.wiki.getPage("ZooWebSite/2015/Menu/"+$i+"/"+$j+"Icns").encode('utf-8').split(',') #except #set icons=[] #end try

#try #set links=$server.wiki.getPage("ZooWebSite/2015/Menu/"+$i+"/"+$j+"Links").encode('utf-8').split(',') #except #set links=[] #end try

<li class="dropdown-header">$j</li>

#set cnt=0 #for k in $ipages

<li><a href="#if len($links)>0#$links[$cnt]#else#$i/$k#end if#">#if len($icons)>0#<i class="fa fa-$icons[$cnt]"></i>#end if# $k</a></li>

#set $cnt=$cnt+1 #end for #set $tcnt=$tcnt+1 #if $tcnt<len($pages)

<li class="divider"></li>

#end if #end for

</ul>

</li>

#end for

</ul>

</div>

</div>

<div class="subn"> <nav class="navbar navbar-lower" role="navigation"> <div class="container">

<ol class="breadcrumb zbr">

<li class="active">#if $inpustmpl?value?!="Welcome"#<a href="/new/">#end if#<i class="fa fa-home"></i>#if $inpustmpl?value?!="Welcome"#</a>#else# Home#end if#</li>

#if $inpustmpl?value?!="Welcome" #for kk in $$inpustmpl?value?.split('/')

<li class="active">$kk</li>

#end for #end if

</ol> <ul class="list-inline pull-right topr">

<li><a href="#" class="btn btn-sm btn-hover btn-zoo"><span class="fa fa-github"></span></a></li> <li><a href="https://twitter.com/ZOO_Project" class="btn btn-sm btn-hover btn-zoo" target="_blank"><span class="fa fa-twitter"></span></a></li>

</ul>

</div> </nav> </div> </nav>

Search

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png