moviewyrm/bookwyrm/templates/preferences/preferences_layout.html

36 lines
1.3 KiB
HTML
Raw Normal View History

{% extends 'layout.html' %}
2021-02-28 02:48:10 +00:00
{% 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">
2021-02-28 02:48:10 +00:00
<h2 class="menu-label">{% trans "Account" %}</h2>
<ul class="menu-list">
<li>
2021-05-04 16:34:16 +00:00
{% url 'prefs-profile' as url %}
<a href="{{ url }}"{% if url in request.path %} class="is-active" aria-selected="true"{% endif %}>{% trans "Profile" %}</a>
</li>
<li>
2021-05-04 16:34:16 +00:00
{% url 'prefs-password' as url %}
<a href="{{ url }}"{% if url in request.path %} class="is-active" aria-selected="true"{% endif %}>{% trans "Change Password" %}</a>
</li>
</ul>
2021-02-28 02:48:10 +00:00
<h2 class="menu-label">{% trans "Relationships" %}</h2>
<ul class="menu-list">
<li>
2021-05-04 16:34:16 +00:00
{% url 'prefs-block' as url %}
<a href="{{ url }}"{% if url 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 %}