You've already forked snikket-web-portal
Grouping the buttons together with the text for easier grasping what they relate to and moving them to the bottom.
42 lines
1.4 KiB
HTML
42 lines
1.4 KiB
HTML
{% extends "app.html" %}
|
|
{% block content %}
|
|
<h1>{% trans %}Welcome!{% endtrans %}</h1>
|
|
<p>{% trans user_name=user_info.display_name %}Welcome home, {{ user_name }}.{% endtrans %}</p>
|
|
<nav class="welcome">
|
|
<ul>
|
|
<li>
|
|
{#- -#}
|
|
<p>{% trans %}Change your display name, set a profile picture and control visibility of your personal data to others.{% endtrans %}</p>
|
|
{#- -#}
|
|
{# <img aria-hidden="true" src="{{ url_for("static", filename="img/illus-profile.svg") }}"> #}
|
|
{#- -#}
|
|
<div><a class="button primary" href="{{ url_for(".profile") }}">{% trans %}Settings{% endtrans %}</a></div>
|
|
{#- -#}
|
|
</li>
|
|
<li>
|
|
{#- -#}
|
|
<p>{% trans %}If need be, you can change your password here.{% endtrans %}</p>
|
|
{#- -#}
|
|
<div><a class="button primary" href="{{ url_for(".profile") }}">{% trans %}Change password{% endtrans %}</a></div>
|
|
{#- -#}
|
|
</li>
|
|
{% if user_info.is_admin %}
|
|
<li>
|
|
{#- -#}
|
|
<p>{% trans %}Manage users, invitations and circles of your Snikket service.{% endtrans %}</p>
|
|
{#- -#}
|
|
<div><a class="button primary" href="{{ url_for("admin.index") }}">{% trans %}Admin panel{% endtrans %}</a></div>
|
|
{#- -#}
|
|
</li>
|
|
{% endif %}
|
|
<li>
|
|
{#- -#}
|
|
<p>{% trans %}Exit the Snikket Web Portal, without logging out your other devices.{% endtrans %}</p>
|
|
{#- -#}
|
|
<div><a class="button secondary" href="{{ url_for(".logout") }}">{% trans %}Log out{% endtrans %}</a></div>
|
|
{#- -#}
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
{% endblock %}
|