forked from mirrors/bookwyrm
32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
{% extends 'layout.html' %}
|
|
{% load i18n %}
|
|
{% block content %}
|
|
|
|
<header class="block column is-offset-one-quarter pl-1">
|
|
<h1 class="title">{% block header %}{% endblock %}</h1>
|
|
</header>
|
|
|
|
<div class="block columns">
|
|
<nav class="menu column is-one-quarter">
|
|
<h2 class="menu-label">{% trans "Account" %}</h2>
|
|
<ul class="menu-list">
|
|
<li>
|
|
<a href="/preferences/profile"{% if '/preferences/profile' in request.path %} class="is-active" aria-selected="true"{% endif %}>{% trans "Profile" %}</a>
|
|
</li>
|
|
<li>
|
|
<a href="/preferences/password"{% if '/preferences/password' in request.path %} class="is-active" aria-selected="true"{% endif %}>{% trans "Change password" %}</a>
|
|
</li>
|
|
</ul>
|
|
<h2 class="menu-label">{% trans "Relationships" %}</h2>
|
|
<ul class="menu-list">
|
|
<li>
|
|
<a href="/preferences/block"{% if '/preferences/block' in request.path %} class="is-active" aria-selected="true"{% endif %}>{% trans "Blocked users" %}</a>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
<div class="column content">
|
|
{% block panel %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|