1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/assets/templates/shared/leftnav.html.erb
2015-05-05 03:10:25 +02:00

44 lines
2.3 KiB
Plaintext

<section class="vbox">
<section class="w-f scrollable">
<div class="slim-scroll" data-height="auto" data-disable-fade-out="true" data-distance="0" data-size="10px" data-railOpacity="0.2">
<!-- nav -->
<nav class="nav-primary hidden-xs">
<ul class="nav nav-main m-t-xs" data-ride="collapse" >
<li class="hidden-sm hidden-md hidden-lg" ng-if="!isAuthenticated()"><a href="#" class="auto" ng-click="signup($event)"><i class="fa fa-rocket"></i> <span>S'inscrire</span></a></li>
<li class="hidden-sm hidden-md hidden-lg" ng-if="!isAuthenticated()">
<a href="#" class="auto" ng-click="login($event)"><i class="fa fa-sign-in"></i> <span>Se connecter</span></a>
</li>
<li class="" ng-repeat="navLink in navLinks" >
<a ng-click="toggleNavSize($event)" ui-sref="{{navLink.state}}" ui-sref-active="active" class="auto" data-toggle="class:nav-off-screen" data-target="#nav">
<i class="fa fa-{{navLink.linkIcon}} fa-lg"></i>
<span>{{navLink.linkText}}</span>
</a>
</li>
</ul>
<!-- Admin -->
<div class="line-s bg-red-dark dk " ng-if="isAuthorized('admin')"></div>
<div class="text-xs font-bold text-bordeau hidden-nav-xs padder m-t-lg m-b-sm" ng-if="isAuthorized('admin')">Admin</div>
<ul class="nav" ng-if="isAuthorized('admin')">
<li class="" ng-repeat="navLink in adminNavLinks">
<a ng-click="toggleNavSize($event)" ga ui-sref="{{navLink.state}}" ui-sref-active="active" class="auto" data-toggle="class:nav-off-screen" data-target="#nav">
<i class="fa fa-{{navLink.linkIcon}} fa-lg"></i>
<span>{{navLink.linkText}}</span>
</a>
</li>
</ul>
</nav>
<!-- / nav -->
</div>
</section>
<footer class="footer hidden-xs no-padder text-center-nav-xs">
<a data-link="#nav" data-toggle="class:nav-xs" class="btn btn-danger btn-block no-b btn-icon icon-muted btn-inactive no-radius wrapper" ng-click="toggleNavSize($event)">
<i class="fa fa-long-arrow-left text"></i> <span class="text text-sm">Réduire le volet</span>
<i class="fa fa-long-arrow-right text-active"></i>
</a>
</footer>
</section>