<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<a class="navbar-brand" data-ng-click="onGoHome()">
<img class="logo" alt="logo" data-ng-src="{{rootTheme}}/img/logo.png">
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<ul class="nav navbar-nav navbar-right">
<li><a data-ng-click="onGoHome()"><i class="fa fa-home" aria-hidden="true"></i> {{translate('MOBILE_MENU_LIST_HOME')}}</a></li>
<li class="dropdown" data-ng-if="editorAvilable">
<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" data-ng-repeat="page in pagesToEdit" data-ng-if="page.key == ''"><label class="round">{{page.name}} <span class="caret"></span></label></a>
<ul class="dropdown-menu">
<li data-ng-repeat="page in pagesToEdit" data-ng-if="(page.key != '' && page.key != 'deliveries' && page.key != 'settings' && page.key != 'driver_reports' && page.key != 'support') || (page.key != '' && (page.key == 'settings' || page.key == 'driver_reports') && superAdmin) || (page.key != '' && page.key == 'deliveries' && ADDONS.delivery_dashboard && SEARCH_BY_ADDRESS) || (page.key != '' && page.key == 'support' && SUPPORT_SECTION && superAdmin)" data-ng-hide="page.key != '' && (page.key == 'listing' || page.key == 'reports') && driverManager()"><a data-ng-click="goToPageEdit(page.key)">{{page.name}}</a></li>
<li class="dropdown" data-ng-if="!NEW_FEATURES.ONLY_EDITOR && (customPages.length > 0 || (settings.business_signup_allow && settings.business_signup_allow.value == 1 && !getLogState()))">
<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><label class="round">{{translate('MORE')}}<span class="caret"></span></label></a>
<ul class="dropdown-menu">
<li data-ng-if="settings.business_signup_allow && settings.business_signup_allow.value == 1 && !getLogState()"><a data-ng-click="goSignupBusiness()">{{translate('SIGNUP_BUSINESS')}}</a></li>
<li data-ng-repeat="cpage in customPages"><a data-ng-click="goCustomPage(cpage.slug)">{{cpage.name}}</a></li>
<li><a data-ng-if="!getLogState() && !NEW_FEATURES.ONLY_EDITOR" data-ng-click="onGoLogin()"><i class="fa fa-sign-in" aria-hidden="true"></i> {{translate('LOGIN')}}</a></li>
<li><a data-ng-if="!getLogState() && !NEW_FEATURES.ONLY_EDITOR" data-ng-click="onGoMyProfile()"><i class="fa fa-user-plus" aria-hidden="true"></i> {{translate('SIGNUP')}}</a></li>
<a data-ng-if="getLogState()" data-ng-click="onGoMyProfile()">
<i class="fa fa-user" aria-hidden="true"></i> {{translate('FRONT_MY_ACCOUNT')}}
<label class="notifications" data-ng-if="reviewStatus.pending > 0 && ADDONS.order_reviews" data-ng-click="onGoMyProfile(1, $event)">
<i class="fa fa-bell-o" aria-hidden="true"></i>
<span class="count">{{reviewStatus.pending}}</span>
<li data-ng-if="NEW_FEATURES.MULTI_ADDRESS && getLogState() && !NEW_FEATURES.ONLY_EDITOR">
<a data-ng-if="!sharedData.curAddress" data-ng-click="openAddresses()"><i class="fa fa-address-book-o" aria-hidden="true"></i> {{translate('SELECT_ADDRESS')}}</a>
<a data-ng-if="sharedData.curAddress" data-ng-click="openAddresses()"><i class="fa fa-address-book-o" aria-hidden="true"></i> {{ truncate(sharedData.curAddress.address, 15) }}</a>
<li><a data-ng-if="getLogState()" data-ng-click="onSignOut()"><i class="fa fa-power-off" aria-hidden="true"></i> {{translate('MOBILE_FRONT_LOGOUT')}}</a></li>
<li data-ng-if="!NEW_FEATURES.ONLY_EDITOR"><a data-ng-click="onCart()" class="cart" data-ng-class="{'empty': numCart == 0}">
<i class="fa fa-shopping-bag" aria-hidden="true"></i> {{numCart}}</a>
<li class="dropdown" data-ng-if="ADDONS.multilanguage">
<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><label class="round"><span data-ng-if="!cur_lang">EN</span><span data-ng-if="cur_lang">{{cur_lang.toUpperCase()}}</span> <span class="caret"></span></label></a>
<ul class="dropdown-menu">
<li data-ng-repeat="lang in languages | orderBy:'name' | filter: {enabled: true}"><a data-ng-click="selectLanguage(lang.id, lang.code, lang.rtl)">{{lang.name}}</a></li>
<div class="main" ui-view='content'>
<div class="container footer no-print" style="color: #fff">
<div class="footer_cont" data-ng-include src="rootTheme+'/views/layouts/_footer.html'"></div>