mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 01:06:11 -06:00
12589 update proflie base template
This commit is contained in:
parent
12cd1af564
commit
1f08dc6c55
@ -1,4 +1,4 @@
|
|||||||
{% extends 'users/base.html' %}
|
{% extends 'users/base_profile.html' %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
{% load render_table from django_tables2 %}
|
{% load render_table from django_tables2 %}
|
||||||
|
|
||||||
|
@ -5,25 +5,6 @@
|
|||||||
{% load plugins %}
|
{% load plugins %}
|
||||||
|
|
||||||
|
|
||||||
{% block tabs %}
|
|
||||||
<ul class="nav nav-tabs px-3">
|
|
||||||
<li role="presentation" class="nav-item">
|
|
||||||
<a class="nav-link{% if active_tab == 'profile' %} active{% endif %}" href="{% url 'users:profile' %}">Profile</a>
|
|
||||||
</li>
|
|
||||||
<li role="presentation" class="nav-item">
|
|
||||||
<a class="nav-link{% if active_tab == 'preferences' %} active{% endif %}" href="{% url 'users:preferences' %}">Preferences</a>
|
|
||||||
</li>
|
|
||||||
{% if not request.user.ldap_username %}
|
|
||||||
<li role="presentation" class="nav-item">
|
|
||||||
<a class="nav-link{% if active_tab == 'password' %} active{% endif %}" href="{% url 'users:change_password' %}">Password</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
<li role="presentation" class="nav-item">
|
|
||||||
<a class="nav-link{% if active_tab == 'api-tokens' %} active{% endif %}" href="{% url 'users:token_list' %}">API Tokens</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block content-wrapper %}
|
{% block content-wrapper %}
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'users/base.html' %}
|
{% extends 'users/base_profile.html' %}
|
||||||
{% load form_helpers %}
|
{% load form_helpers %}
|
||||||
|
|
||||||
{% block title %}Change Password{% endblock %}
|
{% block title %}Change Password{% endblock %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'users/base.html' %}
|
{% extends 'users/base_profile.html' %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
{% load form_helpers %}
|
{% load form_helpers %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'users/base.html' %}
|
{% extends 'users/base_profile.html' %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
{% load render_table from django_tables2 %}
|
{% load render_table from django_tables2 %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user