<commit_before>{{* we have modified the navmenu (look at function frio_remote_nav() ) to have remote links. $nav.userinfo is a new variable and replaces the original $userinfo variable *}}
{{if $nav.userinfo}}
<header>
	{{* {{$langselector}} *}}

	<div id="site-location">{{$sitelocation}}</div>
	<div id="banner" class="hidden-sm hidden-xs">
		{{* show on remote/visitor connections an other logo which symols that fact*}}
		{{if $nav.remote}}
		<a href="{{$baseurl}}"><div id="remote-logo-img"></div></a>
		{{else}}
		{{* #logo-img is the the placeholder to insert a mask (friendica logo) into this div
		For Firefox we have to call the paths of the mask (look at the bottom of this file).
		Because for FF we need relative paths we apply them with js after the page is loaded (look at theme.js *}}
		<a href="{{$baseurl}}"><div id="logo-img"></div></a>
		{{/if}}
	</div>
</header>
<nav id="topbar-first" class="topbar">
	<div class="container">
		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-padding"><!-- div for navbar width-->
			<!-- Brand and toggle get grouped for better mobile display -->
			<div class="topbar-nav" role="navigation">

				{{* Buttons for the mobile view *}}
				<button type="button" class="navbar-toggle collapsed pull-right" data-toggle="offcanvas" data-target="#myNavmenu" aria-controls="myNavmenu" aria-haspopup="true">
					<span class="sr-only">Toggle navigation</span>
					<i class="fa fa-ellipsis-v" aria-hidden="true"></i>
				</button>
				<button type="button" class="navbar-toggle collapsed pull-right" data-toggle="collapse" data-target="#search-mobile" aria-expanded="false" aria-controls="search-mobile">
					<span class="sr-only">Toggle Search</span>
					<i class="fa fa-search" aria-hidden="true" style="color:#FFF;"></i>
				</button>
				<button type="button" class="navbar-toggle collapsed pull-left visible-sm visible-xs" data-toggle="offcanvas" data-target="aside" aria-haspopup="true">
					<span class="sr-only">Toggle navigation</span>
					<i class="fa fa-ellipsis-v" aria-hidden="true"></i>
				</button>

				{{* Left section of the NavBar with navigation shortcuts/icons *}}
				<ul class="nav navbar-nav navbar-left" role="menubar">
					<li id="nav-communication" class="nav-segment" role="presentation">
						{{if $nav.network}}
						<a role="menuitem" class="nav-menu {{$sel.network}}" href="{{$nav.network.0}}" data-toggle="tooltip" aria-label="{{$nav.network.3}}" title="{{$nav.network.3}}"><i class="fa fa-lg fa-th" aria-hidden="true"></i><span id="net-update" class="nav-network-badge badge nav-notify"></span></a>
						{{/if}}

						{{if $nav.home}}
						<a role="menuitem" class="nav-menu {{$sel.home}}" href="{{$nav.home.0}}" data-toggle="tooltip" aria-label="{{$nav.home.3}}" title="{{$nav.home.3}}"><i class="fa fa-lg fa-home" aria-hidden="true"></i><span id="home-update" class="nav-home-badge badge nav-notify"></span></a>
						{{/if}}

						{{if $nav.community}}
						<a role="menuitem" class="nav-menu {{$sel.community}}" href="{{$nav.community.0}}" data-toggle="tooltip" aria-label="{{$nav.community.3}}" title="{{$nav.community.3}}"><i class="fa fa-lg fa-bullseye" aria-hidden="true"></i></a>
						{{/if}}
					</li>

					<li id="nav-personal" class="nav-segment hidden-xs" role="presentation">
						{{if $nav.messages}}
						<a role="menuitem" id="nav-messages-link" href="{{$nav.messages.0}}" data-toggle="tooltip" aria-label="{{$nav.messages.1}}" title="{{$nav.messages.1}}" class="nav-menu {{$sel.messages}}"><i class="fa fa-envelope fa-lg" aria-hidden="true"></i><span id="mail-update" class="nav-mail-badge badge nav-notify"></span></a>
						{{/if}}

						{{if $nav.events}}
						<a role="menuitem" id="nav-events-link" href="{{$nav.events.0}}" data-toggle="tooltip" aria-label="{{$nav.events.1}}" title="{{$nav.events.1}}" class="nav-menu"><i class="fa fa-lg fa-calendar"></i></a>
						{{/if}}

						{{if $nav.contacts}}
						<a role="menuitem" id="nav-contacts-link" class="nav-menu {{$sel.contacts}} {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" data-toggle="tooltip" aria-label="{{$nav.contacts.1}}" title="{{$nav.contacts.1}}" ><i class="fa fa-users fa-lg" aria-hidden="true"></i></a>
						<span id="intro-update" class="nav-intro-badge badge nav-notify" onclick="window.location.href = '{{$nav.introductions.0}}' " data-toggle="tooltip" aria-label="{{$nav.introductions.3}}" title="{{$nav.introductions.3}}"></span>
						{{/if}}
					</li>

					{{* The notifications dropdown *}}
					{{if $nav.notifications}}
						<li id="nav-notification" class="nav-segment hidden-xs" role="presentation">
							<a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" data-toggle="tooltip" aria-label="{{$nav.notifications.1}}" title="{{$nav.notifications.1}}" role="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
								<i class="fa fa-exclamation-circle fa-lg" aria-hidden="true"></i>
								<span role="menuitem" class="sr-only">{{$nav.notifications.1}}</span>
								<span id="notify-update" class="nav-notify-badge badge nav-notify dropdown" data-toggle="dropdown"></span>
							</a>

							{{* The notifications dropdown menu. There are two parts of menu. The second is at the bottom of this file. It is loaded via js. Look at nav-notifications-template *}}
							<ul id="nav-notifications-menu" class="dropdown-menu menu-popup" role="menu" aria-labelledby="dropdownMenu1" style="display: none;">

								{{* the following list entry must have the id "nav-notificaionts-mark-all". Without it this isn't visable. ....strange behavior :-/ *}}
								<li role="presentation" id="nav-notifications-mark-all" class="dropdown-header">
									<div class="arrow"></div>
									{{$nav.notifications.1}}
									<div class="dropdown-header-link">
										<button role="menuitem" type="button" class="btn-link" onclick="notifyMarkAll();" data-toggle="tooltip" aria-label="{{$nav.notifications.mark.3}}" title="{{$nav.notifications.mark.3}}">{{$nav.notifications.mark.1}}</button>
									</div>

								</li>

								<li role="presentation">
									<p role="menuitem" class="text-muted"><i>{{$emptynotifications}}</i></p>
								</li>
							</ul>
						</li>
						{{/if}}

				</ul>
			</div>

			{{* This is the right part of the NavBar. It includes the search and the user menu *}}
			<div class="topbar-actions pull-right">
				<ul class="nav">

					{{* The search box *}}
					{{if $nav.search}}
					<li id="search-box" class="hidden-xs">
							<form class="navbar-form" role="search" method="get" action="{{$nav.search.0}}">
								<!-- <img class="hidden-xs" src="{{$nav.userinfo.icon}}" alt="{{$nav.userinfo.name}}" style="max-width:33px; max-height:33px; min-width:33px; min-height:33px; width:33px; height:33px;"> -->
								<div class="form-group form-group-search">
									<input id="nav-search-input-field" class="form-control form-search" type="text" name="search" data-toggle="tooltip" title="{{$search_hint}}" placeholder="{{$nav.search.1}}">
									<button class="btn btn-default btn-sm form-button-search" type="submit">{{$nav.search.1}}</button>
								</div>
							</form>
					</li>
					{{/if}}

					{{* The user dropdown menu *}}
					{{if $nav.userinfo}}
					<li id="nav-user-linkmenu" class="dropdown account nav-menu hidden-xs">
						<button id="main-menu" class="btn-link dropdown-toggle nav-avatar" data-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false" aria-controls="nav-user-menu">
							<div class="user-title pull-left hidden-xs hidden-sm hidden-md">
								<strong>{{$nav.userinfo.name}}</strong><br>
								{{if $nav.remote}}<span class="trunctate">{{$nav.remote}}</span>{{/if}}
							</div>

							<img  id="avatar" src="{{$nav.userinfo.icon}}" alt="{{$nav.userinfo.name}}">
							<span class="caret"></span>
						</button>

						{{* The list of available usermenu links *}}
						<ul id="nav-user-menu" class="dropdown-menu pull-right menu-popup" role="menu" aria-labelledby="main-menu">
							{{if $nav.remote}}{{if $nav.sitename}}
							<li id="nav-sitename" role="menuitem">{{$nav.sitename}}</li>
							<li role="presentation" class="divider"></li>
							{{/if}}{{/if}}
							{{foreach $nav.usermenu as $usermenu}}
							<li role="presentation"><a role="menuitem" class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li>
							{{/foreach}}
							<li role="presentation" class="divider"></li>
							{{if $nav.notifications}}
							<li role="presentation"><a role="menuitem" href="{{$nav.notifications.all.0}}" title="{{$nav.notifications.1}}"><i class="fa fa-exclamation-circle fa-fw" aria-hidden="true"></i> {{$nav.notifications.1}}</a></li>
							{{/if}}
							{{if $nav.messages}}
							<li role="presentation"><a role="menuitem" class="nav-commlink {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" ><i class="fa fa-envelope fa-fw" aria-hidden="true"></i> {{$nav.messages.1}} <span id="mail-update-li" class="nav-mail-badge badge nav-notify"></span></a></li>
							{{/if}}
							<li role="presentation" class="divider"></li>
							{{if $nav.contacts}}
							<li role="presentation"><a role="menuitem" id="nav-menu-contacts-link" class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}"><i class="fa fa-users fa-fw" aria-hidden="true"></i> {{$nav.contacts.1}}</a><span id="intro-update-li" class="nav-intro-badge badge nav-notify"></span></li>
							{{/if}}
							{{if $nav.manage}}
							<li role="presentation"><a role="menuitem" id="nav-manage-link" class="nav-commlink {{$nav.manage.2}} {{$sel.manage}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}"><i class="fa fa-flag fa-fw" aria-hidden="true"></i> {{$nav.manage.1}}</a></li>
							{{/if}}
							<li role="presentation"><a role="menuitem" id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}"><i class="fa fa-sitemap fa-fw" aria-hidden="true"></i>{{$nav.directory.1}}</a></li>
							<li role="presentation" class="divider"></li>
							{{if $nav.apps}}
							<li role="presentation"><a role="menuitem" id="nav-apps-link" class="nav-link {{$nav.apps.2}} {{$sel.manage}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" ><i class="fa fa-puzzle-piece fa-fw" aria-hidden="true"></i> {{$nav.apps.1}}</a>
							<li role="presentation" class="divider"></li>
							{{/if}}
							{{if $nav.help}}
							<li role="presentation"><a role="menuitem" id="nav-help-link" class="nav-link {{$nav.help.2}}" href="{{$nav.help.0}}" title="{{$nav.help.3}}" ><i class="fa fa-question-circle fa-fw" aria-hidden="true"></i> {{$nav.help.1}}</a></li>
							{{/if}}
							{{if $nav.settings}}
							<li role="presentation"><a role="menuitem" id="nav-settings-link" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}"><i class="fa fa-cog fa-fw" aria-hidden="true"></i> {{$nav.settings.1}}</a></li>
							{{/if}}
							{{if $nav.admin}}
							<li role="presentation"><a role="menuitem" id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" ><i class="fa fa-user-secret fa-fw" aria-hidden="true"></i> {{$nav.admin.1}}</a></li>
							{{/if}}
							{{if $nav.tos}}
							<li role="presentation" class="divider"></li>
							<li role="presentation"><a role="menuitem" id="nav-tos-link" class="nav-link {{$nav.tos.2}}" href="{{$nav.tos.0}}" title="{{$nav.tos.3}}" ><i class="fa fa-file-text" aria-hidden="true"></i> {{$nav.tos.1}}</a></li>
							{{/if}}
							<li role="presentation" class="divider"></li>
							{{if $nav.logout}}
							<li role="presentation"><a role="menuitem" id="nav-logout-link" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" ><i class="fa fa fa-sign-out fa-fw" aria-hidden="true"></i> {{$nav.logout.1}}</a></li>
							{{else}}
							<li role="presentation"><a role="menuitem" id="nav-login-link" class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" ><i class="fa fa-power-off fa-fw" aria-hidden="true"></i> {{$nav.login.1}}</a></li>
							{{/if}}
						</ul>
					</li>{{* End of userinfo dropdown menu *}}
					{{/if}}

				<!-- Language selector, I do not find it relevant, activate if necessary.
					<li>{{$langselector}}</li>
				-->
				</ul>
			</div>{{* End of right navbar *}}<commit_msg>frio implemented accesskeys to the nav.tpl<commit_after>{{* we have modified the navmenu (look at function frio_remote_nav() ) to have remote links. $nav.userinfo is a new variable and replaces the original $userinfo variable *}}
{{if $nav.userinfo}}
<header>
	{{* {{$langselector}} *}}

	<div id="site-location">{{$sitelocation}}</div>
	<div id="banner" class="hidden-sm hidden-xs">
		{{* show on remote/visitor connections an other logo which symols that fact*}}
		{{if $nav.remote}}
		<a href="{{$baseurl}}"><div id="remote-logo-img"></div></a>
		{{else}}
		{{* #logo-img is the the placeholder to insert a mask (friendica logo) into this div
		For Firefox we have to call the paths of the mask (look at the bottom of this file).
		Because for FF we need relative paths we apply them with js after the page is loaded (look at theme.js *}}
		<a href="{{$baseurl}}"><div id="logo-img"></div></a>
		{{/if}}
	</div>
</header>
<nav id="topbar-first" class="topbar">
	<div class="container">
		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-padding"><!-- div for navbar width-->
			<!-- Brand and toggle get grouped for better mobile display -->
			<div class="topbar-nav" role="navigation">

				{{* Buttons for the mobile view *}}
				<button type="button" class="navbar-toggle collapsed pull-right" data-toggle="offcanvas" data-target="#myNavmenu" aria-controls="myNavmenu" aria-haspopup="true">
					<span class="sr-only">Toggle navigation</span>
					<i class="fa fa-ellipsis-v" aria-hidden="true"></i>
				</button>
				<button type="button" class="navbar-toggle collapsed pull-right" data-toggle="collapse" data-target="#search-mobile" aria-expanded="false" aria-controls="search-mobile">
					<span class="sr-only">Toggle Search</span>
					<i class="fa fa-search" aria-hidden="true" style="color:#FFF;"></i>
				</button>
				<button type="button" class="navbar-toggle collapsed pull-left visible-sm visible-xs" data-toggle="offcanvas" data-target="aside" aria-haspopup="true">
					<span class="sr-only">Toggle navigation</span>
					<i class="fa fa-ellipsis-v" aria-hidden="true"></i>
				</button>

				{{* Left section of the NavBar with navigation shortcuts/icons *}}
				<ul class="nav navbar-nav navbar-left" role="menubar">
					<li id="nav-communication" class="nav-segment" role="presentation">
						{{if $nav.network}}
						<a accesskey="n"role="menuitem" class="nav-menu {{$sel.network}}" href="{{$nav.network.0}}" data-toggle="tooltip" aria-label="{{$nav.network.3}}" title="{{$nav.network.3}}"><i class="fa fa-lg fa-th" aria-hidden="true"></i><span id="net-update" class="nav-network-badge badge nav-notify"></span></a>
						{{/if}}

						{{if $nav.home}}
						<a accesskey="p" role="menuitem" class="nav-menu {{$sel.home}}" href="{{$nav.home.0}}" data-toggle="tooltip" aria-label="{{$nav.home.3}}" title="{{$nav.home.3}}"><i class="fa fa-lg fa-home" aria-hidden="true"></i><span id="home-update" class="nav-home-badge badge nav-notify"></span></a>
						{{/if}}

						{{if $nav.community}}
						<a accesskey="c" role="menuitem" class="nav-menu {{$sel.community}}" href="{{$nav.community.0}}" data-toggle="tooltip" aria-label="{{$nav.community.3}}" title="{{$nav.community.3}}"><i class="fa fa-lg fa-bullseye" aria-hidden="true"></i></a>
						{{/if}}
					</li>

					<li id="nav-personal" class="nav-segment hidden-xs" role="presentation">
						{{if $nav.messages}}
						<a role="menuitem" id="nav-messages-link" href="{{$nav.messages.0}}" data-toggle="tooltip" aria-label="{{$nav.messages.1}}" title="{{$nav.messages.1}}" class="nav-menu {{$sel.messages}}"><i class="fa fa-envelope fa-lg" aria-hidden="true"></i><span id="mail-update" class="nav-mail-badge badge nav-notify"></span></a>
						{{/if}}

						{{if $nav.events}}
						<a accesskey="e" role="menuitem" id="nav-events-link" href="{{$nav.events.0}}" data-toggle="tooltip" aria-label="{{$nav.events.1}}" title="{{$nav.events.1}}" class="nav-menu"><i class="fa fa-lg fa-calendar"></i></a>
						{{/if}}

						{{if $nav.contacts}}
						<a role="menuitem" id="nav-contacts-link" class="nav-menu {{$sel.contacts}} {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" data-toggle="tooltip" aria-label="{{$nav.contacts.1}}" title="{{$nav.contacts.1}}" ><i class="fa fa-users fa-lg" aria-hidden="true"></i></a>
						<span id="intro-update" class="nav-intro-badge badge nav-notify" onclick="window.location.href = '{{$nav.introductions.0}}' " data-toggle="tooltip" aria-label="{{$nav.introductions.3}}" title="{{$nav.introductions.3}}"></span>
						{{/if}}
					</li>

					{{* The notifications dropdown *}}
					{{if $nav.notifications}}
						<li id="nav-notification" class="nav-segment hidden-xs" role="presentation">
							<a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" data-toggle="tooltip" aria-label="{{$nav.notifications.1}}" title="{{$nav.notifications.1}}" role="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
								<i class="fa fa-exclamation-circle fa-lg" aria-hidden="true"></i>
								<span role="menuitem" class="sr-only">{{$nav.notifications.1}}</span>
								<span id="notify-update" class="nav-notify-badge badge nav-notify dropdown" data-toggle="dropdown"></span>
							</a>

							{{* The notifications dropdown menu. There are two parts of menu. The second is at the bottom of this file. It is loaded via js. Look at nav-notifications-template *}}
							<ul id="nav-notifications-menu" class="dropdown-menu menu-popup" role="menu" aria-labelledby="dropdownMenu1" style="display: none;">

								{{* the following list entry must have the id "nav-notificaionts-mark-all". Without it this isn't visable. ....strange behavior :-/ *}}
								<li role="presentation" id="nav-notifications-mark-all" class="dropdown-header">
									<div class="arrow"></div>
									{{$nav.notifications.1}}
									<div class="dropdown-header-link">
										<button role="menuitem" type="button" class="btn-link" onclick="notifyMarkAll();" data-toggle="tooltip" aria-label="{{$nav.notifications.mark.3}}" title="{{$nav.notifications.mark.3}}">{{$nav.notifications.mark.1}}</button>
									</div>

								</li>

								<li role="presentation">
									<p role="menuitem" class="text-muted"><i>{{$emptynotifications}}</i></p>
								</li>
							</ul>
						</li>
						{{/if}}

				</ul>
			</div>

			{{* This is the right part of the NavBar. It includes the search and the user menu *}}
			<div class="topbar-actions pull-right">
				<ul class="nav">

					{{* The search box *}}
					{{if $nav.search}}
					<li id="search-box" class="hidden-xs">
							<form class="navbar-form" role="search" method="get" action="{{$nav.search.0}}">
								<!-- <img class="hidden-xs" src="{{$nav.userinfo.icon}}" alt="{{$nav.userinfo.name}}" style="max-width:33px; max-height:33px; min-width:33px; min-height:33px; width:33px; height:33px;"> -->
								<div class="form-group form-group-search">
									<input accesskey="s" id="nav-search-input-field" class="form-control form-search" type="text" name="search" data-toggle="tooltip" title="{{$search_hint}}" placeholder="{{$nav.search.1}}">
									<button class="btn btn-default btn-sm form-button-search" type="submit">{{$nav.search.1}}</button>
								</div>
							</form>
					</li>
					{{/if}}

					{{* The user dropdown menu *}}
					{{if $nav.userinfo}}
					<li id="nav-user-linkmenu" class="dropdown account nav-menu hidden-xs">
						<button accesskey="u" id="main-menu" class="btn-link dropdown-toggle nav-avatar" data-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false" aria-controls="nav-user-menu">
							<div class="user-title pull-left hidden-xs hidden-sm hidden-md">
								<strong>{{$nav.userinfo.name}}</strong><br>
								{{if $nav.remote}}<span class="trunctate">{{$nav.remote}}</span>{{/if}}
							</div>

							<img  id="avatar" src="{{$nav.userinfo.icon}}" alt="{{$nav.userinfo.name}}">
							<span class="caret"></span>
						</button>

						{{* The list of available usermenu links *}}
						<ul id="nav-user-menu" class="dropdown-menu pull-right menu-popup" role="menu" aria-labelledby="main-menu">
							{{if $nav.remote}}{{if $nav.sitename}}
							<li id="nav-sitename" role="menuitem">{{$nav.sitename}}</li>
							<li role="presentation" class="divider"></li>
							{{/if}}{{/if}}
							{{foreach $nav.usermenu as $usermenu}}
							<li role="presentation"><a role="menuitem" class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li>
							{{/foreach}}
							<li role="presentation" class="divider"></li>
							{{if $nav.notifications}}
							<li role="presentation"><a role="menuitem" href="{{$nav.notifications.all.0}}" title="{{$nav.notifications.1}}"><i class="fa fa-exclamation-circle fa-fw" aria-hidden="true"></i> {{$nav.notifications.1}}</a></li>
							{{/if}}
							{{if $nav.messages}}
							<li role="presentation"><a role="menuitem" class="nav-commlink {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" ><i class="fa fa-envelope fa-fw" aria-hidden="true"></i> {{$nav.messages.1}} <span id="mail-update-li" class="nav-mail-badge badge nav-notify"></span></a></li>
							{{/if}}
							<li role="presentation" class="divider"></li>
							{{if $nav.contacts}}
							<li role="presentation"><a role="menuitem" id="nav-menu-contacts-link" class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}"><i class="fa fa-users fa-fw" aria-hidden="true"></i> {{$nav.contacts.1}}</a><span id="intro-update-li" class="nav-intro-badge badge nav-notify"></span></li>
							{{/if}}
							{{if $nav.manage}}
							<li role="presentation"><a role="menuitem" id="nav-manage-link" class="nav-commlink {{$nav.manage.2}} {{$sel.manage}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}"><i class="fa fa-flag fa-fw" aria-hidden="true"></i> {{$nav.manage.1}}</a></li>
							{{/if}}
							<li role="presentation"><a role="menuitem" id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}"><i class="fa fa-sitemap fa-fw" aria-hidden="true"></i>{{$nav.directory.1}}</a></li>
							<li role="presentation" class="divider"></li>
							{{if $nav.apps}}
							<li role="presentation"><a role="menuitem" id="nav-apps-link" class="nav-link {{$nav.apps.2}} {{$sel.manage}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" ><i class="fa fa-puzzle-piece fa-fw" aria-hidden="true"></i> {{$nav.apps.1}}</a>
							<li role="presentation" class="divider"></li>
							{{/if}}
							{{if $nav.help}}
							<li role="presentation"><a role="menuitem" id="nav-help-link" class="nav-link {{$nav.help.2}}" href="{{$nav.help.0}}" title="{{$nav.help.3}}" ><i class="fa fa-question-circle fa-fw" aria-hidden="true"></i> {{$nav.help.1}}</a></li>
							{{/if}}
							{{if $nav.settings}}
							<li role="presentation"><a role="menuitem" id="nav-settings-link" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}"><i class="fa fa-cog fa-fw" aria-hidden="true"></i> {{$nav.settings.1}}</a></li>
							{{/if}}
							{{if $nav.admin}}
							<li role="presentation"><a accesskey="a" role="menuitem" id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" ><i class="fa fa-user-secret fa-fw" aria-hidden="true"></i> {{$nav.admin.1}}</a></li>
							{{/if}}
							{{if $nav.tos}}
							<li role="presentation" class="divider"></li>
							<li role="presentation"><a role="menuitem" id="nav-tos-link" class="nav-link {{$nav.tos.2}}" href="{{$nav.tos.0}}" title="{{$nav.tos.3}}" ><i class="fa fa-file-text" aria-hidden="true"></i> {{$nav.tos.1}}</a></li>
							{{/if}}
							<li role="presentation" class="divider"></li>
							{{if $nav.logout}}
							<li role="presentation"><a role="menuitem" id="nav-logout-link" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" ><i class="fa fa fa-sign-out fa-fw" aria-hidden="true"></i> {{$nav.logout.1}}</a></li>
							{{else}}
							<li role="presentation"><a role="menuitem" id="nav-login-link" class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" ><i class="fa fa-power-off fa-fw" aria-hidden="true"></i> {{$nav.login.1}}</a></li>
							{{/if}}
						</ul>
					</li>{{* End of userinfo dropdown menu *}}
					{{/if}}

				<!-- Language selector, I do not find it relevant, activate if necessary.
					<li>{{$langselector}}</li>
				-->
				</ul>
			</div>{{* End of right navbar *}}
{'fraction_non_alphanumeric': 0.236860936630357, 'fraction_numerical': 0.008428083008666614, 'mean_word_length': 3.9762611275964392, 'pattern_counts': {'":': 0, '<': 467, '<?xml version=': 0, '>': 467, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3848150', 'n_tokens_mistral': 10333, 'n_tokens_neox': 8559, 'n_words': 1685}