      <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
          <!-- Sidebar Menu -->
          <ul class="sidebar-menu">
            <li class="header">菜单</li>
          #foreach( $menu in $permission )
          	 #if($menu.parentid == 1)
          	 #if(${velocityCount} == 2)
          	 	 <li class="treeview active">
          	 #else
          	 	<li class="treeview">
          	 #end 
            	<a ><i class="fa $!{menu.fonts}"></i> <span>${menu.permissionName}</span> <i class="fa fa-angle-left pull-right"></i></a>
            	  <ul class="treeview-menu">
            	  #set($num1= $menu.id)
            	     #foreach( $menusecond in $permission )
            	     	 #if($menusecond.parentid == $num1  && $menusecond.url&&$menusecond.url!='' )
	            	     	 <li><a data="#springUrl(${menusecond.url})"><i class="fa $!{menusecond.fonts}"></i><span>${menusecond.permissionName}</span></a></li>
            	     	 #end
            	     #end
            	</ul>
            	</li>
          	 #end 
          #end
            
          </ul><!-- /.sidebar-menu -->
        </section>
        <!-- /.sidebar -->
      </aside>