Changes between Version 28 and Version 29 of ZooWebSite/2015/Templates/Menu


Ignore:
Timestamp:
Jul 25, 2015, 10:44:20 AM (4 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooWebSite/2015/Templates/Menu

    v28 v29  
    2222#set pages=[]
    2323#end try
     24
    2425      <li class="dropdown">
    2526        <a href="#" class="dropdown-toggle" data-toggle="dropdown">$i<b class="caret"></b></a>
    2627          <ul class="dropdown-menu">
     28
     29#try
     30#set icons=$server.wiki.getPage("ZooWebSite/2015/Menu/"+$i+"Icns").encode('utf-8').split(',')
     31#except
     32#set icons=[]
     33#end try
     34
     35
     36#try
     37#set links=$server.wiki.getPage("ZooWebSite/2015/Menu/"+$i+"Links").encode('utf-8').split(',')
     38#except
     39#set links=[]
     40#end try
     41
     42#set cnt=0
     43
    2744#for j in $pages
    2845#try
     
    3148#set ipages=[]
    3249#end try
     50
     51#if len(ipages)==0
     52
     53            <li><a href="#if len($links)>0#$links[$cnt]#else#/new/$i/$j#end if#">#if len($icons)>0#<i class="fa fa-$icons[$cnt]"></i>#end if# $j</a></li>
     54
     55#set $cnt=$cnt+1
     56#else
    3357
    3458#try
     
    5579            <li class="divider"></li>
    5680#end if
     81
     82#end if
     83
    5784#end for
     85
    5886         </ul>
    5987       </li>
     88
    6089#end for
    6190     </ul>
     
    74103   </ol>
    75104   <ul class="list-inline pull-right topr">
    76     <li><a href="#" class="btn btn-sm btn-hover btn-zoos"><span class="fa fa-github"></span></a></li>
    77     <li><a href="https://twitter.com/ZOO_Project" class="btn btn-sm btn-hover btn-zoos" target="_blank"><span class="fa fa-twitter"></span></a></li>
     105    <li><a href="https://github.com/kalxas/zoo-project/" class="btn btn-sm btn-hover btn-zoos hello" target="_blank" data-toggle="tooltip" data-placement="bottom" title="Github"><span class="fa fa-github"></span></a></li>
     106    <li><a href="https://www.openhub.net/p/zoo-project" class="btn btn-sm btn-hover btn-zoos hello" target="_blank" data-toggle="tooltip" data-placement="bottom" title="Openhub"><span class="fa fa-circle-o"></span></a></li>
     107    <li><a href="https://twitter.com/ZOO_Project" class="btn btn-sm btn-hover btn-zoos hello" target="_blank" data-toggle="tooltip" data-placement="bottom" title="Twitter"><span class="fa fa-twitter"></span></a></li>
    78108   </ul>
    79109</div>

Search

Context Navigation

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