This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/core/templates/user/base.html

46 lines
1.6 KiB
HTML
Raw Normal View History

{% extends "overview/base.html" %}
{% load i18n %}
{% load is_active %}
2019-03-13 15:49:30 +00:00
{% load static %}
{% load passbook_user_settings %}
{% block content %}
<div class="container">
<div class="col-md-3 ">
<div class="nav-category">
<h2>{% trans 'User Settings'%}</h2>
<ul class="nav nav-pills nav-stacked">
2019-02-21 15:06:57 +00:00
<li class="{% is_active 'passbook_core:user-settings' %}">
<a href="{% url 'passbook_core:user-settings' %}">
<i class="fa pficon-edit"></i> {% trans 'Details' %}
2019-02-21 15:06:57 +00:00
</a>
</li>
<li class="nav-divider"></li>
{% user_factors as uf %}
{% for user_settings in uf %}
<li class="{% is_active user_settings.view_name %}">
<a href="{% url user_settings.view_name %}">
<i class="{{ user_settings.icon }}"></i> {{ user_settings.name }}
2019-02-21 15:06:57 +00:00
</a>
</li>
{% endfor %}
2019-03-13 15:49:30 +00:00
<li class="nav-divider"></li>
{% user_sources as us %}
{% for user_settings in us %}
<li class="{% if user_settings.view_name == request.get_full_path %} active {% endif %}">
<a href="{{ user_settings.view_name }}">
<i class="{{ user_settings.icon }}"></i> {{ user_settings.name }}
2019-03-13 15:49:30 +00:00
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
<div class="col-md-9">
{% block page %}
{% endblock %}
</div>
</div>
{% endblock %}