Changes between Version 28 and Version 29 of ZooWebSite/2015/Templates/Menu
- Timestamp:
- Jul 25, 2015, 10:44:20 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified ZooWebSite/2015/Templates/Menu ¶
v28 v29 22 22 #set pages=[] 23 23 #end try 24 24 25 <li class="dropdown"> 25 26 <a href="#" class="dropdown-toggle" data-toggle="dropdown">$i<b class="caret"></b></a> 26 27 <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 27 44 #for j in $pages 28 45 #try … … 31 48 #set ipages=[] 32 49 #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 33 57 34 58 #try … … 55 79 <li class="divider"></li> 56 80 #end if 81 82 #end if 83 57 84 #end for 85 58 86 </ul> 59 87 </li> 88 60 89 #end for 61 90 </ul> … … 74 103 </ol> 75 104 <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> 78 108 </ul> 79 109 </div>