2015-07-28 22:29:07 +00:00
|
|
|
<section class="navbar navbar-fixed-top navbar-inverse" data-ng-controller="HeaderController" ng-hide="hideNav">
|
|
|
|
<div class="container" >
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button class="navbar-toggle" type="button" data-ng-click="toggleCollapsibleMenu()">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
2016-06-16 00:38:22 +00:00
|
|
|
<span>{{ 'MENU_BTN' | translate }}</span>
|
2015-07-28 22:29:07 +00:00
|
|
|
</button>
|
2016-04-22 23:00:08 +00:00
|
|
|
<a href="https://www.tellform.com/#!/" class="navbar-brand">
|
2016-04-22 21:37:23 +00:00
|
|
|
<i class="fa fa-archive" style="padding-right: 0.3em;"></i>Tell<span>Form</span>
|
2015-07-28 22:29:07 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<nav class="collapse navbar-collapse" collapse="!isCollapsed" role="navigation">
|
|
|
|
<ul class="nav navbar-nav" data-ng-if="authentication.isAuthenticated()">
|
|
|
|
<li data-ng-repeat="item in menu.items | orderBy: 'position'" data-ng-if="item.shouldRender(authentication.isAuthenticated());" ng-switch="item.menuItemType" ui-route="{{item.uiRoute}}" class="{{item.menuItemClass}}" ng-class="{active: ($uiRoute)}" dropdown="item.menuItemType === 'dropdown'">
|
|
|
|
<a ng-switch-when="dropdown" class="dropdown-toggle" dropdown-toggle>
|
|
|
|
<span data-ng-bind="item.title"></span>
|
|
|
|
<b class="caret"></b>
|
|
|
|
</a>
|
|
|
|
<ul ng-switch-when="dropdown" class="dropdown-menu">
|
|
|
|
<li data-ng-repeat="subitem in item.items | orderBy: 'position'" data-ng-if="subitem.shouldRender(authentication.isAuthenticated());" ui-route="{{subitem.uiRoute}}" ng-class="{active: $uiRoute}">
|
|
|
|
<a href="/#!/{{subitem.link}}" data-ng-bind="subitem.title"></a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<a ng-switch-default href="/#!/{{item.link}}" data-ng-bind="item.title"></a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right" data-ng-hide="authentication.isAuthenticated()">
|
2016-05-10 07:41:10 +00:00
|
|
|
<li ng-hide="$root.signupDisabled" ui-route="/signup" ng-class="{active: $uiRoute}">
|
2016-06-16 00:38:22 +00:00
|
|
|
<a href="/#!/signup">{{ 'SIGNUP_TAB' | translate }}</a>
|
2015-07-28 22:29:07 +00:00
|
|
|
</li>
|
|
|
|
<li class="divider-vertical"></li>
|
|
|
|
<li ui-route="/signin" ng-class="{active: $uiRoute}">
|
2016-06-16 00:38:22 +00:00
|
|
|
<a href="/#!/signin">{{ 'SIGNIN_TAB' | translate }}</a>
|
2015-07-28 22:29:07 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right" data-ng-show="authentication.isAuthenticated()">
|
2015-11-12 19:17:25 +00:00
|
|
|
<li class="dropdown" uib-dropdown>
|
2015-07-28 22:29:07 +00:00
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" dropdown-toggle>
|
2016-06-16 00:38:22 +00:00
|
|
|
<span>{{ 'MY_SETTINGS' | translate }}</span>
|
2015-08-06 05:52:59 +00:00
|
|
|
<b class="caret"></b>
|
2015-07-28 22:29:07 +00:00
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li>
|
2016-06-16 00:38:22 +00:00
|
|
|
<a href="/#!/settings/profile">{{ 'EDIT_PROFILE' | translate }}</a>
|
2015-07-28 22:29:07 +00:00
|
|
|
</li>
|
2015-11-12 19:17:25 +00:00
|
|
|
<li class="divider"></li>
|
2015-07-28 22:29:07 +00:00
|
|
|
<li>
|
2016-06-16 00:38:22 +00:00
|
|
|
<a href="/#!/settings/password"> {{ 'CHANGE_PASSWORD' | translate }}</a>
|
2015-07-28 22:29:07 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2015-11-12 19:17:25 +00:00
|
|
|
<li ng-click="signout()">
|
2016-06-16 00:38:22 +00:00
|
|
|
<a>{{ 'SIGNOUT_TAB' | translate }}</a>
|
2015-11-12 19:17:25 +00:00
|
|
|
</li>
|
2015-07-28 22:29:07 +00:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2015-06-29 22:51:29 +00:00
|
|
|
</div>
|
2016-04-22 21:37:23 +00:00
|
|
|
</section>
|