{% extends supertpl %}

{% block ppssauth_css %}
   <link rel="stylesheet" href="{{ request.static_url('ppss_auth:ppss_auth_static/ppssauth.css') }}"/>
{% endblock %}
{% block ppssauth_footerjs %}
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
{% endblock %}

{% block ppssauth_headerjs %}
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.0/handlebars.min.js"></script>
  <script
        src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"
        integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU="
        crossorigin="anonymous"
  ></script>
{% endblock %}


{% block ppssauth_container %}
	<div class="usermenu">
		<ul>
      {% if request.ppssauthconf.backfromppssauth %}
      <li><a href="{{request.route_url(request.ppssauthconf.backfromppssauth)}}"> &lt; </a></li>
      {% endif %}
			<li class="{{'active' if activemenu=='user' else ''}}"><a href="{{request.route_url('ppss:user:list')}}">{{_('Users', domain='ppss_auth')}}</a></li>
			<li class="{{'active' if activemenu=='group' else ''}}"><a href="{{request.route_url('ppss:group:list')}}">{{_('Groups', domain='ppss_auth')}}</a></li>
			<li class="{{'active' if activemenu=='perm' else ''}}"><a href="{{request.route_url('ppss:perm:list')}}">{{_('Permissions', domain='ppss_auth')}}</a></li>
		</ul>
	</div>
<div class="container-fluid">
	{% block ppssauth_content %}
	{% endblock ppssauth_content %}
</div>
{% endblock ppssauth_container %}