authentic/src/authentic2/manager/templates/authentic2/manager/homepage.html

50 lines
1.8 KiB
HTML

{% extends "authentic2/manager/base.html" %}
{% load i18n %}
{% block beforecontent %}
{% endblock %}
{% block appbar %}
<h2>{% blocktrans %}Identity management{% endblocktrans %}</h2>
{% if user.is_superuser %}
<span class="actions">
<a class="extra-actions-menu-opener"></a>
<ul class="extra-actions-menu">
{% if user.is_superuser %}
<li><a download href="{% url 'a2-manager-site-export' %}">{% trans 'Export Site' %}</a></li>
<li><a href="{% url 'a2-manager-site-import' %}" rel="popup">{% trans 'Import Site' %}</a></li>
{% endif %}
</ul>
</span>
{% endif %}
{% endblock %}
{% block content %}
<div class="a2-manager-main random-bg-{{ bg_image_random }}">
<div class="fx-grid--t2">
{% for entry in entries %}
<a class="button button-paragraph" href="{{ entry.href }}">{{ entry.label }}
<p>{{ entry.help_text }}</p></a>
{% endfor %}
</div>
</div>
{% endblock %}
{% block sidebar %}
<aside id="sidebar">
<h3>{% blocktrans %}Configuration & technical information{% endblocktrans %}</h3>
<div class="a2-manager-id-tools_content">
<a id="authn" class="button button-paragraph" href="{% url 'a2-manager-authenticators' %}">{% trans 'Authentication frontends' %}</a>
{% if user.is_superuser or can_view_journal %}
<a id="journal" class="button button-paragraph" href="{% url 'a2-manager-journal' %}">{% trans 'Global journal' %}</a>
{% endif %}
{% if display_tech_info %}
<a id="tech-info" class="button button-paragraph" href="{% url 'a2-manager-tech-info' %}">{% trans 'Directory servers' %}</a>
{% endif %}
<a id="api-clients" class="button button-paragraph" href="{% url 'a2-manager-api-clients' %}">{% trans 'API Clients' %}</a>
</div>
</div>
</aside>
{% endblock %}