<commit_before>## -*- coding: utf-8 -*-
##
## NetProfile: HTML template for customer UI layout
## Copyright © 2013-2017 <NAME>
##
## This file is part of NetProfile.
## NetProfile is free software: you can redistribute it and/or
## modify it under the terms of the GNU Affero General Public
## License as published by the Free Software Foundation, either
## version 3 of the License, or (at your option) any later
## version.
##
## NetProfile is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU Affero General Public License for more details.
##
## You should have received a copy of the GNU Affero General
## Public License along with NetProfile. If not, see
## <http://www.gnu.org/licenses/>.
##
<%inherit file="netprofile_access:templates/client_base.mak"/>

<div id="wrap">
	<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
		<div class="container" role="presentation">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
					<span class="sr-only">${_('Toggle navigation', domain='netprofile_access')}</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<span class="navbar-brand" href="#" role="banner">
					<span class="large" role="heading" aria-level="1">NetProfile</span>
					<span class="small" role="heading" aria-level="2">${self.title()}</span>
				</span>
			</div>
			<div class="collapse navbar-collapse" id="main-navbar" role="menubar">
				<ul class="no-js nav navbar-nav navbar-right" role="presentation">
<%block name="menubar">\
% for item in menu:
% if item.get('route') and req.matched_route and (item.get('route') == req.matched_route.name):
					<li class="active">
						<a href="#" role="menuitem">${loc.translate(item['text'])}</a>
% elif item.get('route'):
					<li\
% if item.get('cls'):
 class="${item['cls']}"\
% endif
% if item.get('title'):
 title="${loc.translate(item['title'])}"\
% endif
>
						<a href="${req.route_url(item['route'], traverse=())}" role="menuitem">${loc.translate(item['text'])}</a>
% endif
					</li>
% endfor
</%block>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle flag-toggle" data-toggle="dropdown" id="flag-toggle" title="${_('Change Language', domain='netprofile_access')}" role="menuitem" aria-haspopup="true">
							<img src="${req.static_url('netprofile_access:static/img/flags/%s.png' % req.locale_name)}" alt="${_('Currently Selected Language', domain='netprofile_access')}" />
							<b class="caret"></b>
						</a>
						<ul class="dropdown-menu" role="menu" aria-labelledby="flag-toggle">
% for lang in req.locales:
							<li role="presentation"\
% if lang == req.locale_name:
 class="disabled"\
% endif
><a class="lang-select" href="${req.current_route_url(_query={'__locale' : lang})}" role="menuitem" tabindex="-1">
								<img src="${req.static_url('netprofile_access:static/img/flags/%s.png' % lang)}" alt="${req.locales[lang].english_name} [${req.locales[lang].display_name}]" />
								${req.locales[lang].english_name} [${req.locales[lang].display_name}]
							</a></li>
% endfor
						</ul>
					</li>
% if req.user:
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" id="user-toggle" title="${_('User Menu', domain='netprofile_access')}" role="menuitem" aria-haspopup="true">
							<span class="glyphicon glyphicon-user"></span>
							${req.user.nick}
							<b class="caret"></b>
						</a>
						<ul class="dropdown-menu" role="menu" aria-labelledby="user-toggle">
							<li role="presentation"><a href="${req.route_url('access.cl.chpass')}" role="menuitem" tabindex="-1">${_('Change Password', domain='netprofile_access')}</a></li>
							<li role="presentation" class="divider"></li>
							<li role="presentation"><a href="${req.route_url('access.cl.logout')}" role="menuitem" tabindex="-1"><span class="glyphicon glyphicon-log-out"></span> ${_('Log Out', domain='netprofile_access')}</a></li>
						</ul>
					</li>
% endif
				</ul>
			</div>
		</div>
	</nav>

	<div class="container" role="main">
% if context.get('crumbs'):
	<nav role="navigation" aria-label="${_('You are here:', domain='netprofile_access') | h}"><ol class="breadcrumb" role="presentation">
% for cr in crumbs:
		<li\
% if 'url' not in cr:
 class="active"\
% endif
>
% if 'url' in cr:
			<a href="${cr['url']}" aria-level="${loop.index + 1}">${cr['text']}</a>
% else:
			<span aria-level="${loop.index + 1}">${cr['text']}</span>
% endif
		</li>
% endfor
	</ol></nav>
% endif
% for msg in req.session.pop_flash():

	<div class="alert alert-${msg['class'] if 'class' in msg else 'success'} alert-dismissable" role="alert">
		<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
		${msg['text']}
	</div>

% endfor
${next.body()}
	</div>
</div>

<div id="footer" role="contentinfo">
	<span class="single-line">Copyright © 2010-2016 <a href="http://netprofile.ru">${_('NetProfile.ru Team', domain='netprofile_access')}</a>.</span>
	<span class="single-line">${_('License:', domain='netprofile_access')} <a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPLv3</a>+</span>
</div>

<commit_msg>Update copyright year in customer UI<commit_after>## -*- coding: utf-8 -*-
##
## NetProfile: HTML template for customer UI layout
## Copyright © 2013-2017 <NAME>
##
## This file is part of NetProfile.
## NetProfile is free software: you can redistribute it and/or
## modify it under the terms of the GNU Affero General Public
## License as published by the Free Software Foundation, either
## version 3 of the License, or (at your option) any later
## version.
##
## NetProfile is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU Affero General Public License for more details.
##
## You should have received a copy of the GNU Affero General
## Public License along with NetProfile. If not, see
## <http://www.gnu.org/licenses/>.
##
<%inherit file="netprofile_access:templates/client_base.mak"/>

<div id="wrap">
	<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
		<div class="container" role="presentation">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
					<span class="sr-only">${_('Toggle navigation', domain='netprofile_access')}</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<span class="navbar-brand" href="#" role="banner">
					<span class="large" role="heading" aria-level="1">NetProfile</span>
					<span class="small" role="heading" aria-level="2">${self.title()}</span>
				</span>
			</div>
			<div class="collapse navbar-collapse" id="main-navbar" role="menubar">
				<ul class="no-js nav navbar-nav navbar-right" role="presentation">
<%block name="menubar">\
% for item in menu:
% if item.get('route') and req.matched_route and (item.get('route') == req.matched_route.name):
					<li class="active">
						<a href="#" role="menuitem">${loc.translate(item['text'])}</a>
% elif item.get('route'):
					<li\
% if item.get('cls'):
 class="${item['cls']}"\
% endif
% if item.get('title'):
 title="${loc.translate(item['title'])}"\
% endif
>
						<a href="${req.route_url(item['route'], traverse=())}" role="menuitem">${loc.translate(item['text'])}</a>
% endif
					</li>
% endfor
</%block>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle flag-toggle" data-toggle="dropdown" id="flag-toggle" title="${_('Change Language', domain='netprofile_access')}" role="menuitem" aria-haspopup="true">
							<img src="${req.static_url('netprofile_access:static/img/flags/%s.png' % req.locale_name)}" alt="${_('Currently Selected Language', domain='netprofile_access')}" />
							<b class="caret"></b>
						</a>
						<ul class="dropdown-menu" role="menu" aria-labelledby="flag-toggle">
% for lang in req.locales:
							<li role="presentation"\
% if lang == req.locale_name:
 class="disabled"\
% endif
><a class="lang-select" href="${req.current_route_url(_query={'__locale' : lang})}" role="menuitem" tabindex="-1">
								<img src="${req.static_url('netprofile_access:static/img/flags/%s.png' % lang)}" alt="${req.locales[lang].english_name} [${req.locales[lang].display_name}]" />
								${req.locales[lang].english_name} [${req.locales[lang].display_name}]
							</a></li>
% endfor
						</ul>
					</li>
% if req.user:
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" id="user-toggle" title="${_('User Menu', domain='netprofile_access')}" role="menuitem" aria-haspopup="true">
							<span class="glyphicon glyphicon-user"></span>
							${req.user.nick}
							<b class="caret"></b>
						</a>
						<ul class="dropdown-menu" role="menu" aria-labelledby="user-toggle">
							<li role="presentation"><a href="${req.route_url('access.cl.chpass')}" role="menuitem" tabindex="-1">${_('Change Password', domain='netprofile_access')}</a></li>
							<li role="presentation" class="divider"></li>
							<li role="presentation"><a href="${req.route_url('access.cl.logout')}" role="menuitem" tabindex="-1"><span class="glyphicon glyphicon-log-out"></span> ${_('Log Out', domain='netprofile_access')}</a></li>
						</ul>
					</li>
% endif
				</ul>
			</div>
		</div>
	</nav>

	<div class="container" role="main">
% if context.get('crumbs'):
	<nav role="navigation" aria-label="${_('You are here:', domain='netprofile_access') | h}"><ol class="breadcrumb" role="presentation">
% for cr in crumbs:
		<li\
% if 'url' not in cr:
 class="active"\
% endif
>
% if 'url' in cr:
			<a href="${cr['url']}" aria-level="${loop.index + 1}">${cr['text']}</a>
% else:
			<span aria-level="${loop.index + 1}">${cr['text']}</span>
% endif
		</li>
% endfor
	</ol></nav>
% endif
% for msg in req.session.pop_flash():

	<div class="alert alert-${msg['class'] if 'class' in msg else 'success'} alert-dismissable" role="alert">
		<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
		${msg['text']}
	</div>

% endfor
${next.body()}
	</div>
</div>

<div id="footer" role="contentinfo">
	<span class="single-line">Copyright © 2010-2017 <a href="http://netprofile.ru">${_('NetProfile.ru Team', domain='netprofile_access')}</a>.</span>
	<span class="single-line">${_('License:', domain='netprofile_access')} <a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPLv3</a>+</span>
</div>


{'fraction_non_alphanumeric': 0.2120790425827999, 'fraction_numerical': 0.005195287132387049, 'mean_word_length': 4.685654008438819, 'pattern_counts': {'":': 0, '<': 207, '<?xml version=': 0, '>': 207, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '936735', 'n_tokens_mistral': 4042, 'n_tokens_neox': 3552, 'n_words': 813}